The DrawCADWithParams function draws the CADImage object on the specified device context with possibility to specify DPI.
Syntax:
int DrawCADWithParams (
HANDLE hObject,
HDC hDC,
LPRECT lprc,
int ADPI
);
Parameters:
hObject |
Identifies the CADImage object handle. |
hDC |
Identifies the device context. |
Iprc |
Points to the RECT structure that contains the logical coordinates of the drawing rectangle. |
ADPI |
DPI |
Return Value:
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastErrorCAD.
See Also
CADCreate | DrawCAD | DrawCADEx
© 2003-2024 CADSoftTools
Go to CAD DLL