Adobe InDesign CS (3.0) Object Model JS: FitOptions

InDesign CS

 Options for fitting content to a frame.

Value

NameDescriptionValue
FitOptions.CENTER_CONTENTCenters content in the frame; preserves the frame size as well as content size and proportions. Note: If the content is larger than the frame, content around the edges is obscured.1667591779 = 'cenc'
FitOptions.CONTENT_TO_FRAMEResizes content to fit the frame. Note: Content that is a different size than the frame appears stretched or squeezed.1668575078 = 'ctof'
FitOptions.FRAME_TO_CONTENTResizes the frame so it fits the content.1718906723 = 'ftoc'
FitOptions.PROPORTIONALLYResizes content to fit the frame while preserving content proportions. If the content and frame have different proportions, some empty space appears in the frame.1668247152 = 'conp'

Usage

In function

void Button.fit (given: FitOptions)

void FormField.fit (given: FitOptions)

void GraphicLine.fit (given: FitOptions)

void Group.fit (given: FitOptions)

void Movie.fit (given: FitOptions)

void Oval.fit (given: FitOptions)

void PageItem.fit (given: FitOptions)

void Polygon.fit (given: FitOptions)

void Rectangle.fit (given: FitOptions)

void Sound.fit (given: FitOptions)

void TextFrame.fit (given: FitOptions)

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