Table of contents
TOC
Collapse the table of content
Expand the table of content

ApplicationSettings.DrawingPageColor Property (Visio)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Determines the page color of the Microsoft Visio drawing window for the current session. Read/write.

Syntax

expression . DrawingPageColor

expression A variable that represents an ApplicationSettings object.

Return Value

OLE_COLOR

Remarks

Valid values for an OLE_COLOR property within Visio can be one of the following:

  • &;H00 bbggrr, where bb is the blue value between 0 and 0xFF (255), gg the green value, and rr the red value.

  • &;H800000 xx , where xx is a valid GetSysColor index.

For details about the GetSysColor function, search for " GetSysColor " in the Microsoft Platform SDK on MSDN.

The OLE_COLOR data type is used for properties that return colors. When a property is declared as OLE_COLOR , the Properties window displays a color-picker dialog box that allows the user to select the color for the property visually, rather than having to remember the numeric equivalent.

In addition, you can use the following Microsoft Visual Basic for Applications (VBA) color constants for OLE_COLOR .

ConstantValueDescription
vbBlack0x0Black
vbRed0xFFRed
** vbGreen**0xFF00Green
vbYellow0xFFFFYellow
vbBlue0xFF0000Blue
** vbMagenta**0xFF00FFMagenta
** vbCyan**0xFFFF00Cyan
** vbWhite**0xFFFFFFWhite
© 2017 Microsoft