PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / RenderInlineImage Method / RenderInlineImage(Image,Style) Method
The image to add to the Content of the current inline paragraph.
The Style to use for the image.

In This Topic
    RenderInlineImage(Image,Style) Method
    In This Topic
    Renders an System.Drawing.Image into the current inline paragraph, using the specified Style.
    Syntax
    'Declaration
     
    Public Overloads Function RenderInlineImage( _
       ByVal image As Image, _
       ByVal style As Style _
    ) As Boolean
    public bool RenderInlineImage( 
       Image image,
       Style style
    )

    Parameters

    image
    The image to add to the Content of the current inline paragraph.
    style
    The Style to use for the image.

    Return Value

    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.

    See Also