Renders a block of text with the specifed width and height into the block flow of the current document, using the specified Style.

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public bool RenderBlockText(
	string text,
	Object width,
	Object height,
	Style style
)
Visual Basic
Public Function RenderBlockText ( _
	text As String, _
	width As Object, _
	height As Object, _
	style As Style _
) As Boolean

Parameters

text
Type: System..::..String
The text to render.
width
Type: System..::..Object
The width of the block to render (if null, parent width is used).
height
Type: System..::..Object
The height of the block to render (if null, auto height is used).
style
Type: C1.C1Preview..::..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(RenderObject).

See Also