Note: this function is left for compatibility with previous versions of CAD Importer DLL. It is not recommended for usage.
The CADGetSection function retrieves specified section or table from the CAD drawing object and fills DXFDATA structure with its properties.
Syntax
HANDLE CADGetSection(
HANDLE hObject,
int dwIndex,
LPCADDATA lpData
);
Parameters
hObject |
Identifies a handle to the CAD drawing. |
||||||||||||
dwIndex |
Specifies the object to retrieve. This parameter can be one of following values:
|
||||||||||||
lpData |
Points to the CADDATA structure to get properties of specified object. If this parameter is NULL, no properties are retrieved. |
Return Value
If the function succeeds, the return value is a handle of object (section or table) specified by nIndex, and the structure pointed by lpData is filled by its properties.
If the function fails, the return value is NULL. To get extended error information call CADGetLastError.
See Also
© 2003-2024 CADSoftTools
Go to CAD DLL