Check is the given image cropped.
FUNCTION IsImageCropped(obj : HANDLE): BOOLEAN;def vs.IsImageCropped(obj):
return BOOLEAN| Name | Type | Description |
|---|---|---|
| obj | HANDLE |
resultOK := IsImageCropped(obj);import vs
# Check is the given image cropped.
obj = vs.FSActLayer() # handle to the first selected object on the active layer
ok = vs.IsImageCropped(obj)
if ok:
vs.Message('IsImageCropped succeeded')
else:
vs.Message('IsImageCropped failed')Availability: from Vectorworks 2014