PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.8 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / RenderInlineBegin Method
The Style to use for the paragraph.
The width of the paragraph. If null, page (or column for multi-column layouts) width is used.
The height of the paragraph. If null, Unit.Auto is used.

In This Topic
    RenderInlineBegin Method (C1PrintDocument)
    In This Topic
    Begins rendering of a new inline paragraph into the Body of the current document, using the specified Style and dimensions.
    Syntax
    'Declaration
     
    Public Function RenderInlineBegin( _
       ByVal style As Style, _
       ByVal width As Object, _
       ByVal height As Object _
    ) As Boolean
    public bool RenderInlineBegin( 
       Style style,
       object width,
       object height
    )

    Parameters

    style
    The Style to use for the paragraph.
    width
    The width of the paragraph. If null, page (or column for multi-column layouts) width is used.
    height
    The height of the paragraph. If null, Unit.Auto is used.

    Return Value

    true if no warnings were generated by this call, false otherwise.
    Remarks
    Use this method to set the Style, Width and Height of the RenderParagraph object maintained internally to serve subsequent RenderInline... calls. The specified parameters are in effect until the started paragraph is ended by a call to RenderInlineEnd, another RenderInlineBegin, or any of the RenderBlock... or RenderDirect... methods.

    It is not necessary to call this method in order to use other RenderInline... methods (such as RenderInline or RenderInlineText(String,Style)), but calling this method allows to set the style and dimensions for the paragraph that will be filled by subsequent RenderInline... calls.

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

    See Also