Freigeben über


ShapeProperties.BlackWhiteMode-Eigenschaft

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 ShapeProperties
Dim value As EnumValue(Of BlackWhiteModeValues)

value = instance.BlackWhiteMode

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

Eigenschaftswert

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

Hinweise

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.

Siehe auch

Referenz

ShapeProperties Klasse

ShapeProperties-Member

DocumentFormat.OpenXml.Drawing.Spreadsheet-Namespace