IInkRecognitionAlternate::get_Baseline method (msinkaut.h)

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

This property is read-only.

Syntax

HRESULT get_Baseline(
  VARIANT *Baseline
);

Parameters

Baseline

Return value

None

Remarks

The baseline is the imaginary horizontal line with which the base of each character, excluding decenders, is aligned. It also corresponds to the bottom of the x-height.

Note  

If the recognition alternate spans more than one recognition segment within a line of text, then this property returns a line that begins at the first point of the baseline of the first segment in the alternate and ends at the last point of the baseline of the last segment in the alternate.

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

Ascender Property

Descender Property

IInkRecognitionAlternate Interface

LineAlternates Property

Midline Property [IInkRecognitionAlternate Interface]