ColorType Property

Applies To

PictureFormat object.

Description

Returns or sets the type of color transformation applied to the specified picture or OLE object. Can be one of the following MsoPictureColorType constants: msoPictureAutomatic, msoPictureBlackAndWhite, msoPictureGrayscale, msoPictureMixed, or msoPictureWatermark. Read/write Long.

Example

This example sets the color transformation to grayscale for shape one on myDocument. Shape one must be either a picture or an OLE object.

Set myDocument = ActivePresentation.Slides(1)
myDocument.Shapes(1).PictureFormat.ColorType = msoPictureGrayScale