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

Shape.BlackWhiteMode Property (Publisher)

office 365 dev account|Last Updated: 8/24/2017
|
3 Contributors

Returns or sets an MsoBlackWhiteModeconstant indicating how the specified shape or shape range appears when the publication is viewed in black-and-white mode. Read/write.

Syntax

expression. BlackWhiteMode

_expression_A variable that represents a Shape object.

Remarks

The BlackWhiteMode property value can be one of the ** MsoBlackWhiteMode** constants declared in the Microsoft Office type library.

Example

This example sets the first shape in the active publication to appear in black-and-white mode. When you view the publication in black-and-white mode, the shape will appear black, regardless of what color it is in color mode.

ActiveDocument.Pages(1).Shapes(1).BlackWhiteMode = msoBlackWhiteBlack
© 2018 Microsoft