Creates a new text annotation instance for the current selection of the viewer control associated with the specified AnnotationService and add the annotation to the annotation store.
Namespace: FirstFloor.Documents.Annotations.StorageAssembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: 2.5.0.0 (2.5.1.0)
Syntax
| C# |
|---|
public T CreateTextAnnotationForSelection( AnnotationService service ) |
| Visual Basic |
|---|
Public Function CreateTextAnnotationForSelection ( _ service As AnnotationService _ ) As T |
| Visual C++ |
|---|
public: T CreateTextAnnotationForSelection( AnnotationService^ service ) |
Parameters
- service
- Type: FirstFloor.Documents.Annotations..::..AnnotationService
The service.