The CADAddXRef function adds Xref in CADImage to another CADImage.
Syntax
int CADAddXRef(
HANDLE AImage,
HANDLE AXrefImage,
LPCSTR AName,
LPDXFPOINT Position,
LPDXFPOINT Scale, float Rotation,
HANDLE* ResultInsert
);
Parameters
AImage |
Source CADImage. |
AXrefImage |
Added CADImage. |
AName |
Full path to the added CADImage. |
Position |
CADImage insertion position. |
Scale |
Scale in which the added CADImage will be displayed. |
Rotation |
Rotation of the added CADImage. |
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 CADGetLastError.
See Also
Go to CAD DLL