yucad3d

CadAddImagePlace

"Drawn-by-client" placeholder image (no file; host paints it).

YuHandle CadAddImagePlace ( YuHandle hDwg, std::int32_t Id, double X, double Y, double Z, double Scale );

Parameters

hDwg (YuHandle)
Handle to the drawing, as returned by CadCreate.
Id (std::int32_t)
Numeric identifier.
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.

Remarks

We create the rectangle from an explicit pixel size set later via CadImagePutSize.

See Also