ESRI.ArcGIS.ServerTools
GenerateMapServerCacheTilingScheme Constructor(Object,String,Object,Object,Int32,Object,Int32,Int32,Int32)
See Also  Send your comments to: Site Administrator | Terms of Use | PRIVACY | Copyright @ ESRI | Careers
ESRI.ArcGIS.ServerTools Namespace > GenerateMapServerCacheTilingScheme Class > GenerateMapServerCacheTilingScheme Constructor : GenerateMapServerCacheTilingScheme Constructor(Object,String,Object,Object,Int32,Object,Int32,Int32,Int32)




map_document
The source map document to be used for the tiling scheme. (In, Required)
data_frame
The data frame to be used for the tiling scheme. (In, Required)
tile_origin
The upper left corner of the tiling scheme in coordinates of the spatial reference of the source data frame. (In, Required)
tiling_schema
Path and file name of the tiling scheme file to create. (Out, Required)
cache_levels
Number of scale levels in the tiling scheme. (In, Required)
levels
Scale levels to include in the tiling scheme. These are not represented as fractions. Instead, use 500 to represent a scale of 1:500, and so on. (In, Required)
dpi
The dots per inch of the intended output device. If a DPI is chosen that does not match the resolution of the output device, the scale of the map tile will appear incorrect. The default value is 96. (In, Required)
tile_width
The width of the cache tiles in pixels. The default is 256. For the best balance between performance and manageability, avoid deviating from standard widths of 256 or 512. (In, Required)
tile_height
The height of the cache tiles in pixels. The default is 256. For the best balance between performance and manageability, avoid deviating from standard widths of 256 or 512. (In, Required)
Constructor that takes all required parameters for geoprocessor execution.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal map_document As Object, _
   ByVal data_frame As String, _
   ByVal tile_origin As Object, _
   ByVal tiling_schema As Object, _
   ByVal cache_levels As Integer, _
   ByVal levels As Object, _
   ByVal dpi As Integer, _
   ByVal tile_width As Integer, _
   ByVal tile_height As Integer _
)
Visual Basic (Usage)Copy Code
Dim map_document As Object
Dim data_frame As String
Dim tile_origin As Object
Dim tiling_schema As Object
Dim cache_levels As Integer
Dim levels As Object
Dim dpi As Integer
Dim tile_width As Integer
Dim tile_height As Integer
 
Dim instance As GenerateMapServerCacheTilingScheme(map_document, data_frame, tile_origin, tiling_schema, cache_levels, levels, dpi, tile_width, tile_height)
C# 
public GenerateMapServerCacheTilingScheme( 
   object map_document,
   string data_frame,
   object tile_origin,
   object tiling_schema,
   int cache_levels,
   object levels,
   int dpi,
   int tile_width,
   int tile_height
)

Parameters

map_document
The source map document to be used for the tiling scheme. (In, Required)
data_frame
The data frame to be used for the tiling scheme. (In, Required)
tile_origin
The upper left corner of the tiling scheme in coordinates of the spatial reference of the source data frame. (In, Required)
tiling_schema
Path and file name of the tiling scheme file to create. (Out, Required)
cache_levels
Number of scale levels in the tiling scheme. (In, Required)
levels
Scale levels to include in the tiling scheme. These are not represented as fractions. Instead, use 500 to represent a scale of 1:500, and so on. (In, Required)
dpi
The dots per inch of the intended output device. If a DPI is chosen that does not match the resolution of the output device, the scale of the map tile will appear incorrect. The default value is 96. (In, Required)
tile_width
The width of the cache tiles in pixels. The default is 256. For the best balance between performance and manageability, avoid deviating from standard widths of 256 or 512. (In, Required)
tile_height
The height of the cache tiles in pixels. The default is 256. For the best balance between performance and manageability, avoid deviating from standard widths of 256 or 512. (In, Required)

See Also

© 2010 All Rights Reserved.