GroupShapeProperties.BlackWhiteMode Property

Black and White Mode.Represents the attribte in schema: bwMode

Namespace:  DocumentFormat.OpenXml.Drawing.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<SchemaAttrAttribute(, "bwMode")> _
Public Property BlackWhiteMode As EnumValue(Of BlackWhiteModeValues)
    Get
    Set
'Usage
Dim instance As GroupShapeProperties
Dim value As EnumValue(Of BlackWhiteModeValues)

value = instance.BlackWhiteMode

instance.BlackWhiteMode = value
[SchemaAttrAttribute(, "bwMode")]
public EnumValue<BlackWhiteModeValues> BlackWhiteMode { get; set; }

Property Value

Type: DocumentFormat.OpenXml.EnumValue<BlackWhiteModeValues>
Returns EnumValue<T>.

Remarks

The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.

Specifies that the group shape should be rendered using only black and white coloring. That is the coloring information for the group shape should be converted to either black or white when rendering the corresponding shapes.

No gray is to be used in rendering this image, only stark black and stark white.

This does not mean that the group shapes themselves are stored with only black and white color information. This attribute instead sets the rendering mode that the shapes will use when rendering.

The possible values for this attribute are defined by the ST_BlackWhiteMode simple type.

See Also

Reference

GroupShapeProperties Class

GroupShapeProperties Members

DocumentFormat.OpenXml.Drawing.Spreadsheet Namespace