共用方式為


ShapeProperties.BlackWhiteMode Property

Definition

Black and White Mode

Represents the following attribute in the schema: bwMode

[DocumentFormat.OpenXml.SchemaAttr(0, "bwMode")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Drawing.BlackWhiteModeValues> BlackWhiteMode { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Drawing.BlackWhiteModeValues> BlackWhiteMode { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(0, "bwMode")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Drawing.BlackWhiteModeValues>? BlackWhiteMode { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("bwMode")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Drawing.BlackWhiteModeValues>? BlackWhiteMode { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Drawing.BlackWhiteModeValues>? BlackWhiteMode { get; set; }
member this.BlackWhiteMode : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Drawing.BlackWhiteModeValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr(0, "bwMode")>]
member this.BlackWhiteMode : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Drawing.BlackWhiteModeValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr("bwMode")>]
member this.BlackWhiteMode : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Drawing.BlackWhiteModeValues> with get, set
Public Property BlackWhiteMode As EnumValue(Of BlackWhiteModeValues)

Property Value

Returns EnumValue<T>.

Attributes

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.

Note This does not mean that the picture itself that is stored within the file is necessarily a black and white picture; instead, this attribute 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.

Applies to