Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 1.18 KB

Publisher.ShapeRange.BlackWhiteMode.md

File metadata and controls

39 lines (24 loc) · 1.18 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
ShapeRange.BlackWhiteMode property (Publisher)
vbapb10.chm2293872
vbapb10.chm2293872
Publisher.ShapeRange.BlackWhiteMode
c85babbd-f05d-c3e1-3265-c08888eaf212
06/14/2019
medium

ShapeRange.BlackWhiteMode property (Publisher)

Returns or sets an MsoBlackWhiteMode constant 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 ShapeRange 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 appears black, regardless of what color it is in color mode.

ActiveDocument.Pages(1).Shapes(1).BlackWhiteMode = msoBlackWhiteBlack

[!includeSupport and feedback]