ViewState Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
- effectiveViewportWidth
- Double
The width of the view port for view
.
- effectiveViewportHeight
- Double
The height of the view port for view
.