VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Annotation.Wpf.UI Namespace / WpfAnnotationTemplateBuildManager Class / AddText(String) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
AddText(String) Method (WpfAnnotationTemplateBuildManager)
In This Topic
Adds a text annotation to this manager and changes the annotation size and position so the annotation fills the annotation viewer.
Syntax
'Declaration

Public Function AddText( _
ByVal text
The text of text annotation.
As System.String _
) As Vintasoft.Imaging.Annotation.TextAnnotationData
public Vintasoft.Imaging.Annotation.TextAnnotationData AddText(
System.String text
)

Parameters

text
The text of text annotation.

Return Value

The text annotation that fills the the annotation viewer.
Exceptions
ExceptionDescription
Thrown if text is null.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also