IDocumentPeekResultScrollState 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
扩展的功能 IPeekResultScrollState ,以便能够滚动和缩放任何文本视图,而不只是当前可见的演示文稿。
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
- 实现
注解
当速览中显示的文档提升为完整帧时,此接口用于使滚动状态和缩放级别保持一致。
方法
| RestoreScrollState(IPeekResultPresentation) |
将演示还原到捕获的状态。 (继承自 IPeekResultScrollState) |
| RestoreScrollState(ITextView) |
将任何文本视图滚动到 IPeekResultScrollState 此继承自的。 |
| RestoreZoomState(ITextView) |
还原给定文本视图中的缩放级别。 |