Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Defines the constants used for zoom operations.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Text.Editor.ZoomConstants
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'Declaration
Public NotInheritable Class ZoomConstants
public static class ZoomConstants
public ref class ZoomConstants abstract sealed
[<AbstractClass>]
[<Sealed>]
type ZoomConstants = class end
public final class ZoomConstants
The ZoomConstants type exposes the following members.
Fields
Name | Description | |
---|---|---|
![]() ![]() |
DefaultZoom | The default zoom level on the text view. |
![]() ![]() |
MaxZoom | The maximum zoom allowed on the text view. |
![]() ![]() |
MinZoom | The minimum zoom allowed on the text view. |
![]() ![]() |
ScalingFactor | The scaling factor used for zooming in and out of the view. The view zooms by a factor of 10%. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.