GlyphPosition

GlyphPosition

Overview

GlyphPosition is a class in Aspose.PDF FOSS for .NET.

One element of a TJ-style glyph-position array: a string with an optional preceding/following position adjustment (in 1/1000 text units).

This class declares 2 methods for GlyphPosition objects in .NET programs. Available methods include: GlyphPosition. Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: HasPosition, Position, Text.

Properties

NameTypeAccessDescription
TextstringReadGets the text run.
PositiondoubleReadGets the position adjustment that follows the text run, in thousandths of a text space unit; positive values move the next glyph left.
HasPositionboolReadGets the has position.

Methods

SignatureDescription
GlyphPosition(text: string)Creates a glyph position holding a text run with no position adjustment.
GlyphPosition(text: string, position: double)Creates a glyph position holding a text run followed by a position adjustment, in thousandths of a text space unit; positive values move the next glyph left.

See Also

 English