VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Annotation Namespace / AnnotationGdiConverter Class / CreateAnnotationFont Methods / CreateAnnotationFont(Font,Single) Method
Syntax Requirements SeeAlso
In This Topic
CreateAnnotationFont(Font,Single) Method (AnnotationGdiConverter)
In This Topic
Creates the AnnotationFont object from the System.Drawing.Font object.
Syntax
'Declaration

Public Overloads Shared Function CreateAnnotationFont( _
ByVal font
The System.Drawing.Font object to convert.
As System.Drawing.Font, _
ByVal resolution
Image resolution.
As Single _
) As AnnotationFont
public static AnnotationFont CreateAnnotationFont(
System.Drawing.Font font,
float resolution
)

Parameters

font
The System.Drawing.Font object to convert.
resolution
Image resolution.

Return Value

The AnnotationFont object.
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