Prev Next

SOTEXTATPOINT

Contains information about text at a point.

typedef struct SOTEXTATPOINTtag {

    SOPOINT Point;   // see below

    WORD wFormat;    // see below

    INT nTextLength; // see below

} SOTEXTATPOINT, VWPTR *PSOTEXTATPOINT;

 

Members

Point
Point that locates the text.
wFormat
Alignment format, indicating the relationship between the point and the base line or bounding rectangle of the text. This member can be a combination of these values:

SOTA_BASELINE

Aligns the point and base line of the font.

SOTA_BOTTOM

Aligns the point and bottom of the bounding rectangle.

SOTA_CENTER

Aligns the point and horizontal center of the bounding rectangle.

SOTA_LEFT

Aligns the point and left side of the bounding rectangle.

SOTA_RIGHT

Aligns the point and right side of the bounding rectangle.

SOTA_TOP

Aligns the point and top of the bounding rectangle.

nTextLength
Length of the text string that follows the structure.