Click or drag to resize

ShapeCanvasGetScaleFactor Method

Retrieves the scale factor of a certain shape element.

Namespace:  Ptv.XServer.Controls.Map.Layers.Shapes
Assembly:  Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax
public static double GetScaleFactor(
	UIElement element
)

Parameters

element
Type: System.WindowsUIElement
Shape element of which the scale factor should be retrieved.

Return Value

Type: Double
Shape element scale factor. Returns 0 if none was set.
See Also