VintaSoft Twain .NET SDK 15.4: Documentation for .NET developer
Vintasoft.Imaging Namespace / Resolution Structure / Resolution Constructors / Resolution Constructor(Single,Single)
Syntax Exceptions Requirements SeeAlso
In This Topic
Resolution Constructor(Single,Single)
In This Topic
Initializes a new instance of the Resolution structure.
Syntax
'Declaration

Public Function New( _
ByVal horizontal
Horizontal resolution, in pixels per inch.
As Single, _
ByVal vertical
Vertical resolution, in pixels per inch.
As Single _
)
public Resolution(
float horizontal,
float vertical
)

Parameters

horizontal
Horizontal resolution, in pixels per inch.
vertical
Vertical resolution, in pixels per inch.
Exceptions
ExceptionDescription
if horizontal or vertical resolution is less than 0.
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