Displays the Bar Format or Box Format dialog box, which prompts the user to specify bar format (Gantt Chart, Resource Graph, and Calendar view) or box format (Network Diagram) respectively.
Syntax
expression.BarBoxFormat
expression |
Optional. An expression that returns an Application object. |
Remarks
The BarBoxFormat method has the same effect as the Bar Format command (Gantt Chart, Resource Graph, and Calendar view) or the Box Format command (Network Diagram) on the Format menu.
Sets the style of boxes on the Network Diagram.
Syntax
expression.BoxStylesEdit (Style, BoxTemplate, HorizontalGridlines, VerticalGridlines, BorderShape, BorderColor, BorderWidth, BackgroundColor, BackgroundPattern)
expression |
Optional. An expression that returns an Application object. |
||
Style |
Required Long. The box style to change. Can be one of the following PjBoxStyle constants: |
||
PjBoxCritical pjBoxCriticalMarked pjBoxCriticalMilestone pjBoxCriticalSubproject pjBoxCriticalSummary pjBoxExternalTask pjBoxHighlightedTasks |
pjBoxNoncritical pjBoxNoncriticalExternalTask pjBoxNoncriticalMarked pjBoxNoncriticalMilestone pjBoxNoncriticalSubproject pjBoxNoncriticalSummary pjBoxProjectSummary |
||
BoxTemplate |
Optional String. The name of the box template to use for the style. |
||
HorizontalGridlines |
Optional Boolean. True if horizontal gridlines separate each row in the box. |
||
VerticalGridlines |
Optional Boolean. True if vertical gridlines separate each cell in the box. |
||
BorderShape |
Optional Long. The shape of the box border. Can be one of the following PjBoxShape constants: |
||
PjBoxRectangle pjBoxWideRectangle pjBoxRoundedRectangle pjBoxWideRoundedRectangle pjBoxPointedEnds |
pjBoxRightParallelogram pjBoxLeftParallelogram pjBoxCapsule pjBoxUpTrapezoid pjBoxDownTrapezoid |
||
BorderColor |
Optional Long. The color of the box border. Can be one of the following PjColor constants: |
||
PjColorAutomatic pjAqua pjBlack pjBlue pjFuschia pjGray pjGreen pjLime pjMaroon |
pjNavy pjOlive pjPurple pjRed pjSilver pjTeal pjYellow pjWhite |
||
BorderWidth |
Optional Long. The width of the box border. Can be one of the following PjBoxBorderWidth constants: |
||
PjBorderWidth1 pjBorderWidth2 |
pjBorderWidth3 pjBorderWidth4 |
||
BackgroundColor |
Optional Long. The color of the box background. Can be one of the PjColor constants. |
||
BackgroundPattern |
Optional Long. The pattern for the background. Can be one of the following PjFillPattern constants: |
||
PjBackgroundHollow pjBackgroundSolidFill pjBackgroundLightFill pjBackgroundMediumFill pjBackgroundDarkFill pjBackgroundDiagonalLeft pjBackgroundDiagonalRight |
pjBackgroundDarkDiagonalLeft pjBackgroundDarkDiagonalRight pjBackgroundThinVerticalStripe pjBackgroundMediumVerticalStripe pjBackgroundLightDither pjBackgroundMediumDither pjBackgroundDarkDither |
Remarks
To display the Box Styles dialog box, use the BarBoxStyles method.
Formats individual boxes in the Network Diagram.
Syntax
expression.BoxFormat (ProjectName, TaskID, BoxTemplate, HorizontalGridlines, VerticalGridlines, BorderShape, BorderColor, BorderWidth, BackgroundColor, BackgroundPattern, Reset)
Уважаемый посетитель!
Чтобы распечатать файл, скачайте его (в формате Word).
Ссылка на скачивание - внизу страницы.