dotnetCHARTING Send comments on this topic.
LoadLayer(String,String) Method
See Also 
dotnetCHARTING.Mapping Namespace > MapDataEngine Class > LoadLayer Method : LoadLayer(String,String) Method


fileName
Path and file name of the ecw file.
cFileName
Path and file name of the cached jpg file.
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

Visual Basic (Declaration) 
Public Overloads Shared Function LoadLayer( _
   ByVal fileName As String, _
   ByVal cFileName As String _
) As MapLayer
Visual Basic (Usage)Copy Code
Dim fileName As String
Dim cFileName As String
Dim value As MapLayer
 
value = MapDataEngine.LoadLayer(fileName, cFileName)
C# 
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.

See Also

© 2010 All Rights Reserved.