ShapeCanvasSetScale Method |
Sets 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 void SetScale(
FrameworkElement element,
double scale
)
Public Shared Sub SetScale (
element As FrameworkElement,
scale As Double
)
public:
static void SetScale(
FrameworkElement^ element,
double scale
)
static member SetScale :
element : FrameworkElement *
scale : float -> unit
Parameters
- element
- Type: System.WindowsFrameworkElement
Shape element for which the scale factor is to be set. - scale
- Type: SystemDouble
New scale factor of the shape element.
See Also