ZoomLevelChangedEventArgs Constructor
Initializes a new instance of a ZoomLevelChangedEventArgs.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'宣言
Public Sub New ( _
newZoomLevel As Double, _
transform As Transform _
)
public ZoomLevelChangedEventArgs(
double newZoomLevel,
Transform transform
)
public:
ZoomLevelChangedEventArgs(
double newZoomLevel,
Transform^ transform
)
new :
newZoomLevel:float *
transform:Transform -> ZoomLevelChangedEventArgs
public function ZoomLevelChangedEventArgs(
newZoomLevel : double,
transform : Transform
)
Parameters
- newZoomLevel
Type: System.Double
The new zoom level for an IWpfTextView.
- transform
Type: System.Windows.Media.Transform
The zoom transform used for an IWpfTextView.
.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.