DocumentViewerBase.OnDocumentChanged 方法

定义

只要修改 Document 属性就会调用此方法。Called whenever the Document property is modified.

protected:
 virtual void OnDocumentChanged();
protected virtual void OnDocumentChanged ();
abstract member OnDocumentChanged : unit -> unit
override this.OnDocumentChanged : unit -> unit
Protected Overridable Sub OnDocumentChanged ()

注解

此方法导致无效和重新生成 DocumentPageView 对象(由 PageViews 属性表示)的工作集。This method causes the working set of DocumentPageView objects (represented by the PageViews property) to be invalidated and regenerated.

适用于