Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
L_PntGetDCExtents
#include "LtPnt.h"
L_LTPNT_API L_INT L_PntGetDCExtents(pPaint, prcRect)
pPAINTHANDLE pPaint; |
/* pointer to a paint handle */ |
const LPRECT prcRect; |
/* pointer to a RECT structure */ |
Gets the current Device Context (DC) boundaries, set using the L_PntSetDCExtents function.
Parameter |
Description |
pPaint |
Pointer to a paint handle. |
prcRect |
Pointer to a RECT structure to be updated with the current DC boundary information. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Required DLLs and Libraries
LTPNT For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application |
See Also
Example
For an example, refer to L_PntSetDCExtents.