The RenderFragment type exposes the following members.
Methods
Name | Description | ||
---|---|---|---|
AssignFrom |
Assigns (copies) properties from another RenderFragment to the current object.
Clones Children by cloning all its elements.
|
||
CalcLength(RefDim) |
This method can be called only by *another* RenderFragment object
during resolving LengthRef object.
|
||
CalcLength(RefDim, LengthBase, Boolean, PageAreaBase%, Double%) |
Calculates a value of dimension.
Only LengthRef, LengthAbs, LengthExp can be specified as length.
|
||
CalcLengthAbs |
Calculates a value of dimension specified by LengthAbs.
|
||
CalcLengthExp |
Calculates a value of dimension specified by the LengthExp object.
(dimension is an expression).
|
||
CalcLengthRef |
Calculates a value of dimension specified by the LengthRef object.
(dimension references a dimension of another object).
|
||
ChangeResolvedDimensions |
Called when the resolved sizes of the object should be changed,
for example when resolving of table is finished and
height of all objects in a row is set to the same value.
Object may ignore this changing and not change self size.
This method is called only for child objects, so x and y are
relative to the top left corner of the parent.
|
||
Clone |
Creates a copy of the current RenderFragment.
|
||
CreateSplitParams |
Creates a SplitParams object, used during splitting, child
classes may override this method to create the SplitParams object of custom type
(derived from SplitParams).
|
||
Draw(Graphics, Boolean) |
Draws the current fragment and its children on a specified Graphics.
|
||
Draw(Graphics, Rectangle, Boolean) |
Draws the current fragment and its children on a specified Graphics.
|
||
Draw(Graphics, Rectangle, Boolean, Boolean) |
Draws the current fragment and its children on a specified Graphics.
|
||
Draw(Graphics, Rectangle, Rectangle, Boolean, Boolean, Boolean) |
Draws the current fragment on a specified Graphics.
|
||
DrawBackground |
Draws background of object.
|
||
DrawBorders |
Draws borders of object.
|
||
DrawChildren |
For internal use.
|
||
DrawContent |
For internal use.
|
||
FillRect(Graphics, Rectangle, Style, IScriptContext) |
For internal use.
|
||
FillRect(Graphics, Int32, Int32, Int32, Int32, Style, IScriptContext) |
For internal use.
|
||
FindHorzSplitPosContent |
Checks can object's content be split on specified position by horizontally.
|
||
FindHyperlink |
Searches for a C1Hyperlink object in the current fragment at the specified position.
|
||
FindVertSplitPosContent |
Checks can object's content be split on specified position by vertically.
|
||
GetAnchorRect | |||
GetChildrenDrawBounds |
For internal use.
|
||
GetContentAutoHeight |
Override this method to calculate the height of object on basis of its content,
this method is called when height of object specified as auto, for example:
Copy CodeC#
|
||
GetContentAutoSize |
Override this method to calculate sizes of object on basis of its content,
this method is called when width and height of object specified as auto.
|
||
GetContentAutoWidth |
Override this method to calculate the width of object on basis of its content,
this method is called when width of object specified as auto, for example:
Copy CodeC#
|
||
GetDrawingFlags |
Override this method to define the drawing flags.
These flags manage the object's painting.
|
||
GetFlag |
For internal use.
|
||
GetHorzSplits |
Override this method and return the horizontal splits in the object relative to the left edge of
the content area.
|
||
GetHyperlinks |
Adds information about all hyperlinks that appear in the current fragment
to a C1HyperlinkInfoCollection.
|
||
GetReferencedObject |
Gets the object referenced by a LengthRef object.
Called only from ResolveLengthRef(RefDim, LengthRef).
|
||
GetRoundBorderClipping |
Retures GraphicsPath object representing the rounded object's border,
if border is not rounded returns nil.
|
||
GetVertSplits |
Override this method and return the vertical splits in the object relative to the top top edge of
the content area.
|
||
HasClippedChildren |
Checks whether any of the child fragments of the current fragment
are clipped by its bounds. Depending on the recursive
parameter, may also recursively test all child fragments.
|
||
InitializeSplitParams |
For internal use.
|
||
InternalDraw(GdiDc, DrawParams) |
Override this procedure if GetDrawingFlags sets the DrawingFlagsEnum.UseGdiDrawing flag.
|
||
InternalDraw(Graphics, DrawParams) |
Override this procedure if GetDrawingFlags does not set the DrawingFlagsEnum.UseGdiDrawing flag.
|
||
InternalDrawShadow |
For internal use only.
|
||
InternalPrepareForReresolving |
Override this method to perform additional initializations of resolved info
of object on reresolving.
Some dimensions of object do not change when it splits, so you
can use this method to copy some information from
old resolved info to new resolved info.
|
||
IsReresolvingNeeded |
Gets a value indicating whether a full re-resolving of the whole render object is needed.
|
||
IsShadowVisible |
Returns true if shadow visible for RenderFragment.
|
||
ResolveChildrenLayout |
For internal use.
|
||
ResolveLength |
For internal use.
|
||
ResolveLengthAbs |
Resolves an absolute dimension of object.
|
||
ResolveLengthAuto |
Resolves an auto dimension of object.
|
||
ResolveLengthExp |
Resolves a expression dimension of object.
|
||
ResolveLengthRef |
Resolves a dimension of object specified as reference.
|
||
ResolvingFinished |
This method is called by the rendering engine after the current RenderFragment
has been completely resolved.
Typically this method would be used to clear temporary data created and used during resolving.
|
||
SetFlag |
For internal use.
|
||
ShouldSerializeBorders |
Indicates whether the Borders()()()() property should be serialized.
|
||
ShouldSerializeDrawInner |
Indicates whether the DrawInner()()()() property should be serialized.
|
||
ShouldSerializePadding |
Indicates whether the Padding()()()() property should be serialized.
|
||
ShouldSerializeSpacing |
Indicates whether the Spacing()()()() property should be serialized.
|
||
Split |
Performs splitting of RenderFragment object.
|
||
SplitChildren |
For internal use.
|
||
SplitHorzContent |
Splits content of object by horizontally, by default this procedure split object as image.
|
||
SplitVertContent |
Splits content of object by vertically, by default this procedure split object as image.
|
Properties
Name | Description | |
---|---|---|
Bounds |
Gets or sets the current fragment's bounds within its parent.
For top level fragments, bounds within Page are returned.
|
|
BoundsOnPage |
Gets the bounds of the current fragment on the page.
|
|
Children |
Gets a RenderFragmentCollection containing the child
fragments of the current fragment.
|
|
ClipParent | ||
ColumnIndex |
Gets the 0-based index of the column on the page containing the current fragment.
For the default single-column page layout, the value of this property is 0.
If the current fragment belongs to a page header or footer, this value is -1
(see IsInPageHeader and IsInPageFooter).
|
|
ContentBoundsOnPage |
For internal use.
|
|
Document |
Gets the C1PrintDocument object containing the current fragment.
|
|
DrawBoundsOnPage |
For internal use.
|
|
HasChildren |
Gets a value indicating whether the Children collection
of the current fragment has been initialized and contains one or more elements.
|
|
IndexInParent | ||
IndexInRenderObject |
Gets the 0-based index of the current fragment in the Fragments
collection of the RenderObject that produced it.
|
|
InnerBounds |
Gets the inner bounds of the current fragment
(without spacing, borders and padding)
within its parent.
|
|
InnerBoundsOnPage |
Gets the inner bounds of the current fragment
(without spacing, borders and padding)
on the page.
|
|
IsInPageFooter |
Gets a value indicating whether the current fragment belongs to the page footer.
|
|
IsInPageHeader |
Gets a value indicating whether the current fragment belongs to the page header.
|
|
Level |
Gets the nesting level of the current fragment in the fragments' tree.
The topmost fragment (that has no parent) has level 1.
|
|
Page |
Gets the page containing the current fragment.
|
|
PageIndex |
Gets the 0-based index of C1Page containing the current fragment.
|
|
Parent |
Gets RenderFragment that is the parent of the current fragment.
|
|
RenderObject |
Gets the RenderObject that produced the current fragment.
|
|
TableColOnPage |
Gets the 0-based index of the column in the most nested RenderTableFragment
containing the current render object (i.e. the column index on the current page),
or -1 if the current object is not contained in a table.
|
|
TableFragment |
Gets the most nested RenderTableFragment containing the current fragment,
or null if the current object is not contained in a table.
|
|
TableRowOnPage |
Gets the 0-based index of the row in the most nested RenderTableFragment
containing the current render object (i.e. the row index on the current page),
or -1 if the current object is not contained in a table.
|
|
TopParent |
Gets the top level RenderFragment containing the current fragment.
|
|
Visible |
Gets a value indicating whether the current fragment is visible.
|
Explicit Interface Implementations
Name | Description | |
---|---|---|
IDocumentLocation..::..PageIndex | ||
IDocumentLocation..::..PageNo |