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


IRasterSpatialSelection.Init Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IRasterSpatialSelection.Init Method

Create or remove the selection dataset.

[Visual Basic .NET]
Public Sub Init ( _
    ByVal bInit As Boolean, _
    [ByVal FileFullName As String], _
    [ByVal FileFormat As esriRasterSelectionMaskFileFormat] _
)
[C#]
public void Init (
    bool bInit,
    string FileFullName,
    esriRasterSelectionMaskFileFormat FileFormat
);
[C#]

Optional Values

FileFullName   Supply "0" as a default value.
FileFormat   Supply esriMaskImagineUncompress as a default value.
[C++]
HRESULT Init(
  VARIANT_BOOL bInit,
  BSTR FileFullName,
  esriRasterSelectionMaskFileFormat FileFormat
);
[C++]

Parameters bInit [in] bInit is a parameter of type VARIANT_BOOL FileFullName [in, optional, defaultvalue(0)] FileFullName is a parameter of type BSTR FileFormat [in, optional, defaultvalue(1)]
FileFormat is a parameter of type esriRasterSelectionMaskFileFormat

Product Availability

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

See Also

IRasterSpatialSelection Interface