TextAnnotationFactoryTCreateTextAnnotationForSelection Method Document Toolkit Help
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.11.0)
Syntax

public T CreateTextAnnotationForSelection(
	AnnotationService service
)

Parameters

service
Type: FirstFloor.Documents.AnnotationsAnnotationService
The service.

Return Value

Type: T
The created text annotation.
See Also

Reference