Compartilhar via


Graphic.ColorType Property

Returns or sets the type of color transformation applied to the specified picture or OLE object.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property ColorType As MsoPictureColorType
    Get
    Set
'Usage
Dim instance As Graphic
Dim value As MsoPictureColorType

value = instance.ColorType

instance.ColorType = value
MsoPictureColorType ColorType { get; set; }

Property Value

Type: Microsoft.Office.Core.MsoPictureColorType

Remarks

MsoPictureColorType can be one of the following MsoPictureColorType constants:

msoPictureAutomatic

msoPictureBlackAndWhite

msoPictureGrayscale

msoPictureMixed

msoPictureWatermark

See Also

Reference

Graphic Interface

Graphic Members

Microsoft.Office.Interop.Excel Namespace