This document is archived and information here might be outdated.  Recommended version.


IRasterDefaultsEnv.NumFormats Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IR > IRasterDefaultsEnv Interface > IRasterDefaultsEnv.NumFormats Property
ArcGIS Developer Help

IRasterDefaultsEnv.NumFormats Property

Number of supported raster formats.

[Visual Basic .NET]
Public ReadOnly Property NumFormats As Integer
[C#]
public int NumFormats {get;}
[C++]
HRESULT get_NumFormats(
  System.Int32* pNumFormats
);
[C++]
Parameters
pNumFormats [out, retval]

pNumFormats is a parameter of type long*

Product Availability

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

Remarks

The NumFormats property returns the number of supported raster formats, and the Format method returns a RasterFormatInfo object specific to one raster format, which can specify default properties for that format.

See Also

IRasterDefaultsEnv Interface