Project 2000. The Network Diagram View, страница 10

expression

Optional. An expression that returns an Application object.

LayoutMode

Optional Long. A constant that specifies whether the layout of boxes in the active Network Diagram occurs automatically or is controlled by the user. Can be one of the following PjLayoutMode constants: pjLayoutAutomatic or pjLayoutManual.

LayoutScheme

Optional Long. The positioning scheme (algorithm) to use when laying out boxes. Can be one of the following PjLayoutScheme constants:

  PjLayoutTopDown   pjLayoutTopDownByDay   pjLayoutTopDownByWeek   pjLayoutTopDownByMonth   pjLayoutTopDownCriticalFirst   pjLayoutCenteredfromLeft

       PjLayoutCenteredFromTop

SummaryPrecedence

Optional Boolean. True if positioning a task in relation to its summary takes precedence over positioning it in relation to its predecessors. False if task links always take precedence when arranging boxes.

RowAlignment

Optional Long. A constant that specifies how to align the boxes within each column. Can be one of the following PjVerticalAlignment constants: pjTop, pjMiddle, or pjBottom.

ColumnAlignment

Optional Long. A constant that specifies how to align the boxes within each row. Can be one of the following PjAlignment constants: pjLeft, pjCenter, or pjRight.

RowSpacing

Optional Integer. A number between 0 and 200 that represents the distance between rows of boxes. Equivalent to the number of pixels, when measured at a zoom setting of 100%.

ColumnSpacing

Optional Integer. A number between 0 and 200 that represents the distance between columns of boxes. Equivalent to the number of pixels, when measured at a zoom setting of 100%.

RowHeight

Optional Long. A constant that specifies the height of each row of boxes. Can be one of the following PjRowColSize constants: pjSizeBestFit or pjSizeFixed

ColumnWidth

Optional Long. A constant that specifies the width of each column of boxes. Can be one of the following PjRowColSize constants: pjSizeBestFit or pjSizeFixed

AdjustForPageBreaks

Optional BooleanTrue if the boxes will be adjusted around page breaks.

ShowSummaryTasks

Optional Boolean.  True if summary tasks are displayed in the active Network Diagram.

ViewBackgroundColor

Optional Long. The color of the Network Diagram background. Can be one of the PjColor constants.

  PjColorAutomatic   pjAqua   pjBlack   pjBlue   pjFuschia   pjGray   pjGreen   pjLime   pjMaroon

pjNavy pjOlive pjPurple pjRed pjSilver pjTeal pjYellow pjWhite

ViewBackgroundPattern

Optional Long. The pattern for the Network Diagram background. Can be one of the following PjFillPattern constants:

PjBackgroundHollow pjBackgroundSolidFill pjBackgroundLightFill pjBackgroundMediumFill pjBackgroundDarkFill pjBackgroundDiagonalLeft pjBackgroundDiagonalRight

pjBackgroundDarkDiagonalLeft pjBackgroundDarkDiagonalRight pjBackgroundThinVerticalStripe pjBackgroundMediumVerticalStripe pjBackgroundLightDither pjBackgroundMediumDither pjBackgroundDarkDither

ShowProgressMarks

Optional BooleanTrue if in-progress tasks are marked with a diagonal line from the top left of the box to the lower right and completed tasks are marked with an additional line from the top right of the box to the lower left.

ShowPageBreaks

Optional BooleanTrue if page breaks are displayed in the Network Diagram.

ShowIDOnly

Optional BooleanTrue if only the ID field is displayed in each box. False if all fields in the box template are displayed.

Remarks

Using the BoxLayout method without specifying any arguments displays the Box Layout dialog box.

BoxLinks Method