[]
        
(Showing Draft Content)

C1.C1Preview.C1PrintDocument.RenderInlineBegin

RenderInlineBegin Method

RenderInlineBegin(Style, object, object)

Begins rendering of a new inline paragraph into the Body of the current document, using the specified Style and dimensions.

Declaration
public bool RenderInlineBegin(Style style, object width, object height)
Parameters
Type Name Description
Style style

The Style to use for the paragraph.

object width

The width of the paragraph. If null, page (or column for multi-column layouts) width is used.

object height

The height of the paragraph. If null, Auto is used.

Returns
Type Description
bool

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

Remarks

Use this method to set the Style, Width and Height of the RenderParagraph object maintained internally to serve subsequent RenderInline... calls. The specified parameters are in effect until the started paragraph is ended by a call to RenderInlineEnd(), another RenderInlineBegin(Style, object, object), or any of the RenderBlock... or RenderDirect... methods.

It is not necessary to call this method in order to use other RenderInline... methods (such as RenderInline(ParagraphObject, object, object, Style) or RenderInlineText(string, Style)), but calling this method allows to set the style and dimensions for the paragraph that will be filled by subsequent RenderInline... calls.

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

See Also