BlackWhiteMode Property

Microsoft Publisher Visual Basic

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

MsoBlackWhiteMode can be one of these MsoBlackWhiteMode constants.
msoBlackWhiteAutomatic
msoBlackWhiteBlack
msoBlackWhiteBlackTextAndLine
msoBlackWhiteDontShow
msoBlackWhiteGrayOutline
msoBlackWhiteGrayScale
msoBlackWhiteHighContrast
msoBlackWhiteInverseGrayScale
msoBlackWhiteLightGrayScale
msoBlackWhiteMixed Return value only; indicates a combination of the other states in the specified shape range.
msoBlackWhiteWhite

expression.BlackWhiteMode

expression    Required. An expression that returns one of the objects in the Applies To list.

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