ArcObjects Library Reference (NetworkAnalyst)  

INAServerSolverParams.ImageDescription Property

ImageDescription used when generating the MapImage returned with the analysis results.

[Visual Basic .NET]
Public Property ImageDescription As IImageDescription
[C#]
public IImageDescription ImageDescription {get; set;}
[C++]
HRESULT get_ImageDescription(
  IImageDescription** ImageDescription
);
[C++]
HRESULT putref_ImageDescription(
  IImageDescription* ImageDescription
);
[C++]

Parameters

ImageDescription [out, retval]

  ImageDescription is a parameter of type IImageDescription

ImageDescription [in]

  ImageDescription is a parameter of type IImageDescription

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.

Remarks

Specifies the ImageDescription used when creating maps during solve.  Setting the Width and Height of the output map to be 200x200 pixels would look something like:

routeParams.ImageDescription.Display.Width = 200
routeParams.ImageDescription.Display.Height = 200

See Also

INAServerSolverParams Interface

.NET Samples

Closest facility application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: ClosestFacility_GISServerAPIClass) | Route application using the NAServer extension in ArcGIS Server via a GIS client (Code Files: Route_GISClientClass) | Route application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: Route_GISServerAPIClass) | Service area application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: ServiceArea_GISServerAPIClass) |