Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / RenderBlockText Method / RenderBlockText(String,Object,Object,Style) Method
The text to render.
The width of the block to render (if null, parent width is used).
The height of the block to render (if null, auto height is used).
The style to use (can be null).

In This Topic
    RenderBlockText(String,Object,Object,Style) Method
    In This Topic
    Renders a block of text with the specifed width and height into the block flow of the current document, using the specified Style.
    Syntax
    'Declaration
     
    Public Overloads Function RenderBlockText( _
       ByVal text As String, _
       ByVal width As Object, _
       ByVal height As Object, _
       ByVal style As Style _
    ) As Boolean
    public bool RenderBlockText( 
       string text,
       object width,
       object height,
       Style style
    )

    Parameters

    text
    The text to render.
    width
    The width of the block to render (if null, parent width is used).
    height
    The height of the block to render (if null, auto height is used).
    style
    The style to use (can be null).

    Return Value

    true if no warnings were generated by this call, false otherwise.
    Remarks

    See RenderBlockText(String) for details on how the width and height of the text block are set.

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

    See Also