DistributeOptions (Enum)

Options for distributing objects.

Name Description Value
LEFT_EDGES Distribute based on the left edges of the objects. 1281770852 =
‘LfEd’
TOP_EDGES Distribute based on the top edges of the objects. 1416643940 =
‘TpEd’
RIGHT_EDGES Distribute based on the right edges of the objects. 1383351652 =
‘RtEd’
BOTTOM_EDGES Distribute based on the bottom edges of the objects. 1114916196 =
‘BtEd’
HORIZONTAL_CENTERS Distribute based on the horizontal centers of the objects. 1215257187 =
‘HoZc’
VERTICAL_CENTERS Distribute based on the vertical centers of the objects. 1449481315 =
‘VeTc’
HORIZONTAL_SPACE Distribute based on the horizontal spacing of the objects. 1215257203 =
‘HoZs’
VERTICAL_SPACE Distribute based on the vertical spacing of the objects. 1449489523 =
‘Vets’

Usage:

  • In function:
    • void Document.distribute (
      alignDistributeItems:
      Array of PageItem, distributeOption:
      DistributeOptions [, alignDistributeBounds:
      AlignDistributeBounds][, useDistributeMeasurement:
      bool][, absoluteDistributeMeasurement:
      number]
      )

Leave a Comment

Previous post:

Next post: