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

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

Syntax

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

Parameters

style
Type: C1.C1Preview..::..Style
The Style to use for the paragraph.
width
Type: System..::..Object
The width of the paragraph. If null, page (or column for multi-column layouts) width is used.
height
Type: System..::..Object
The height of the paragraph. If null, Auto is used.

Return Value

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