ShapeCanvasUpdateScale Method |
Updates the scale 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 void UpdateScale(
FrameworkElement shape,
MapView inputMapView,
UpdateMode updateMode
)
Public Sub UpdateScale (
shape As FrameworkElement,
inputMapView As MapView,
updateMode As UpdateMode
)
public:
void UpdateScale(
FrameworkElement^ shape,
MapView^ inputMapView,
UpdateMode updateMode
)
member UpdateScale :
shape : FrameworkElement *
inputMapView : MapView *
updateMode : UpdateMode -> unit
Parameters
- shape
- Type: System.WindowsFrameworkElement
Shape element for which the scale is to be updated. - inputMapView
- Type: Ptv.XServer.Controls.MapMapView
MapView object, which contains the corresponding shape layer. It is needed for obtaining its currently used scale. - updateMode
- Type: Ptv.XServer.Controls.Map.CanvasesUpdateMode
At which part the current transition is.
See Also