MapWinGIS:AxMap GetLayerStandardViewWidth

This is a back-up of the WIKI.
Not all links might work
We're working on a new wiki.

Main Page | Recent changes | View source | Page history | Log in / create account |

Printable version | Disclaimers | Privacy policy

GetLayerStandardViewWidth

Gets the standard view width used to scale the labels on the layer.
See also SetLayerStandardViewWidth and LayerLabelsScale


VB.NET Usage

Property GetLayerStandardViewWidth(layerHandle As Integer, ByRef width As Double)

            Parameters

layerHandle

The handle of the layer for which the standard view width is required.
width Reference parameter. The standard view width for the specified layer is returned through this parameter.

Sample Code

    Public Sub GetStandardViewWidth()
        Dim viewWidth As Double
        'Get the standard view width used to scale the labels for layer 0
        Map1.GetLayerStandardViewWidth(0, viewWidth)
    End Sub
  

VB 6 Usage

Property GetLayerStandardViewWidth(layerHandle As Long, ByRef width As Double)
            Parameters

layerHandle

The handle of the layer for which the standard view width is required.
width Reference parameter. The standard view width for the specified layer is returned through this parameter.

Sample Code

    Public Sub GetStandardViewWidth()
        Dim viewWidth As Double
        'Get the standard view width used to scale the labels for layer 0
        Map1.GetLayerStandardViewWidth 0, viewWidth
    End Sub

Retrieved from "http://mapwindow.org/wiki/index.php/MapWinGIS:AxMap_GetLayerStandardViewWidth"

This page has been accessed 1,450 times. This page was last modified on 9 November 2005, at 18:53.