VS:CreatePaintFromImgN

From Vectorworks Developer
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

Creates a paint node from an image resource on the specified location and rotation.

FUNCTION CreatePaintFromImgN(
image :HANDLE;
locPt :REAL;
rotDeg :REAL) : HANDLE;
def vs.CreatePaintFromImgN(image, locPt, rotDeg):
    return HANDLE

Parameters

image HANDLE Handle to the image resource from which a paint node is to be created.
locPt REAL Location of the new paint node.
rotDeg REAL Rotation of the paint node in degrees.

Remarks

Orso [2012.11.27]: A Bitmap (paint) object is created on drawing.

Version

Availability: from Vectorworks 2011