FontGetVerticalAdvance Method (Int32, Double, Double) |
Gets the vertical advance.
Namespace:
pdftron.PDF
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public double GetVerticalAdvance(
int char_code,
double pos_x,
double pos_y
)
Public Function GetVerticalAdvance (
char_code As Integer,
pos_x As Double,
pos_y As Double
) As Double
public:
virtual double GetVerticalAdvance(
[InAttribute] int char_code,
[InAttribute] double pos_x,
[InAttribute] double pos_y
) sealed
function GetVerticalAdvance(char_code, pos_x, pos_y);
Parameters
- char_code
- Type: SystemInt32
Character to query for vertical advance
- pos_x
- Type: SystemDouble
x coordinate
- pos_y
- Type: SystemDouble
y coordinate
Return Value
Type:
Double an double Array containing in the following order
vertical advance. vertical advance is a displacement vector for vertical
writing mode (i.e. writing mode 1); its horizontal component is always 0.
horizontal component of the position vector defining the position
of the vertical writing mode origin relative to horizontal writing mode origin.
vertical component of the position vector defining the position
of the vertical writing mode origin relative to horizontal writing mode origin.
Remarks Use this method only for composite fonts with vertical writing mode
(i.e. if Font.IsHorizontalMode() returns false). The method will return 0 as vertical
advance for simple fonts or for composite fonts with only horizontal writing mode.
Relevant only for a Type0 font.
See Also