Поделиться через


PictureFormat.ColorType Property

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

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

Syntax

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

value = instance.ColorType

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

Property Value

Type: Microsoft.Office.Core.MsoPictureColorType

Remarks

The value of the ColorType property can be one of these MsoPictureColorType constants.

msoPictureAutomatic

msoPictureBlackAndWhite

msoPictureGrayscale

msoPictureMixed

msoPictureWatermark

See Also

Reference

PictureFormat Interface

PictureFormat Members

Microsoft.Office.Interop.PowerPoint Namespace