[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.TextMap.ITextRunFragmentExt

Class ITextRunFragmentExt

Namespace
GrapeCity.Documents.Pdf.TextMap
Assembly
GcDocs.Pdf.dll

Provides extension methods for the ITextRunFragment interface.

public static class ITextRunFragmentExt
Inheritance
object
ITextRunFragmentExt
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Methods

GetBounds(ITextRunFragment)

Gets a Quadrilateral representing the four vertices's bounding this ITextRunFragment object. The coordinates are relative to the top left corner of the page.

public static Quadrilateral GetBounds(this ITextRunFragment runFragment)

Parameters

runFragment ITextRunFragment

The current ITextRunFragment object.

Returns

Quadrilateral

Quadrilateral representing the bounds of this text run fragment on the page.

GetPoints(ITextRunFragment)

Gets the geometric coordinates (relative to the top left corner of the page) of this ITextRunFragment object.

public static PointF[] GetPoints(this ITextRunFragment runFragment)

Parameters

runFragment ITextRunFragment

The current ITextRunFragment object.

Returns

System.Drawing.PointF[]

The array of points specifying the coordinates of this run fragment on the page.