This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > 3DAnalystUI > ESRI.ArcGIS.Analyst3DUI > Interfaces > IS > ISceneExportFile2dDialog Interface > ISceneExportFile2dDialog.DoModal Method (ArcObjects .NET 10.5 SDK) |
Displays Scene Export File Dialog.
[Visual Basic .NET] Public Function DoModal ( _ ByVal pPixelBounds As IEnvelope, _ ByVal res As Double _ ) As Boolean
[C#] public bool DoModal ( IEnvelope pPixelBounds, double res );
The first argument of this method, pixel extent, is represented by an Envelope object. The resulting scene export pixel extent is calculated by timing its width and length with a factor calculated by dividing 300, the default DPI value, by the resolution value, the second argument. For example, if the pixel extent is 100, 100, 300, and 200, meaning its width is 200 and height 100, if the resolution set is 150, then the resulting image extent would be 400 by 200, with the resolution at 300 on the UI unchanged. If you change the resolution to 150, same as in the code, then the original pixel extent is honered.