Share via


PictureFormat Members

Include Protected Members
Include Inherited Members

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

The PictureFormat type exposes the following members.

Properties

  Name Description
Public property Application (Inherited from _IMsoDispObj.)
Public property Application Returns an Application object that represents the Microsoft Excel application.
Public property Brightness Returns or sets the brightness of the specified picture or OLE object. The value for this property must be a number from 0.0 (dimmest) to 1.0 (brightest).
Public property ColorType Returns or sets the type of color transformation applied to the specified picture or OLE object.
Public property Contrast Returns or sets the contrast for the specified picture or OLE object. The value for this property must be a number from 0.0 (the least contrast) to 1.0 (the greatest contrast).
Public property Creator (Inherited from _IMsoDispObj.)
Public property Creator Returns a 32-bit integer that indicates the application in which this object was created.
Public property Crop Gets a Crop object that represents the cropping settings for the specified PictureFormat object.
Public property CropBottom Returns or sets the number of points that are cropped off the bottom of the specified picture or OLE object.
Public property CropLeft Returns or sets the number of points that are cropped off the left side of the specified picture or OLE object.
Public property CropRight Returns or sets the number of points that are cropped off the right side of the specified picture or OLE object.
Public property CropTop Returns or sets the number of points that are cropped off the top of the specified picture or OLE object.
Public property Parent Returns the parent object for the specified object.
Public property TransparencyColor Returns or sets the transparent color for the specified picture as a red-green-blue (RGB) value. Applies to bitmaps only.
Public property TransparentBackground Returns or sets whether the specified picture format uses a transparent background.

Top

Methods

  Name Description
Public method IncrementBrightness Changes the brightness of the picture by the specified amount.
Public method IncrementContrast Changes the contrast of the picture by the specified amount.

Top

See Also

Reference

PictureFormat Interface

Microsoft.Office.Interop.Excel Namespace