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

Public Overloads Function AddImage( _
ByVal imageFilePath
A path to the file, where image is stored.
As System.String _
) As Vintasoft.Imaging.Annotation.EmbeddedImageAnnotationData

Parameters

imageFilePath
A path to the file, where image is stored.

Return Value

The image annotation that fills the the annotation viewer.
Exceptions
ExceptionDescription
Thrown if imageFilePath 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