SetGlyphsPositionShowText
Overview
SetGlyphsPositionShowText is a class in Aspose.PDF FOSS for .NET.
Inherits from: TextShowOperator.
TJ — Show text with individual glyph positioning (array of strings and numeric adjustments).
This class declares 13 methods for SetGlyphsPositionShowText objects in .NET programs.
Available methods include: Accept, IsTextShowOperator, SetGlyphsPositionShowText, TextOperator, TextShowOperator, ToPdf, ToString, ValueEquals.
Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: CommandName, Features, GlyphPositions, Index, Items, Text, and 1 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Items | object[] | Read | Mixed array of strings (text runs) and doubles (position adjustments in 1/1000 text units). |
GlyphPositions | System.Collections.Generic.IEnumerable<GlyphPosition> | Read | Public-API-shape projection over Items: paired text-run / numeric-position entries surfaced as GlyphPosition instances. |
Features | System.Collections.Generic.IReadOnlyList<string>? | Read/Write | Gets or sets the features. |
Text | string | Read | Concatenated string parts (numeric adjustments dropped). |
TextProperties | Aspose.Pdf.Facades.TextProperties? | Read | Optional appearance metadata. |
CommandName | string | Read | The PDF command name (last token of the serialised form, e.g. |
Index | int | Read/Write | 1-based position of this operator within its containing OperatorCollection. |
Methods
| Signature | Description |
|---|---|
SetGlyphsPositionShowText(items: object[]) | Sets the glyphs position show text value. |
SetGlyphsPositionShowText(glyphPositions: GlyphPosition[], font: Aspose.Pdf.Text.Font) | Positioned runs shown in a given face, the array counterpart of Font). |
SetGlyphsPositionShowText(glyphPositions: GlyphPosition[]) | An array of glyph positions: the exact overload keeps a call with a GlyphPosition array from being ambiguous between the object array and the enumerable. |
SetGlyphsPositionShowText(glyphPositions: System.Collections.Generic.IEnumerable<GlyphPosition>) | Creates a TJ operator from a sequence of glyph positions: each text run is followed by its position adjustment, when it has one. |
ToPdf() | Calls ToPdf on this SetGlyphsPositionShowText instance. |
ToString() | Calls ToString on this SetGlyphsPositionShowText instance. |
Accept(visitor: IOperatorSelector) | Calls Accept(visitor) on this SetGlyphsPositionShowText instance. |
TextShowOperator() | Calls TextShowOperator on this SetGlyphsPositionShowText instance. |
TextShowOperator(textProperties: Aspose.Pdf.Facades.TextProperties) | Calls TextShowOperator(textProperties) on this SetGlyphsPositionShowText instance. |
TextOperator() | Calls TextOperator on this SetGlyphsPositionShowText instance. |
TextOperator(textProperties: Aspose.Pdf.Facades.TextProperties) | Calls TextOperator(textProperties) on this SetGlyphsPositionShowText instance. |
IsTextShowOperator(op: Operator) | True when op is a text-showing operator (Tj / TJ / ’ / " — concrete subclasses of TextShowOperator). |
ValueEquals(op: Operator) | True when this operator’s serialised PDF form equals op’s. |