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
Public Property PenWidthScale As Single
	Get
	Set
C#
public float PenWidthScale { get; set; }
Visual C++
public:
property float PenWidthScale {
	float get ();
	void set (float value);
}
JavaScript
function get_penWidthScale();
function set_penWidthScale(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