BoxStylesEdit Method
Sets the style of boxes on the Network Diagram.
Syntax
expression**.BoxStylesEdit(Style, DataTemplate, HorizontalGridlines, VerticalGridlines, BorderShape, BorderColor, BorderWidth, BackgroundColor, BackgroundPattern)**
*expression * Optional. An expression that returns an Application object.
PjBoxStyle
pjBoxCritical | pjBoxNoncritical |
pjBoxCriticalExternalTask | pjBoxNoncriticalExternalTask |
pjBoxCriticalInsertedProject | pjBoxNoncriticalInsertedProject |
pjBoxCriticalMarked | pjBoxNoncriticalMarked |
pjBoxCriticalMilestone | pjBoxNoncriticalMilestone |
pjBoxCriticalSummary | pjBoxNoncriticalSummary |
pjBoxHighlightedTasks | pjBoxProjectSummaryTask |
DataTemplate Optional String. The name of the data 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 row in the box.
PjBoxShape
pjBoxCapsule | pjBoxRightParallelogram |
pjBoxDownTrapezoid | pjBoxRoundedRectangle |
pjBoxLeftParallelogram | pjBoxUpTrapezoid |
pjBoxPointedEnds | pjBoxWideRectangle |
pjBoxRectangle | pjBoxWideRoundedRectangle |
PjColor
pjColorAutomatic | pjNavy |
pjAqua | pjOlive |
pjBlack | pjPurple |
pjBlue | pjRed |
pjFuchsia | pjSilver |
pjGray | pjTeal |
pjGreen | pjYellow |
pjLime | pjWhite |
pjMaroon |
BorderWidth Optional Long. A value from 1 through 4 that specifies the width of the box border, in pixels.
BackgroundColor Optional Long. The color of the box background. Can be one of the PjColor constants.
PjBackgroundPattern
pjBackgroundDarkDiagonalLeft | pjBackgroundLightDither |
pjBackgroundDarkDiagonalRight | pjBackgroundLightFill |
pjBackgroundDarkDither | pjBackgroundMediumDither |
pjBackgroundDarkFill | pjBackgroundMediumFill |
pjBackgroundDiagonalLeft | pjBackgroundMediumVerticalStripe |
pjBackgroundDiagonalRight | pjBackgroundSolidFill |
pjBackgroundHollow | pjBackgroundThinVerticalStripe |
Remarks
To display the Box Styles dialog box, use the BarBoxStyles method.
Applies to | Application Object
See Also | BarBoxFormat Method | BarBoxStyles Method | BoxCellEdit Method | BoxFormat Method | BoxLayout Method