AnnotationService Constructor (DocumentViewerBase^)
.NET Framework (current version)
Initializes a new instance of the AnnotationService class for use with a specified DocumentViewer or FlowDocumentPageViewer control.
Assembly: PresentationFramework (in PresentationFramework.dll)
Parameters
- viewer
-
Type:
System.Windows.Controls.Primitives::DocumentViewerBase^
The document viewing control associated with the AnnotationService.
| Exception | Condition |
|---|---|
| ArgumentNullException | viewer is null. |
This constructor can be used with DocumentViewerBase derived controls:
.NET Framework
Available since 3.0
Available since 3.0
Show: