[]
        
(Showing Draft Content)

C1.C1Preview.C1PrintDocument.RenderBlockImage

RenderBlockImage Method

RenderBlockImage(Image, object, object, Style)

Renders the Image.

Declaration
public bool RenderBlockImage(Image image, object width, object height, Style style)
Public Function RenderBlockImage(image As Image, width As Object, height As Object, style As Style) As Boolean
Parameters
Type Name Description
Image image

Image to render.

object width

Width of an image box. If null then autowidth.

object height

Height of an image box. If null then autoheight.

Style style

Style of the image. If null then the style for an image of document is used.

Returns
Type Description
bool

Returns true if no warnings occur during rendering the object.

RenderBlockImage(Image, object, object, ImageAlign)

Renders the Image.

Declaration
public bool RenderBlockImage(Image image, object width, object height, ImageAlign imageAlign)
Public Function RenderBlockImage(image As Image, width As Object, height As Object, imageAlign As ImageAlign) As Boolean
Parameters
Type Name Description
Image image

Image to render.

object width

Width of an image box. If null then autowidth.

object height

Height of an image box. If null then autoheight.

ImageAlign imageAlign

Alignment of an image.

Returns
Type Description
bool

Returns true if no warnings occur during rendering the object.

RenderBlockImage(Image)

Renders the Image.

Declaration
public bool RenderBlockImage(Image image)
Public Function RenderBlockImage(image As Image) As Boolean
Parameters
Type Name Description
Image image

Image to render.

Returns
Type Description
bool

Returns true if no warnings occur during rendering the object.