PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.8 Assembly / C1.Win.C1Preview.Design Namespace / SampleC1PrintDocument Class / RenderInlineImage Method / RenderInlineImage(Image) Method
The image to add to the C1.C1Preview.RenderParagraph.Content of the current inline paragraph.

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

    Parameters

    image
    The image to add to the C1.C1Preview.RenderParagraph.Content of the current inline paragraph.

    Return Value

    true if no warnings were generated by this call, false otherwise.
    Remarks
    This method creates a new C1.C1Preview.ParagraphImage object and adds it to the current internally maintained C1.C1Preview.RenderParagraph object. A new paragraph is started if there is no current one.

    This method can only be used between calls to C1.C1Preview.C1PrintDocument.StartDoc and C1.C1Preview.C1PrintDocument.EndDoc methods on the current document. For details, see C1.C1Preview.C1PrintDocument.RenderBlock.

    See Also