AnnotationService Constructor (FlowDocumentScrollViewer^)
.NET Framework (current version)
Initializes a new instance of the AnnotationService class for use with a specified FlowDocumentScrollViewer control.
Assembly: PresentationFramework (in PresentationFramework.dll)
Parameters
- viewer
-
Type:
System.Windows.Controls::FlowDocumentScrollViewer^
The document viewing control associated with the AnnotationService.
| Exception | Condition |
|---|---|
| ArgumentNullException | viewer is null. |
The following example shows use of the AnnotationService constructor.
.NET Framework
Available since 3.0
Available since 3.0
Show: