次の方法で共有


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
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

See Also

Reference

ZoomLevelChangedEventArgs Class

Microsoft.VisualStudio.Text.Editor Namespace