Renders a rectangle into the block flow of the current document.

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

Syntax

C#
public bool RenderBlockRectangle(
	Unit width,
	Unit height,
	Style style
)
Visual Basic
Public Function RenderBlockRectangle ( _
	width As Unit, _
	height As Unit, _
	style As Style _
) As Boolean

Parameters

width
Type: C1.C1Preview..::..Unit
The width of the rectangle.
height
Type: C1.C1Preview..::..Unit
The height of the rectangle.
style
Type: C1.C1Preview..::..Style
The Style to use.

Return Value

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

Remarks

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

See Also