IInkRecognitionAlternate::get_Ascender method (msinkaut.h)

Gets the ascender line for a IInkRecognitionAlternate object that represents a single line of text.

This property is read-only.

Syntax

HRESULT get_Ascender(
  VARIANT *Ascender
);

Parameters

Ascender

Return value

None

Remarks

For western languages, the ascender corresponds to the portion of a lowercase letter that extends above the main body (the midline or x-height) of that letter such as the vertical line of a "b" that extends above the highest point of the circle in that letter. The ascender line is the imaginary horizontal line across the top of the ascenders.

Note  If the recognition alternate spans more than one recognition segment within a line of text, then this property will return a line parallel to the baseline for the alternate. The distance of the ascender line above the baseline is determined by the corresponding distance within the first segment.You can use the AlternatesWithConstantPropertyValues method with the propertyType parameter set to the Segmentation recognition property globally unique identifier (GUID) to get a collection of one segment recognition alternates that correspond to a segmentation of your original alternate.
 
Note  If the recognition alternate spans more than one line, this property generates an E_FAIL error. You can use the LineAlternates property to get a collection of one line recognition alternates that corresponds to a multiple line recognition alternate.
 

Requirements

Requirement Value
Minimum supported client Windows XP Tablet PC Edition [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header msinkaut.h
Library InkObj.dll

See also

AlternatesWithConstantPropertyValues Method

Baseline Property

Descender Property

IInkRecognitionAlternate Interface

LineAlternates Property

Midline Property [IInkRecognitionAlternate Interface]