Freigeben über


ZoomConstants Class

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
Public fieldStatic member DefaultZoom The default zoom level on the text view.
Public fieldStatic member MaxZoom The maximum zoom allowed on the text view.
Public fieldStatic member MinZoom The minimum zoom allowed on the text view.
Public fieldStatic member 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.

See Also

Reference

Microsoft.VisualStudio.Text.Editor Namespace