InDesign2026
API 21.5.1.73
Enumeration

ConvertShapeOptions

Options for indicating the type of shape to which to covert an object.

Values

NameType AccessDescription
Number = 1129529938 readonly Converts the object to a rectangle with beveled corners.
Number = 1129530224 readonly Converts the object to a closed path.
Number = 1129531730 readonly Converts the object to a rectangle with inverse rounded corners.
Number = 1129532489 readonly Converts the object to a line that connects the upper left and lower right corners of the object's bounding box.
Number = 1129533296 readonly Converts the object to an open path.
Number = 1129533270 readonly Converts the object to an ellipse.
Number = 1129533519 readonly Converts the object to a polygon.
Number = 1129534021 readonly Converts the object to a rectangle.
Number = 1129534034 readonly Converts the object to a rectangle with rounded corners.
Number = 1129534284 readonly Converts the object to straight line. If the object is a square, circle, or its bounding box is wider than it is tall, the line is horizontal and connects the center points on the vertical sides of the bounding box. If the object's bounding box is taller than it is wide, the line connects the center points of the horizontal sides of the bounding box.
Number = 1129534546 readonly Converts the object to a triangle.

Parameter of 32

Method parameters that accept an ConvertShapeOptions value.