FontGetVerticalAdvance Method (Int32, DoubleRef, DoubleRef) |
Gets the vertical advance.
Namespace:
pdftron.PDF
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public double GetVerticalAdvance(
int char_code,
DoubleRef out_pos_vect_x,
DoubleRef out_pos_vect_y
)
Public Function GetVerticalAdvance (
char_code As Integer,
out_pos_vect_x As DoubleRef,
out_pos_vect_y As DoubleRef
) As Double
public:
virtual double GetVerticalAdvance(
[InAttribute] int char_code,
[InAttribute] DoubleRef^ out_pos_vect_x,
[InAttribute] DoubleRef^ out_pos_vect_y
) sealed
function GetVerticalAdvance(char_code, out_pos_vect_x, out_pos_vect_y);
Parameters
- char_code
- Type: SystemInt32
Character to query for vertical advance
- out_pos_vect_x
- Type: pdftron.CommonDoubleRef
initialized by the method. horizontal component of the position vector defining the position of the vertical writing mode origin relative to horizontal writing mode origin.
- out_pos_vect_y
- Type: pdftron.CommonDoubleRef
initialized by the method. vertical component of the position vector defining the position of the vertical writing mode origin relative to horizontal writing mode origin.
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