Adobe InDesign CS4 (6.0) Object Model JS: ConvertShapeOptions

InDesign CS4

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

Value

NameDescriptionValue
ConvertShapeOptions.CONVERT_TO_BEVELED_RECTANGLEConverts the object to a rectangle with beveled corners.1129529938 = 'CSBR'
ConvertShapeOptions.CONVERT_TO_CLOSED_PATHConverts the object to a closed path.1129530224 = 'CSCp'
ConvertShapeOptions.CONVERT_TO_INVERSE_ROUNDED_RECTANGLEConverts the object to a rectangle with inverse rounded corners.1129531730 = 'CSIR'
ConvertShapeOptions.CONVERT_TO_LINEConverts the object to a line that connects the upper left and lower right corners of the object's bounding box.1129532489 = 'CSLI'
ConvertShapeOptions.CONVERT_TO_OPEN_PATHConverts the object to an open path.1129533296 = 'CSOp'
ConvertShapeOptions.CONVERT_TO_OVALConverts the object to an ellipse.1129533270 = 'CSOV'
ConvertShapeOptions.CONVERT_TO_POLYGONConverts the object to a polygon.1129533519 = 'CSPO'
ConvertShapeOptions.CONVERT_TO_RECTANGLEConverts the object to a rectangle.1129534021 = 'CSRE'
ConvertShapeOptions.CONVERT_TO_ROUNDED_RECTANGLEConverts the object to a rectangle with rounded corners.1129534034 = 'CSRR'
ConvertShapeOptions.CONVERT_TO_STRAIGHT_LINEConverts 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.1129534284 = 'CSSL'
ConvertShapeOptions.CONVERT_TO_TRIANGLEConverts the object to a triangle.1129534546 = 'CSTR'

Usage

In function

void Button.convertShape (given: ConvertShapeOptions[, numberOfSides: number][, insetPercentage: number][, cornerRadius: Measurement Unit (Number or String)])

void FormField.convertShape (given: ConvertShapeOptions[, numberOfSides: number][, insetPercentage: number][, cornerRadius: Measurement Unit (Number or String)])

void GraphicLine.convertShape (given: ConvertShapeOptions[, numberOfSides: number][, insetPercentage: number][, cornerRadius: Measurement Unit (Number or String)])

void Group.convertShape (given: ConvertShapeOptions[, numberOfSides: number][, insetPercentage: number][, cornerRadius: Measurement Unit (Number or String)])

void Movie.convertShape (given: ConvertShapeOptions[, numberOfSides: number][, insetPercentage: number][, cornerRadius: Measurement Unit (Number or String)])

void Oval.convertShape (given: ConvertShapeOptions[, numberOfSides: number][, insetPercentage: number][, cornerRadius: Measurement Unit (Number or String)])

void PageItem.convertShape (given: ConvertShapeOptions[, numberOfSides: number][, insetPercentage: number][, cornerRadius: Measurement Unit (Number or String)])

void Polygon.convertShape (given: ConvertShapeOptions[, numberOfSides: number][, insetPercentage: number][, cornerRadius: Measurement Unit (Number or String)])

void Rectangle.convertShape (given: ConvertShapeOptions[, numberOfSides: number][, insetPercentage: number][, cornerRadius: Measurement Unit (Number or String)])

void Sound.convertShape (given: ConvertShapeOptions[, numberOfSides: number][, insetPercentage: number][, cornerRadius: Measurement Unit (Number or String)])

void TextFrame.convertShape (given: ConvertShapeOptions[, numberOfSides: number][, insetPercentage: number][, cornerRadius: Measurement Unit (Number or String)])

Jongware, 20-Jun-2010 v3.0.3dContents :: Index