Share via


PictureFormat Object Members

Publisher Developer Reference

Contains properties and methods that apply to pictures.

Methods

  Name Description
Aa438713.methods(en-us,office.12).gif IncrementBrightness Changes the brightness of the picture by the specified amount.
Aa438713.methods(en-us,office.12).gif IncrementContrast Changes the contrast of the picture by the specified amount.
Aa438713.methods(en-us,office.12).gif Recolor Changes the color of a picture in a publication.
Aa438713.methods(en-us,office.12).gif Replace Replaces the specified picture. Returns Nothing.
Aa438713.methods(en-us,office.12).gif RestoreOriginalColors Restores the original colors of a picture that has been recolored.

Properties

  Name Description
Aa438713.properties(en-us,office.12).gif Application Used without an object qualifier, this property returns an Application object that represents the current instance of Publisher. Used with an object qualifier, this property returns an Application object that represents the creator of the specified object. When used with an OLE Automation object, it returns the object's application.
Aa438713.properties(en-us,office.12).gif Brightness Returns or sets a Single indicating 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). Read/write.
Aa438713.properties(en-us,office.12).gif ColorModel Returns a PbColorModel constant that represents the color model of the picture. Read-only.
Aa438713.properties(en-us,office.12).gif ColorsInPalette Returns a Long that represents the number of colors in the picture's palette. Read-only.
Aa438713.properties(en-us,office.12).gif ColorType Returns or sets an MsoPictureColorType constant indicating the type of color transformation applied to the specified picture or OLE object. Read/write.
Aa438713.properties(en-us,office.12).gif Contrast Returns or sets a Single indicating 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). Read/write.
Aa438713.properties(en-us,office.12).gif CropBottom Returns or sets a Variant indicating the amount by which the bottom edge of a picture or OLE object is cropped. Read/write.
Aa438713.properties(en-us,office.12).gif CropLeft Returns or sets a Variant indicating the amount by which the left edge of a picture or OLE object is cropped. Read/write.
Aa438713.properties(en-us,office.12).gif CropRight Returns or sets a Variant indicating the amount by which the right edge of a picture or OLE object is cropped. Read/write.
Aa438713.properties(en-us,office.12).gif CropTop Returns or sets a Variant indicating the amount by which the top edge of a picture or OLE object is cropped. Read/write.
Aa438713.properties(en-us,office.12).gif EffectiveResolution Returns a Long that represents, in dots per inch (dpi), the effective resolution of the picture. Read-only.
Aa438713.properties(en-us,office.12).gif Filename Returns a String that represents the file name of the specified picture or OLE object. Read-only.
Aa438713.properties(en-us,office.12).gif FileSize Returns a Long that represents, in bytes, the size of the picture or OLE object as it appears in the specified publication. Read-only.
Aa438713.properties(en-us,office.12).gif HasAlphaChannel Returns an MsoTriState constant indicating whether the specified picture contains an alpha channel. Read-only.
Aa438713.properties(en-us,office.12).gif HasTransparencyColor Returns a Boolean that indicates whether a transparency color has been applied to the specified picture. Read-only.
Aa438713.properties(en-us,office.12).gif Height Returns a Variant that represents the height, in points, of the specified picture or OLE object. Read-only.
Aa438713.properties(en-us,office.12).gif HorizontalPictureLocking Returns or sets a PbHorizontalPictureLocking constant indicating where newly inserted pictures appear in relation to the specified frame. Read/write.
Aa438713.properties(en-us,office.12).gif HorizontalScale Returns a Long that represents the scaling of the picture along its horizontal axis. The scaling is expressed as a percentage (for example, 200 equals 200% scaling). Read-only.
Aa438713.properties(en-us,office.12).gif ImageFormat Returns a PbImageFormat constant that represents the image format of a picture as determined by Microsoft® Windows® Graphics Device Interface (GDI+). Read-only.
Aa438713.properties(en-us,office.12).gif IsEmpty Returns a MsoTriState constant that represents whether the specified shape is an empty picture frame. Read-only.
Aa438713.properties(en-us,office.12).gif IsGreyScale Returns a MsoTriState constant that indicates whether the picture is a greyscale image. Read-only.
Aa438713.properties(en-us,office.12).gif IsLinked Returns a MsoTriState constant indicating whether the specified picture is a linked picture or OLE object. Read-only.
Aa438713.properties(en-us,office.12).gif IsRecolored Returns True if the image represented by the parent PictureFormat object has been recolored, either in the user interface or by using the PictureFormat.Recolor method. Read-only.
Aa438713.properties(en-us,office.12).gif IsTrueColor Returns an MsoTriState constant indicating whether the specified picture or OLE object contains color data of 24 bits per channel or greater. Read-only.
Aa438713.properties(en-us,office.12).gif LeaveBlackAsBlack Returns True if, while recoloring, the black portion of the original image should be left as black. Read-only.
Aa438713.properties(en-us,office.12).gif LinkedFileStatus Returns a PbLinkedFileStatus constant that indicates the status of the file linked to the specified picture. Read-only.
Aa438713.properties(en-us,office.12).gif OriginalColorsInPalette Returns a Long that represents the number of colors in the specified linked picture's palette. Read-only.
Aa438713.properties(en-us,office.12).gif OriginalFileSize Returns a Long representing the size, in bytes, of the linked picture or OLE object. Read-only.
Aa438713.properties(en-us,office.12).gif OriginalHasAlphaChannel Returns an MsoTriState constant depending on whether the original, linked picture contains an alpha channel. Read-only.
Aa438713.properties(en-us,office.12).gif OriginalHeight Returns a Variant representing the height, in points, of the specified linked picture or OLE object. Read-only.
Aa438713.properties(en-us,office.12).gif OriginalIsTrueColor Returns an MsoTriState constant indicating whether the specified linked picture or OLE object contains color data of 24 bits per channel or greater. Read-only.
Aa438713.properties(en-us,office.12).gif OriginalResolution Returns a Long that represents, in dots per inch (dpi), the resolution at which the linked picture was originally scanned. Read-only.
Aa438713.properties(en-us,office.12).gif OriginalWidth Returns a Variant that represents, in points, the width of the specified linked picture or OLE object. Read-only.
Aa438713.properties(en-us,office.12).gif Parent Returns the parent object of the specified PictureFormat object. Read-only.
Aa438713.properties(en-us,office.12).gif RecoloredPictureColor Returns the color that has been applied to the image represented by the parent PictureFormat object. Read-only.
Aa438713.properties(en-us,office.12).gif TransparencyColor Returns or sets an MsoRGBType constant that represents the transparency color. Read/write.
Aa438713.properties(en-us,office.12).gif TransparentBackground Returns or sets an MsoTriState constant indicating whether the parts of the specified picture that are defined as the transparent color appear transparent. Read/write.
Aa438713.properties(en-us,office.12).gif VerticalPictureLocking Returns or sets a PbVerticalPictureLocking constant indicating where newly inserted pictures appear in relation to the specified frame. Read/write.
Aa438713.properties(en-us,office.12).gif VerticalScale Returns a Long that represents the scaling of the picture along its vertical axis. The scaling is expressed as a percentage (for example, 200 equals 200% scaling). Read-only.
Aa438713.properties(en-us,office.12).gif Width Returns a Variant that represents the width, in points, of the specified picture. Read-only.