ITransformProvider2
ITransformProvider2
ITransformProvider2
ITransformProvider2
Interface
Definition
Extends the ITransformProvider interface to enable Microsoft UI Automation providers to expose API to support the viewport zooming functionality of a control.
public : interface ITransformProvider2public interface ITransformProvider2Public Interface ITransformProvider2// This API is not available in Javascript.
- Inheritance
-
ITransformProvider2ITransformProvider2ITransformProvider2ITransformProvider2
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Inherited Members
Inherited properties
Inherited methods
Remarks
This pattern has guidelines and conventions that aren't fully documented here. For more info on what this pattern is for, see Transform Control Pattern.
Use the TransformPattern2Identifiers class if you want to reference the ITransformProvider2 pattern properties from control code when you call RaisePropertyChangedEvent.
Properties
CanZoom CanZoom CanZoom CanZoom
Gets a value that indicates whether the control supports zooming of its viewport.
public : PlatForm::Boolean CanZoom { get; }public bool CanZoom { get; }Public ReadOnly Property CanZoom As bool// This API is not available in Javascript.
- Value
- PlatForm::Boolean bool bool bool
true if the viewport can be zoomed; otherwise, false.
MaxZoom MaxZoom MaxZoom MaxZoom
Gets the maximum zoom level of the element.
public : double MaxZoom { get; }public double MaxZoom { get; }Public ReadOnly Property MaxZoom As double// This API is not available in Javascript.
- Value
- double double double double
The maximum zoom level, as a percentage.
- See Also
MinZoom MinZoom MinZoom MinZoom
Gets the minimum zoom level of the element.
public : double MinZoom { get; }public double MinZoom { get; }Public ReadOnly Property MinZoom As double// This API is not available in Javascript.
- Value
- double double double double
The minimum zoom level, as a percentage.
- See Also
ZoomLevel ZoomLevel ZoomLevel ZoomLevel
Gets the zoom level of the control's viewport.
public : double ZoomLevel { get; }public double ZoomLevel { get; }Public ReadOnly Property ZoomLevel As double// This API is not available in Javascript.
- Value
- double double double double
The zoom level, specified as a percentage. The provider should zoom the viewport to the nearest supported value.
Methods
Zoom(Double) Zoom(Double) Zoom(Double) Zoom(Double)
Zooms the viewport of the control.
public : void Zoom(double zoom)public void Zoom(Double zoom)Public Function Zoom(zoom As Double) As void// This API is not available in Javascript.
- zoom
- double Double Double Double
The amount to zoom the viewport, specified as a percentage. The provider should zoom the viewport to the nearest supported value.
- See Also
ZoomByUnit(ZoomUnit) ZoomByUnit(ZoomUnit) ZoomByUnit(ZoomUnit) ZoomByUnit(ZoomUnit)
Zooms the viewport of the control by the specified logical unit.
public : void ZoomByUnit(ZoomUnit zoomUnit)public void ZoomByUnit(ZoomUnit zoomUnit)Public Function ZoomByUnit(zoomUnit As ZoomUnit) As void// This API is not available in Javascript.
The logical unit by which to increase or decrease the zoom of the viewport.
- See Also