[]
Contains properties and methods that apply to pictures and OLE objects.
public interface IPictureFormat
Public Interface IPictureFormat
Name | Description |
---|---|
BlackWhiteThreshold | Gets or sets the black-white threshold of the specified picture. The value for this property must be a number from 0.0 (all black point) to 1.0 (all white point). |
Brightness | Gets 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 | Gets or sets the type of color transformation applied to the specified picture or OLE object. |
Contrast | Gets 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). |
Crop | Gets an Crop object that represents the cropping settings for the specified PictureFormat object. |
CropBottom | Gets the number of pixels that are cropped off the bottom of the specified picture or OLE object. |
CropLeft | Gets the number of pixels that are cropped off the left of the specified picture or OLE object. |
CropRight | Gets the number of pixels that are cropped off the right of the specified picture or OLE object. |
CropTop | Gets the number of pixels that are cropped off the top of the specified picture or OLE object. |
TransparencyColor | Gets or sets the transparent color for the specified picture as a red-green-blue (RGB) value. |
TransparentBackground | Gets or sets a value indicating whether the picture all the way to the objects behind the picture is transparency. |
Name | Description |
---|---|
IncrementBrightness(double) | Changes the brightness of the picture by the specified amount. |
IncrementContrast(double) | Changes the contrast of the picture by the specified amount. |
Recolor(SchemeColor, bool) | Changes the color of a picture in a publication. |
RestoreOriginalColors() | Restores the original colors of a picture that was recolored. |