Share via


ColorType Property [Publisher 2003 VBA Language Reference]

MsoPictureColorType

MsoPictureColorType can be one of these MsoPictureColorType constants.
msoPictureAutomatic
msoPictureBlackAndWhite
msoPictureGrayscale
msoPictureMixed Return value only; indicates a combination of the other states in the specified shape range.
msoPictureWatermark

expression.ColorType

expression Required. An expression that returns one of the objects in the Applies To list.

Example

This example sets the color transformation to grayscale for the first shape in the active publication. The shape must be either a picture or an OLE object.

ActiveDocument.Pages(1).Shapes(1).PictureFormat _
    .ColorType = msoPictureGrayScale

Applies to | PictureFormat Object