ShapeProperties.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
'宣言
<SchemaAttrAttribute(, "bwMode")> _
Public Property BlackWhiteMode As EnumValue(Of BlackWhiteModeValues)
Get
Set
'使用
Dim instance As ShapeProperties
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 picture should be rendered using only black and white coloring. That is the coloring information for the picture should be converted to either black or white when rendering the picture.
No gray is to be used in rendering this image, only stark black and stark white.
This does not mean that the picture itself that is stored within the file is necessarily a black and white picture. This attribute instead sets the rendering mode that the picture will have applied to when rendering.
The possible values for this attribute are defined by the ST_BlackWhiteMode simple type.