[]
        
(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)
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)
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)
Parameters
Type Name Description
Image image

Image to render.

Returns
Type Description
bool

Returns true if no warnings occur during rendering the object.