IRPDefGenerator.Init

Applies To: Custom RPDef Generator

Initializes the object using the ISDef File

This method is invoked by the RPDef Generator Factory object prior to returning the newly created RPDef Generator object.

[VB.NET]

Function Init(

   ByVal rpDefGenName As String,

   ByVal rpDefGenFilePath As String,

   ByVal isDefFilePath As StringAs Boolean

   Implements ESRI.ImageServer.RPDefGenerator.IRPDefGenerator.Init

[C/C++]

Boolean Init(

   String* rpDefGenName, String* rpDefGenFilePath, String* isDefFilePath);

Arguments

[in] rpDefGenName

The name of the Raster Type as defined in the RPDefGen file.

[in] rpDefGenFilePath

Full file-path to the RPDefGen file

[in] isDefFilePath

Full file-path to the ISDef for which the RPDef is being generated.

Return Value

Boolean indicating the status of the method invocation:

Constant

Description

True

The RPDef Generator Factory object interprets this as a successful operation.

False

The RPDef Generator Factory object interprets this return value as a failure and invokes the GetStatus() method for more information on what went wrong.

Requirements

Platform

32 bit Windows OS (WinXP)

Environment

.NET Framework, COM

Dependency

ESRI.ImageServer.RPDefGenerator.dll

For an detailed example, please see \Developer Kit\Raster Types\Samples.