BlackWhiteMode Property

Applies To

Shape object, ShapeRange collection object.

Description

Returns or sets a value that indicates how the specified shape appears when the document is viewed in black-and-white mode. Can be one of the following MsoBlackWhiteMode constants: msoBlackWhiteAutomatic, msoBlackWhiteBlack, msoBlackWhiteBlackTextAndLine, msoBlackWhiteDontShow, msoBlackWhiteGrayOutline, msoBlackWhiteGrayScale, msoBlackWhiteHighContrast, msoBlackWhiteInverseGrayScale, msoBlackWhiteLightGrayScale, msoBlackWhiteMixed, or msoBlackWhiteWhite. Read/write Long.

See Also

BlackAndWhite property.

Example

This example sets shape one on myDocument to appear in black-and-white mode. When you view the document in black-and-white mode, shape one will appear black, regardless of what color it is in color mode.

Set myDocument = ActivePresentation.Slides(1)
myDocument.Shapes(1).BlackWhiteMode = msoBlackWhiteBlack