CadAddImage
Creates a new raster image entity and returns its handle.
YuHandle CadAddImage (
YuHandle hDwg,
const char* szFileName,
double X,
double Y,
double Z,
double Scale
);
Parameters
- hDwg (YuHandle)
- Handle to the drawing, as returned by
CadCreate. - szFileName (const char*)
- NUL-terminated UTF-8 string.
- X (double)
- World coordinate.
- Y (double)
- World coordinate.
- Z (double)
- World coordinate.
- Scale (double)
- Scale factor.
Return Value
The handle of the newly created raster image entity, or 0 on failure.