ZoomLevelChangedEventArgs.ZoomTransform Property
Gets the zoom transform to apply.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
声明
Public Property ZoomTransform As Transform
Get
Private Set
public Transform ZoomTransform { get; private set; }
public:
property Transform^ ZoomTransform {
Transform^ get ();
private: void set (Transform^ value);
}
member ZoomTransform : Transform with get, private set
function get ZoomTransform () : Transform
private function set ZoomTransform (value : Transform)
Property Value
Type: System.Windows.Media.Transform
The zoom transform to apply.
Remarks
If you have WPF UI elements and want them to reflect the view's zoom level, you can set their LayoutTransform property to this value.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.