ArcObjects Library Reference (Output)  

IExport.PixelBounds Property

The Export Bounds in Pixels (The Pixel Bounds of the Export surface).

[Visual Basic .NET]
Public Property PixelBounds As IEnvelope
[C#]
public IEnvelope PixelBounds {get; set;}
[C++]
HRESULT get_PixelBounds(
  IEnvelope** PixelBounds
);
[C++]
HRESULT put_PixelBounds(
  IEnvelope* PixelBounds
);
[C++]

Parameters

PixelBounds [out, retval]

  PixelBounds is a parameter of type IEnvelope

PixelBounds [in]

  PixelBounds is a parameter of type IEnvelope

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

The PixelBounds represents the height and width of the export image in device units (usually pixels for a export file).  To set up values to use in this property, get the height and width of the image draw to screen.  Then multiply each dimension by the ratio of the output resolution to screen resolution.

 

See Also

IExport Interface

.NET Snippets

Create JPEG from ActiveView | Create JPEG (hi-resolution) from ActiveView