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.Storage
Assembly: 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
)

Return Value

The created text annotation.

See Also