VML BWMode Attribute

This topic describes VML, a feature that is deprecated as of Windows Internet Explorer 9. Webpages and applications that rely on VML should be migrated to SVG or other widely supported standards.

Note

As of December 2011, this topic has been archived. As a result, it is no longer actively maintained. For more information, see Archived Content. For information, recommendations, and guidance regarding the current version of Windows Internet Explorer, see Internet Explorer Developer Center.

 

Determines how a shape will render for black-and-white output devices. Read/write. VgBlackWhiteMode.

Applies To

Shape

Tag Syntax

<v: element o:bwmode=" expression ">

Remarks

When a shape is printed on a black-and-white printer or displayed in a black-and-white view in an application, several options are possible. For more information about the values of this attribute, see the VgBlackWhiteMode topic. The default value is auto.

If auto is specified, BWNormal is used to determine the behavior for normal black-and-white output, and BWPure is used to determine the behavior for pure black-and-white output.

Microsoft Office Extensions Attribute

Example

The black-and-white mode of the shape is auto.

   <v:rect id="myrect" fillcolor="red" o:bwmode="auto"
     style="top:1;left:1;width:20;height:20"/>