[]
        
(Showing Draft Content)

C1.C1Preview.C1PrintDocument.RenderDirectImage

RenderDirectImage Method

RenderDirectImage(Unit, Unit, Image, object, object, Style)

Adds an Image to the Body of the current document at a specific position on the current page, and resolves it.

Declaration
public void RenderDirectImage(Unit x, Unit y, Image image, object width, object height, Style style)
Parameters
Type Name Description
Unit x

The horizontal (X) coordinate at which to render the image (cannot be auto).

Unit y

The vertical (Y) coordinate at which to render the image (cannot be auto).

Image image

The image to render.

object width

The width of the image (if null, auto is used).

object height

The height of the image (if null, auto is used).

Style style

The Style to use, or null.

Remarks

This method can only be used between calls to StartDoc() and EndDoc() methods on the current document. For details, see RenderDirect(Unit, Unit, RenderObject, object, object).

See Also

RenderDirectImage(Unit, Unit, Image, object, object, ImageAlign)

Adds an Image to the Body of the current document at a specific position on the current page, and resolves it.

Declaration
public void RenderDirectImage(Unit x, Unit y, Image image, object width, object height, ImageAlign imageAlign)
Parameters
Type Name Description
Unit x

The horizontal (X) coordinate at which to render the image (cannot be auto).

Unit y

The vertical (Y) coordinate at which to render the image (cannot be auto).

Image image

The image to render.

object width

The width of the image (if null, auto is used).

object height

The height of the image (if null, auto is used).

ImageAlign imageAlign

The image alignment to use.

Remarks

This method can only be used between calls to StartDoc() and EndDoc() methods on the current document. For details, see RenderDirect(Unit, Unit, RenderObject, object, object).

See Also

RenderDirectImage(Unit, Unit, Image)

Adds an Image to the Body of the current document at a specific position on the current page, and resolves it.

Declaration
public void RenderDirectImage(Unit x, Unit y, Image image)
Parameters
Type Name Description
Unit x

The horizontal (X) coordinate at which to render the image (cannot be auto).

Unit y

The vertical (Y) coordinate at which to render the image (cannot be auto).

Image image

The image to render.

Remarks

This method can only be used between calls to StartDoc() and EndDoc() methods on the current document. For details, see RenderDirect(Unit, Unit, RenderObject, object, object).

See Also