PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.8 Assembly / C1.Win.C1Preview.Design Namespace / SampleC1PrintDocument Class / RenderInline Method
The C1.C1Preview.ParagraphObject object to add to the C1.C1Preview.RenderParagraph.Content of the current inline paragraph.
The paragraph width. Used only if this call begins a new paragraph (i.e. if there is no current one).
The paragraph height. Used only if this call begins a new paragraph (i.e. if there is no current one).
The C1.C1Preview.C1PrintDocument.Style to apply to the specified C1.C1Preview.ParagraphObject.

In This Topic
    RenderInline Method (SampleC1PrintDocument)
    In This Topic
    Renders a C1.C1Preview.ParagraphObject into the current inline paragraph.
    Syntax
    'Declaration
     
    Public Function RenderInline( _
       ByVal po As ParagraphObject, _
       ByVal width As Object, _
       ByVal height As Object, _
       ByVal style As Style _
    ) As Boolean
    public bool RenderInline( 
       ParagraphObject po,
       object width,
       object height,
       Style style
    )

    Parameters

    po
    The C1.C1Preview.ParagraphObject object to add to the C1.C1Preview.RenderParagraph.Content of the current inline paragraph.
    width
    The paragraph width. Used only if this call begins a new paragraph (i.e. if there is no current one).
    height
    The paragraph height. Used only if this call begins a new paragraph (i.e. if there is no current one).
    style
    The C1.C1Preview.C1PrintDocument.Style to apply to the specified C1.C1Preview.ParagraphObject.

    Return Value

    true if no warnings were generated by this call, false otherwise.
    Remarks
    This method adds the specified C1.C1Preview.ParagraphObject 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