Adobe InDesign CS6 (8.0) Object Model JS: LayoutRuleOptions

InDesign CS6

 Options for setting the layout rule on a page.

Value

NameDescriptionValue
LayoutRuleOptions.GUIDE_BASEDUse guide slicing to resize objects on the page as it resizes.1280329538 = 'LPGB'
LayoutRuleOptions.OBJECT_BASEDReposition and resize objects on the page as it resizes.1280331586 = 'LPOB'
LayoutRuleOptions.OFFNo layout rule on the page as it resizes.1330005536 = 'OFF '
LayoutRuleOptions.PRESERVE_EXISTINGUse existing layout rule setting on the page. Used for creating alternate layouts.1280331890 = 'LPPr'
LayoutRuleOptions.RECENTERRecenter objects on the page as it resizes.1280332387 = 'LPRc'
LayoutRuleOptions.SCALEScale objects on the page as it resizes.1280332643 = 'LPSc'
LayoutRuleOptions.USE_MASTERUse layout rule from the page's applied master page.1280333133 = 'LPUM'

Usage

In function

void Document.createAlternateLayout (spreadItems: Array of Spread, name: string, width: Measurement Unit (Number or String), height: Measurement Unit (Number or String), createTextStyles: bool, linkTextStories: bool, layoutRule: LayoutRuleOptions)

As property

Page.layoutRule

Jongware, 28-Apr-2012 v3.0.3hContents :: Index