Cadcorp SIS API Methods

GetPrjScaleAtCentre Method

Description

Gets the scale at the centre of a named coordinate reference system.

Syntax

Visual Basic
Public Function GetPrjScaleAtCentre( _
   ByVal prj As String _
) As Double

Parameters

prj
The coordinate reference system to query.

Return Type

The scale at the centre of a named coordinate reference system. This is necessary for interacting with the RenderTile method.

Remarks

Use this API if you want to calculate the RenderTile’s level parameter from map scale, or scale from level. You can also use it if you want to know the extent of the returned tile in coordinate reference system units. The calculation is slightly lengthy and must also take _OutputDPI& into account.

Available: GEO MM ME MD OD OM SISpy

Group:

Example

sis.GetPrjScaleAtCentre ( "NAD27.Arizona East" )


Send comments on this topic.

Click to return to www.cadcorp.com

© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).