PictureFormat PictureFormat PictureFormat Interface

Definition

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

public interface class PictureFormat
[System.Runtime.InteropServices.Guid("000209CB-0000-0000-C000-000000000046")]
public interface PictureFormat
Public Interface PictureFormat
Attributes

Remarks

The LinkFormat object contains properties and methods that apply to linked OLE objects only. The OLEFormat object contains properties and methods that apply to OLE objects whether or not they're linked.

Use the PictureFormat property to return a PictureFormat object.

Properties

Application Application Application

Returns a Application object that represents the Microsoft Word application.

Brightness Brightness 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).

ColorType ColorType ColorType

Returns or sets the type of color transformation applied to the specified picture or OLE object.

Contrast Contrast 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).

Creator Creator Creator

Returns a 32-bit integer that indicates the application in which the specified object was created.

Crop Crop Crop

Gets or sets a Microsoft.Office.Core.Crop object that represents an image cropping.

CropBottom CropBottom CropBottom

Returns or sets the number of points that are cropped off the bottom of the specified picture or OLE object.

CropLeft CropLeft CropLeft

Returns or sets the number of points that are cropped off the left side of the specified picture or OLE object.

CropRight CropRight CropRight

Returns or sets the number of points that are cropped off the right side of the specified picture or OLE object.

CropTop CropTop CropTop

Returns or sets the number of points that are cropped off the top of the specified picture or OLE object.

Parent Parent Parent

Returns an object that represents the parent object of the specified object.

TransparencyColor TransparencyColor TransparencyColor

Returns or sets the transparent color for the specified picture as a red-green-blue (RGB) value. Applies to bitmaps only.

TransparentBackground TransparentBackground TransparentBackground

MsoTrue if the parts of the picture that are defined with a transparent color actually appear transparent. Applies to bitmaps only.

Methods

IncrementBrightness(Single) IncrementBrightness(Single) IncrementBrightness(Single)

Changes the brightness of the picture by the specified amount. Use the Brightness property to set the absolute brightness of the picture.

IncrementContrast(Single) IncrementContrast(Single) IncrementContrast(Single)

Changes the contrast of the picture by the specified amount. Use the Contrast property to set the absolute contrast for the picture.

Applies to