Partager via


IDocumentPeekResultScrollState Interface

Definition

Extends the capability of the IPeekResultScrollState to be able to scroll and zoom any text view, rather than only the currently visible presentation.

public interface class IDocumentPeekResultScrollState : IDisposable, Microsoft::VisualStudio::Language::Intellisense::IPeekResultScrollState
public interface IDocumentPeekResultScrollState : IDisposable, Microsoft.VisualStudio.Language.Intellisense.IPeekResultScrollState
type IDocumentPeekResultScrollState = interface
    interface IPeekResultScrollState
    interface IDisposable
Public Interface IDocumentPeekResultScrollState
Implements IDisposable, IPeekResultScrollState
Implements

Remarks

This interface is used in keeping the scroll state and zoom level consistent when a document presented in Peek is being promoted to a full frame.

Methods

RestoreScrollState(IPeekResultPresentation)

Restore the presentation to the captured state.

(Inherited from IPeekResultScrollState)
RestoreScrollState(ITextView)

Scrolls any text view to the the IPeekResultScrollState that this inherits from.

RestoreZoomState(ITextView)

Restores zoom level in given text view.

Applies to