Collapse All Expand All Code: All Code: Multiple Code: Visual Basic Code: C# Code: Visual C++ Code: JavaScript

Visual Basic
C#
Visual C++
JavaScript

Easy GIS .NET API Reference
RenderSettings..::.PenWidthScale Property
RenderSettings Class See Also Send Feedback

Gets / Sets the width of the pen in ShapeFile coordinate units (PolyLines only).

Namespace: EGIS.ShapeFileLib
Assembly: EGIS.ShapeFileLib (in EGIS.ShapeFileLib.dll)

# Syntax

Visual Basic (Declaration)
    Public Property PenWidthScale As Single

C#
    public float PenWidthScale { get; set; }

Visual C++
    public:
    property float PenWidthScale {
    	float get ();
    	void set (float value);
    }

# Remarks

This settings is only used when rendering PolyLine or PolyLineM ShapeFiles

If a ShapeFile is using UTM coords this is the width of the lines in metres.

If a ShapeFile is using Lat Long coordinates this is the width of the line in decimal degrees

This property is set automatically when using the Desktop version of Easy GIS .NET, using a default value of 8m for UTM ShapeFiles. For ShapeFiles using Lat Long coordinates, the decimal degree equivalent of the 8m value is calculated based on teh ShapeFiles Extent

# See Also

RenderSettings Class
EGIS.ShapeFileLib Namespace