Represents some text to measure its length.
    typedef struct {
        short             index;
        bool              drvScaleCorr;
        bool              wantsLongestIndex;
        short             wFont;
        short             wFace;
        double            wSlant;
        double            wSize;
        char              *lineStr;
        GS::UniString     *lineUniStr;
    } API_TextLinePars;
    
Members
- index
- 
            -1last line length 0longest line length > 0length of the nth line 
- drvScaleCorr
- If true: scale the text to the model, iffalse: in mms.
- wantsLongestIndex  
- If index is 0 :: true: return longest line’s index,false: don’t return longest line’s index.
- wFont
- Font attribute index.
- wFace
- Style (face) of text:
- 
            APIFace_PlainPlain text APIFace_BoldBold APIFace_ItalicItalic APIFace_UnderlineUnderline APIFace_OutlineOutlined (Macintosh only) APIFace_ShadowShadow (Macintosh only) 
- wSlant
- Slant angle [radian] (PI/2 is plain text).
- wSize
- Character height in mms.
- lineStr
- The text to measure.
- lineUniStr  
- Unicode text to measure.
Remarks
For further details see the APIAny_GetTextLineLengthID goodie function.
Requirements
- Version: API 4.1 or later
- Header: APIdefs_Goodies.h