Get the vertical metric for a character.

 

   

Syntax
 

[C#]
virtual VerticalMetric GetVerticalMetric(int code)

[Visual Basic]
Overridable Function GetVerticalMetric(code As int) As VerticalMetric

 

   

Params
 
Name Description
code The native character code to get metrics for.
return The vertical metrics.

 

   

Notes
 

Get the vertical metric for a character indexed by native character code.

The VerticalMetric structure consists of:

  • Position - a vector or point used for positioning the glyph.
  • Displacement - a vector or point to use for advancing the current text insertion point so that the next glyph can be positioned

Vertical metrics are only used when the IsVertical property is true.

 

   

Example
 
None.