Click or drag to resize

FontGetWidth Method

Gets the width.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public double GetWidth(
	int char_code
)

Parameters

char_code
Type: SystemInt32
the char_code

Return Value

Type: Double
advance width, measured in Character space units for the glyph matching given Character code. The function gets the advance width of the font glyph. The advance width is the amount by which the current point advances when the glyph is drawn. The advance width may not correspond to the visible width of the glyph and for this reason, the advance width cannot be used to determine the glyphs' bounding boxes.
See Also