Skip to content

PDFTextRun Class

Definition

Namespace: O2S.Components.PDF4NET.Content

Defines a fragment of text displayed on a PDF page.

C#
public class PDFTextRun : Object

Inheritance: Object → PDFTextRun

Remarks

A text fragment is defined by a single 'show text' PDF operator. All the glyphs in a text fragment share the same graphic attributes.

Properties

Name Description
Brush Gets the brush used for filling the text interior.
Corners Gets the coordinates of the text fragment corners.
DisplayBounds Gets the bounds of the text fragment.
FontMetrics Gets the font metrics.
FontSize Gets the font size.
FriendlyFontName Gets the friendly font name.
Glyphs Gets the collection of glyphs that compose this fragment.
MarkedContentIdentifier Gets the marked content identifier.
Pen Gets the pen used for stroking the text outline.
PostScriptFontName Gets the PostScript font name.
StructureElement Gets the structure element that includes this visual object.
Text Gets the text included in the fragment.
TransformedFontSize Gets the transformed font size.
TypographicCorners Gets the typographic coordinates of the text fragment corners.
TypographicDisplayBounds Gets the typographic bounds of the text fragment.

Methods

Name Description
ExtractTextFragment Extracts a text fragment from the current fragment starting at the specified position with the given length.
GetEmbeddedFontData Gets the embedded font data.
ToString Gets the text fragment as string.