ShapeCanvasGetScale 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 GetScale(
UIElement element
)
Public Shared Function GetScale (
element As UIElement
) As Double
public:
static double GetScale(
UIElement^ element
)
static member GetScale :
element : UIElement -> float
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