System.Windows.Annotations 命名空間

提供類別,以支援 WPF 文件檢視控制項所顯示之內容上使用者建立的注釋。 Provides classes to support user-created annotations on content displayed in WPF document viewing controls.

類別

Annotation

表示 Microsoft Annotations Framework 中的使用者註釋。Represents a user annotation in the Microsoft Annotations Framework.

AnnotationAuthorChangedEventArgs

提供 AuthorChanged 事件的資料。Provides data for the AuthorChanged event.

AnnotationDocumentPaginator

提供 DocumentPaginator 以列印文件以及與其關聯的附註。Provides a DocumentPaginator for printing a document together with its associated annotations.

AnnotationHelper

提供公用程式方法和命令,以建立及刪除反白顯示、筆墨/筆跡自黏便箋,以及文字自黏便箋附註。Provides utility methods and commands to create and delete highlight, ink sticky note, and text sticky note annotations.

AnnotationResource

表示 Annotation 的資源錨點或貨物資源。Represents a content anchor or cargo resource for an Annotation.

AnnotationResourceChangedEventArgs

提供 AnchorChangedCargoChanged 事件的資料。Provides data for the AnchorChanged and CargoChanged events.

AnnotationService

提供 Microsoft Annotations Framework 的核心服務,以管理及顯示使用者註釋。Provides core services of the Microsoft Annotations Framework to manage and display user annotations.

ContentLocator

表示 ContentLocatorPart 項目的已排序集合,可用來識別內容項目。Represents an ordered set of ContentLocatorPart elements that identify an item of content.

ContentLocatorBase

表示物件識別項的內容。Represents an object that identifies an item of content.

ContentLocatorGroup

表示 ContentLocator 項目的已排序集合,可用來識別內容項目。Represents an ordered set of ContentLocator elements that identify an item of content.

ContentLocatorPart

表示一組名稱/值組,識別內容項目。Represents a set of name/value pairs that identify an item of content.

TextAnchor

表示附註錨定 (Anchor) 的內容選取範圍。Represents a selection of content that an annotation is anchored to.

介面

IAnchorInfo

提供比對附註與對應標註物件的功能。Provides the capabilities for matching annotations with the corresponding annotated objects.

列舉

AnnotationAction

指定 Annotation 作者、錨定 (Anchor) 和貨物資源所要發生的動作。Specifies the actions that occur with Annotation author, anchor, and cargo resources.

委派

AnnotationAuthorChangedEventHandler

表示處理 Annotation 類別所引發的 AuthorChanged 事件的方法。Represents the method that handles the AuthorChanged event raised by the Annotation class.

AnnotationResourceChangedEventHandler

表示處理 Annotation 類別所引發的 AnchorChangedCargoChanged 事件的方法。Represents the method that handles the AnchorChanged or CargoChanged events raised by the Annotation class.

備註

中的型別System.Windows.Annotations命名空間可供支援的使用者建立的附註管理在 Windows Presentation Foundation 文件檢視控制項中顯示的應用程式資料。Types in the System.Windows.Annotations namespace are provided to support the management of user-created annotations on application data displayed in Windows Presentation Foundation document viewing controls. 使用Microsoft Annotations FrameworkMicrosoft Annotations Framework應用程式可以加入使用者建立的便箋和醒目提示儲存分開的應用程式文件本身的支援。Using the Microsoft Annotations FrameworkMicrosoft Annotations Framework applications can add support for user-created notes and highlights that are stored separate from the application document itself. 因為使用者註釋資訊分開儲存文件內容,使用者甚至可以新增附註,並反白顯示無法實際變更的唯讀或版權管理文件。Since the user annotation information is stored separately from the document content, users can even add notes and highlights to read-only or rights-managed documents that cannot be physically changed.

WPFWPF支援使用者註解功能的文件檢視控制項根據DocumentViewerBase衍生子類別,例如DocumentViewerFlowDocumentPageViewer,並FlowDocumentScrollViewer以及FlowDocumentReaderThe WPFWPF document viewing controls that support user-annotation capabilities are based on DocumentViewerBase derived subclasses such as DocumentViewer, FlowDocumentPageViewer, and FlowDocumentScrollViewer as well as FlowDocumentReader.

另請參閱