ImageGear Professional for Windows ActiveX
GetWidths Method

Description:

Gets the advance width of every glyph in a font. 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 (for example, a glyph representing an accent mark might have an advance width of zero so that characters can be drawn under it). For this reason, the advance width cannot be used to determine the glyphs' bounding boxes. For non-Roman character set viewers, this method gets the width for a single byte range (0 through 255).

Syntax:

      GetWidths() As IGIntegerArray

Return Value:

Returns an array of glyph advance widths, measured in character space units. Unencoded code points will have a width of zero. For non-Roman character set viewers, an array for a single byte range (0 through 255).

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback