[]
        
(Showing Draft Content)

C1.C1Preview.C1PrintDocument.RenderInlineImage

RenderInlineImage Method

RenderInlineImage(Image)

Renders an Image into the current inline paragraph.

Declaration
public bool RenderInlineImage(Image image)
Parameters
Type Name Description
Image image

The image to add to the Content of the current inline paragraph.

Returns
Type Description
bool

true if no warnings were generated by this call, false otherwise.

Remarks

This method creates a new ParagraphImage object and adds it to the current internally maintained RenderParagraph object. A new paragraph is started if there is no current one.

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

See Also

RenderInlineImage(Image, Style)

Renders an Image into the current inline paragraph, using the specified Style.

Declaration
public bool RenderInlineImage(Image image, Style style)
Parameters
Type Name Description
Image image

The image to add to the Content of the current inline paragraph.

Style style

The Style to use for the image.

Returns
Type Description
bool

true if no warnings were generated by this call, false otherwise.

Remarks

This method creates a new ParagraphImage object and adds it to the current internally maintained RenderParagraph object. A new paragraph is started if there is no current one.

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

See Also