Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Contains properties and methods that apply to pictures.
Remarks
Use the Shape.PictureFormat property to return a PictureFormat object.
Example
The following example sets the brightness, contrast, and color transformation for shape one on the active document 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.
Sub FormatPicture()
With ActiveDocument.Pages(1).Shapes(1).PictureFormat
.Brightness = 0.6
.Contrast = 0.7
.ColorType = msoPictureGrayscale
.CropBottom = 18
End With
End Sub
Methods
- ClearCrop
- FillFrame
- FitFrame
- IncrementBrightness
- IncrementContrast
- Recolor
- Remove
- Replace
- ReplaceEx
- RestoreOriginalColors
Properties
- Application
- Brightness
- ColorModel
- ColorsInPalette
- ColorType
- Contrast
- CropBottom
- CropLeft
- CropRight
- CropTop
- EffectiveResolution
- FileName
- FileSize
- HasAlphaChannel
- HasTransparencyColor
- Height
- HorizontalPictureLocking
- HorizontalScale
- ImageFormat
- IsEmpty
- IsGreyScale
- IsLinked
- IsRecolored
- IsTrueColor
- LeaveBlackAsBlack
- LinkedFileStatus
- OriginalColorsInPalette
- OriginalFileSize
- OriginalHasAlphaChannel
- OriginalHeight
- OriginalIsTrueColor
- OriginalResolution
- OriginalWidth
- Parent
- RecoloredPictureColor
- TransparencyColor
- TransparentBackground
- VerticalPictureLocking
- VerticalScale
- Width
See also
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.