PrintDocument for WinForms | ComponentOne
C1.PrintDocument.6 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / RenderBlock Method
The RenderObject to add to the block flow.

In This Topic
    RenderBlock Method (C1PrintDocument)
    In This Topic
    Adds a RenderObject into the block flow of the current document, and resolves it.

    This method can only be used if C1PrintDocument.IsStartEndDocMode is true.

    Syntax
    'Declaration
     
    Public Function RenderBlock( _
       ByVal ro As RenderObject _
    ) As Boolean
    public bool RenderBlock( 
       RenderObject ro
    )

    Parameters

    ro
    The RenderObject to add to the block flow.

    Return Value

    true if no warnings were generated by this call, false otherwise.
    Remarks
    As all other RenderBlock..., RenderDirect... and RenderInline... methods, This method can only be used between calls to C1PrintDocument.StartDoc and C1PrintDocument.EndDoc on the current document, i.e. when the C1PrintDocument.IsStartEndDocMode property is true.

    Do not use this method if the document is generated with a call to the C1PrintDocument.Generate method.

    See Also