PPT: Incorrect Arguments in Export Method Help Topic Example

ID: Q169732

The information in this article applies to:

SYMPTOMS

The ScaleWidth and ScaleHeight arguments are ignored when you execute the code in the example provided with the "Export Method" topic of Microsoft PowerPoint Visual Basic Help.

CAUSE

The example contains an invalid value (0.5) for the ScaleWidth and ScaleHeight arguments.

RESOLUTION

Set the ScaleWidth and ScaleHeight arguments to a long integer that is greater than or equal to one.

MORE INFORMATION

The ScaleWidth and ScaleHeight arguments define the number of pixels that are used to scale the width and height of the graphic when it is exported as a CompuServe Graphics Interchange Format (.gif), JPEG File Interchange Format (.jpg), or Portable Network Graphics (.png) file. These arguments are ignored when exporting as a Windows Metafile (.wmf) file.

Keep the following tips in mind when setting the ScaleWidth and ScaleHeight arguments:

Additional query words: 8.0 Document Error docerr macppt
Keywords          : kbprg kbhelp 
Version           : WINDOWS:97; MACINTOSH:98
Platform          : MACINTOSH WINDOWS
Hardware          : MAC x86
Solution Type     : kbfix

Last Reviewed: December 15, 1998