Szerkesztés

Megosztás a következőn keresztül:


PictureFormat object (PowerPoint)

Contains properties and methods that apply to pictures and OLE objects.

Example

Use the PictureFormat property to return a PictureFormat object. The following example sets the brightness, contrast, and color transformation for shape one on myDocument and crops 18 points off the bottom of the shape. For this example to work, shape one must be either a picture or an OLE object.

Set myDocument = ActivePresentation.Slides(1)

With myDocument.Shapes(1).PictureFormat

    .Brightness = 0.3

    .Contrast = 0.7

    .ColorType = msoPictureGrayScale

    .CropBottom = 18

End With

Methods

Name
IncrementBrightness
IncrementContrast

Properties

Name
Application
Brightness
ColorType
Contrast
Creator
Crop
CropBottom
CropLeft
CropRight
CropTop
Parent
TransparencyColor
TransparentBackground

See also

PowerPoint Object Model Reference

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.