Contrast Property

Microsoft Publisher Visual Basic

expression.Contrast

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

Remarks

Use the IncrementContrast method to incrementally adjust the contrast from its current level.

Example

This example sets the contrast 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 _
    .Contrast = 0.8