ViewState Constructors

Definition

Overloads

ViewState(ITextView)

Constructs a ViewState.

ViewState(ITextView, Double, Double)

Constructs a ViewState.

ViewState(ITextView)

Constructs a ViewState.

public:
 ViewState(Microsoft::VisualStudio::Text::Editor::ITextView ^ view);
public:
 ViewState(Microsoft::VisualStudio::Text::Editor::ITextView ^ view);
 ViewState(Microsoft::VisualStudio::Text::Editor::ITextView const & view);
public ViewState (Microsoft.VisualStudio.Text.Editor.ITextView view);
new Microsoft.VisualStudio.Text.Editor.ViewState : Microsoft.VisualStudio.Text.Editor.ITextView -> Microsoft.VisualStudio.Text.Editor.ViewState
Public Sub New (view As ITextView)

Parameters

view
ITextView

The ITextView for this view state.

Applies to

ViewState(ITextView, Double, Double)

Constructs a ViewState.

public:
 ViewState(Microsoft::VisualStudio::Text::Editor::ITextView ^ view, double effectiveViewportWidth, double effectiveViewportHeight);
public:
 ViewState(Microsoft::VisualStudio::Text::Editor::ITextView ^ view, double effectiveViewportWidth, double effectiveViewportHeight);
 ViewState(Microsoft::VisualStudio::Text::Editor::ITextView const & view, double effectiveViewportWidth, double effectiveViewportHeight);
public ViewState (Microsoft.VisualStudio.Text.Editor.ITextView view, double effectiveViewportWidth, double effectiveViewportHeight);
new Microsoft.VisualStudio.Text.Editor.ViewState : Microsoft.VisualStudio.Text.Editor.ITextView * double * double -> Microsoft.VisualStudio.Text.Editor.ViewState
Public Sub New (view As ITextView, effectiveViewportWidth As Double, effectiveViewportHeight As Double)

Parameters

view
ITextView

The ITextView for this view state.

effectiveViewportWidth
Double

The width of the view port for view.

effectiveViewportHeight
Double

The height of the view port for view.

Applies to