[]
        
(Showing Draft Content)

C1.C1Preview.C1PrintDocument.RenderBlock

RenderBlock Method

RenderBlock(RenderObject)

Adds a RenderObject into the block flow of the current document, and resolves it.

This method can only be used if IsStartEndDocMode is true.

Declaration
public bool RenderBlock(RenderObject ro)
Parameters
Type Name Description
RenderObject ro

The RenderObject to add to the block flow.

Returns
Type Description
bool

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

Remarks

As all other RenderBlock..., RenderDirect... and RenderInline... methods, This method can only be used between calls to StartDoc() and EndDoc() on the current document, i.e. when the IsStartEndDocMode property is true.

Do not use this method if the document is generated with a call to the Generate() method.

See Also