Inesoft PrintCE SDK EVC++
PDC_GetTextExtentExPoint

Retrieves the number of characters in a specified string that will fit within a specified space and fills an array with the text extent for each of those characters. A text extent is the distance between the beginning of the space and a character that will fit in the space.

BOOL PDC_GetTextExtentExPoint(
    HDC hdc,
    LPCTSTR lpszStr,
    i
nt cchString,
    int nMaxExtent,
    LPINT lpnFit,
    LPINT alpDx,

    LPSIZE lpSize
);

Note:

See eVC documentation on GetTextExtentExPoint function for full details.



© 2009 Inesoft. All rights reserved.