Renders a block of text into the block flow of the current document,
using the specified horizontal alignment.
Namespace:
C1.C1PreviewAssembly: C1.C1Report.2 (in C1.C1Report.2.dll)
Syntax
C# |
---|
public bool RenderBlockText( string text, AlignHorzEnum horzAlign ) |
Visual Basic |
---|
Public Function RenderBlockText ( _ text As String, _ horzAlign As AlignHorzEnum _ ) As Boolean |
Parameters
- text
- Type: System..::..String
The text to render.
- horzAlign
- Type: C1.C1Preview..::..AlignHorzEnum
The horizontal text alignment to use.
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(RenderObject).