System.Windows.Annotations 命名空間

提供類別,以支援 WPF 文件檢視控制項所顯示之內容上使用者建立的注釋。

類別

Annotation

表示 Microsoft Annotations Framework 中的使用者註釋。

AnnotationAuthorChangedEventArgs

提供 AuthorChanged 事件的資料。

AnnotationDocumentPaginator

提供 DocumentPaginator 以列印文件以及與其關聯的附註。

AnnotationHelper

提供公用程式方法和命令,以建立及刪除反白顯示、筆墨/筆跡自黏便箋,以及文字自黏便箋附註。

AnnotationResource

代表 Annotation 的內容錨點或貨物資源。

AnnotationResourceChangedEventArgs

提供 AnchorChangedCargoChanged 事件的資料。

AnnotationService

提供 Microsoft Annotations Framework 的核心服務,以管理及顯示使用者註釋。

ContentLocator

表示 ContentLocatorPart 項目的已排序集合,可用來識別內容項目。

ContentLocatorBase

表示物件識別項的內容。

ContentLocatorGroup

表示 ContentLocator 項目的已排序集合,可用來識別內容項目。

ContentLocatorPart

表示一組名稱/值組,識別內容項目。

TextAnchor

表示附註錨定 (Anchor) 的內容選取範圍。

介面

IAnchorInfo

提供比對附註與對應標註物件的功能。

列舉

AnnotationAction

指定 Annotation 作者、錨定 (Anchor) 和貨物資源所要發生的動作。

委派

AnnotationAuthorChangedEventHandler

表示處理 Annotation 類別所引發的 AuthorChanged 事件的方法。

AnnotationResourceChangedEventHandler

表示處理 Annotation 類別所引發的 AnchorChangedCargoChanged 事件的方法。

備註

系統會提供 命名空間中的 System.Windows.Annotations 類型,以支援在 Windows Presentation Foundation檔檢視控制項中顯示的應用程式資料上管理使用者建立的批註。 使用 Microsoft Annotations Framework 應用程式可以新增使用者建立附注的支援,以及與應用程式檔本身分開儲存的醒目提示。 由於使用者批註資訊會與檔內容分開儲存,因此使用者甚至可以將附注和醒目提示新增至無法實際變更的唯讀或受版權管理的檔。

支援使用者批註功能的 WPF 檔檢視控制項是以衍生子類別為基礎 DocumentViewerBase ,例如 DocumentViewerFlowDocumentPageViewerFlowDocumentScrollViewer 以及 FlowDocumentReader

另請參閱