.netCHARTING v10.7 Documentation


Path and file name of the ecw file.
Path and file name of the cached jpg file.
LoadLayer(String,String) Method
Extracts map data from the specified ecw file into a MapLayer and caches the generated image. Caching ecw files is recommended when used with projections.
Syntax
'Declaration
 
Public Overloads Shared Function LoadLayer( _
   ByVal fileName As String, _
   ByVal cFileName As String _
) As MapLayer
'Usage
 
Dim fileName As String
Dim cFileName As String
Dim value As MapLayer
 
value = MapDataEngine.LoadLayer(fileName, cFileName)
public static MapLayer LoadLayer( 
   string fileName,
   string cFileName
)

Parameters

fileName
Path and file name of the ecw file.
cFileName
Path and file name of the cached jpg file.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also