ViewState Constructor (ITextView^, Double, Double)

 

Initializes a new instance of the ViewState for the specified view, viewport width, and viewport height.

Namespace:   Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

public:
ViewState(
	ITextView^ view,
	double effectiveViewportWidth,
	double effectiveViewportHeight
)

Parameters

view
Type: Microsoft.VisualStudio.Text.Editor::ITextView^

The ITextView.

effectiveViewportWidth
Type: System::Double

The width of the viewport.

effectiveViewportHeight
Type: System::Double

The height of the viewport.

Return to top
Show: