Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 690 Bytes

File metadata and controls

41 lines (32 loc) · 690 Bytes

IsImageCropped

Description

Check is the given image cropped.

FUNCTION IsImageCropped(obj : HANDLE): BOOLEAN;
def vs.IsImageCropped(obj):
    return BOOLEAN

Parameters

Name Type Description
obj HANDLE

Examples

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')

Version

Availability: from Vectorworks 2014

Category