Adobe InDesign CS3 (5.0) Object Model JS: FitOptions

InDesign CS3

 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.FILL_PROPORTIONALLYResizes content to fill the frame while perserving the proportions of the content. If the content and frame have different proportions, some of the content is obscured by the bounding box of the frame.1718185072 = 'filp'
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 EPS.fit (given: FitOptions)

void FormField.fit (given: FitOptions)

void Graphic.fit (given: FitOptions)

void GraphicLine.fit (given: FitOptions)

void Group.fit (given: FitOptions)

void Image.fit (given: FitOptions)

void ImportedPage.fit (given: FitOptions)

void Movie.fit (given: FitOptions)

void Oval.fit (given: FitOptions)

void PDF.fit (given: FitOptions)

void PICT.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)

void WMF.fit (given: FitOptions)

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