Renders a block of text into the block flow of the current document.
Namespace:
C1.C1PreviewAssembly: C1.C1Report.2 (in C1.C1Report.2.dll)
Syntax
C# |
---|
public bool RenderBlockText( string text ) |
Visual Basic |
---|
Public Function RenderBlockText ( _ text As String _ ) As Boolean |
Parameters
- text
- Type: System..::..String
The text to render.
Return Value
true if no warnings were generated by this call, false otherwise.Remarks
The width of the rendered block is set to the width of the page (or column for multi-column layouts), which is equivalent to setting the Width of a RenderObject to "parent.width".
The height of the rendered block is set to auto, which is equivalent to setting the Height of a RenderObject to Auto or "auto".
This method can only be used between calls to StartDoc()()()() and EndDoc()()()() methods on the current document. For details, see RenderBlock(RenderObject).