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 provides 8 methods for working with SetGlyphsPositionShowText objects in .NET programs.
Available methods include: Accept, IsTextShowOperator, SetGlyphsPositionShowText, TextShowOperator, ToPdf, ToString, ValueEquals.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: CommandName, GlyphPositions, Index, Items, Text, TextProperties.
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 | Projection over Items: paired text-run / numeric-position entries surfaced as GlyphPosition instances. |
Text | string | Read | Concatenated string parts (numeric adjustments dropped). |
TextProperties | Aspose.Pdf.Facades.TextProperties? | Read | Optional appearance metadata for the text shown by this operator. |
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: System.Collections.Generic.IEnumerable<GlyphPosition>) | Sets the glyphs position show text value. |
ToPdf() | Calls ToPdf on this SetGlyphsPositionShowText instance. |
ToString() | Calls ToString on this SetGlyphsPositionShowText instance. |
Accept(visitor: IOperatorSelector) | Calls Accept on this SetGlyphsPositionShowText instance. |
TextShowOperator() | Calls TextShowOperator 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. |