width property

width property

Gets the image width. Defines the X-axis distance between the leftmost point of all graphic objects in the image and their rightmost point. The distance is measured in units corresponding to the value of the property Image.unit_type

Example

Uses image width value to set rasterization options.

Definition:

@property
def width(self):
    ...

See Also