Name

Graphic Object

Synopsis

Path: Application  --  Chart  --  PageSetup - Graphic
               

Object

Properties

Graphic

  • Brightness( ) As Single

  • ColorType( ) As MsoPictureColorType

  • Contrast( ) As Single

  • CropBottom( ) As Single

  • CropLeft( ) As Single

  • CropRight( ) As Single

  • CropTop( ) As Single

  • Filename( ) As String

  • Height( ) As Single

  • LockAspectRatio( ) As MsoTriState

  • Width( ) As Single

The Graphic object allows the programmer to set various properties of images that can appear in Excel headers and footers. For example, you can set the file name, image size and various color aspects of the image, as well as its location in the header or footer.

Get Writing Excel Macros with VBA, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.