int GXGetMultiLineTextBreakCount(CDC* pDC, LPCTSTR lpszString, int nCount, CRect rc, UINT nFormat);
pDC
Points to the device context.
lpszString
Points to the text to be drawn.
nCount
Specifies the size of the text in bytes. You should pass -1 for a zero-terminated string.
rc
Drawing rectangle.
nFormat
DT_WORBREAKword break
The number of line breaks.
This method returns the number of line breaks for a given so that it can draw into a given rectangle. The method calls GXComputeLineBreaks and returns the number of breaks.
CGXDrawingAndFormatting GXComputeLineBreaks
Class Overview | Class Members