PROBLEM

Height and Width properties not honored with IDibExporter, ITiffExporter, and IJpegExporter

Last Published: April 25, 2020

Description

If PixelBounds is set before Width and Height, then it is ignored, and Width and Height are honored.

Cause

When Height and Width properties of the exporter are set using Visual Basic, they will be ignored if you subsequently set the IExporter::PixelBounds property.

Solution or Workaround

The export objects provide several methods to specify output size.

Specify either IExporter::PixelBounds or Height and Width but not both.

Article ID:000003043

Software:
  • ArcMap 8 x

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic