This documentation is archived and is not being maintained.
AnnotationDocumentPaginator Class
Visual Studio 2010
Provides a DocumentPaginator for printing a document together with its associated annotations.
System::Object
System.Windows.Documents::DocumentPaginator
System.Windows.Annotations::AnnotationDocumentPaginator
System.Windows.Documents::DocumentPaginator
System.Windows.Annotations::AnnotationDocumentPaginator
Assembly: PresentationFramework (in PresentationFramework.dll)
The AnnotationDocumentPaginator type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | AnnotationDocumentPaginator(DocumentPaginator, Stream) | Initializes a new instance of the AnnotationDocumentPaginator class based on a specified DocumentPaginator and annotation storage Stream. |
![]() | AnnotationDocumentPaginator(DocumentPaginator, AnnotationStore) | Initializes a new instance of the AnnotationDocumentPaginator class based on a specified DocumentPaginator and AnnotationStore. |
![]() | AnnotationDocumentPaginator(DocumentPaginator, Stream, FlowDirection) | Initializes a new instance of the AnnotationDocumentPaginator class based on a specified DocumentPaginator, annotation storage Stream, and text FlowDirection. |
![]() | AnnotationDocumentPaginator(DocumentPaginator, AnnotationStore, FlowDirection) | Initializes a new instance of the AnnotationDocumentPaginator class based on a specified DocumentPaginator, AnnotationStore, and text FlowDirection. |
| Name | Description | |
|---|---|---|
![]() | IsPageCountValid | Gets a value that indicates whether PageCount is the total number of pages. (Overrides DocumentPaginator::IsPageCountValid.) |
![]() | PageCount | Gets a value that indicates the number of pages currently formatted. (Overrides DocumentPaginator::PageCount.) |
![]() | PageSize | Gets or sets the suggested width and height of each page. (Overrides DocumentPaginator::PageSize.) |
![]() | Source | Gets the source document that is being paginated. (Overrides DocumentPaginator::Source.) |
| Name | Description | |
|---|---|---|
![]() | CancelAsync | Cancels all asynchronous operations initiated with a given userState object. (Overrides DocumentPaginator::CancelAsync(Object).) |
![]() | ComputePageCount | Forces a pagination of the content, updates PageCount with the new total, and sets IsPageCountValid to true. (Overrides DocumentPaginator::ComputePageCount().) |
![]() | ComputePageCountAsync() | Asynchronously, forces a pagination of the content, updates PageCount with the new total, and sets IsPageCountValid to true. (Inherited from DocumentPaginator.) |
![]() | ComputePageCountAsync(Object) | Starts an asynchronous pagination of the content, updates PageCount with the new total, and sets IsPageCountValid to true when it is finished. (Overrides DocumentPaginator::ComputePageCountAsync(Object).) |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetPage | Returns a DocumentPage together with associated user-annotations for a specified page number. (Overrides DocumentPaginator::GetPage(Int32).) |
![]() | GetPageAsync(Int32) | Asynchronously returns (through the GetPageCompleted event) the DocumentPage for the specified page number. (Inherited from DocumentPaginator.) |
![]() | GetPageAsync(Int32, Object) | asynchronously returns a DocumentPage together with associated user-annotations for a specified page number. (Overrides DocumentPaginator::GetPageAsync(Int32, Object).) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OnComputePageCountCompleted | Raises the ComputePageCountCompleted event. (Inherited from DocumentPaginator.) |
![]() | OnGetPageCompleted | Raises the GetPageCompleted event. (Inherited from DocumentPaginator.) |
![]() | OnPagesChanged | Raises the PagesChanged event. (Inherited from DocumentPaginator.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | ComputePageCountCompleted | Occurs when a ComputePageCountAsync operation has finished. (Inherited from DocumentPaginator.) |
![]() | GetPageCompleted | Occurs when GetPageAsync has completed. (Inherited from DocumentPaginator.) |
![]() | PagesChanged | Occurs when the document content is changed. (Inherited from DocumentPaginator.) |
The AnnotationDocumentPaginator class wraps the DocumentPaginator specified to the AnnotationDocumentPaginator constructor to add the user annotations to the pages for printing.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
