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