This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IR > IRasterDefaultsEnv Interface > IRasterDefaultsEnv.NumFormats Property (ArcObjects .NET 10.5 SDK) |
Number of supported raster formats.
[Visual Basic .NET] Public ReadOnly Property NumFormats As Integer
[C#] public int NumFormats {get;}
[C++]
HRESULT get_NumFormats(
long* pNumFormats
);
[C++]
Parameters pNumFormats [out, retval] pNumFormats is a parameter of type long
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.