VS:SetVPCropObject

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

Sets the specified crop object in the specified viewport. If a crop object already exists, it will be replaced by the new object, so long as the new object is a valid crop.

FUNCTION SetVPCropObject(
viewportHandle :HANDLE;
cropHandle :HANDLE) : BOOLEAN;
def vs.SetVPCropObject(viewportHandle, cropHandle):
    return BOOLEAN

Parameters

viewportHandle HANDLE
cropHandle HANDLE

Version

Availability: from VectorWorks11.0