[]
        
(Showing Draft Content)

C1.C1Preview.RenderTextFragmentBase

RenderTextFragmentBase Class

The abstract base class for RenderTextFragment and RenderParagraphFragment.

Implements
Namespace: C1.C1Preview
Assembly: C1.PrintDocument.8.dll
Syntax
public abstract class RenderTextFragmentBase : RenderFragment, IDocumentLocation

Properties

Name Description
RenderObject

Gets the RenderTextBase that produced the current fragment.

Methods

Name Description
AssignFrom(RenderFragment)

Assigns (copies) properties from another RenderFragment to the current object.

GetAnchorRect(C1Anchor, ref RectangleD, ref bool)

Gets a rectangle corresponding to a C1Anchor in the current fragment.

GetCharPoints(int)

Gets an array of four points defining the (possibly rotated) geometric area of the character with the specified index.

GetCharRangeRects(int, int)

Gets an array of bounding rectangles for a range of characters (in the returned array, each line in the specified range is represented by a separate RectangleD structure).

GetCharRangeRegion(int, int)

Gets a bounding Region for a range of characters. The region is relative to the top left corner of the fragment's inner area.

GetCharRect(int)

Gets the geometric area of the character with the specified index.

Adds information about all hyperlinks that appear in the current fragment to a C1HyperlinkInfoCollection.