PrintDocument for WinForms | ComponentOne
C1.PrintDocument.8 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / RenderInlineBegin Method
The C1PrintDocument.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 C1PrintDocument.Body of the current document, using the specified C1PrintDocument.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 C1PrintDocument.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 C1PrintDocument.Style, RenderObject.Width and RenderObject.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 C1PrintDocument.RenderInlineEnd, another C1PrintDocument.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 C1PrintDocument.RenderInline or C1PrintDocument.RenderInlineText), 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 C1PrintDocument.StartDoc and C1PrintDocument.EndDoc methods on the current document. For details, see C1PrintDocument.RenderBlock.

    See Also