ImageGear v26.5 - Updated
ImageGear.Core Assembly / ImageGear.Core Namespace / ImGearResolution Structure / ImGearResolution Constructor / ImGearResolution Constructor(Int32,Int32,Int32,Int32,ImGearResolutionUnits)
Numerator of the X component of the resolution.
Denominator of the X component of the resolution.
Numerator of the Y component of the resolution.
Denominator of the Y component of the resolution.
Resolution units.




In This Topic
    ImGearResolution Constructor(Int32,Int32,Int32,Int32,ImGearResolutionUnits)
    In This Topic
    Initializes a new instance of the ImGearResolution structure.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal numeratorX As Integer, _
       ByVal denominatorX As Integer, _
       ByVal numeratorY As Integer, _
       ByVal denominatorY As Integer, _
       ByVal units As ImGearResolutionUnits _
    )
    'Usage
     
    Dim numeratorX As Integer
    Dim denominatorX As Integer
    Dim numeratorY As Integer
    Dim denominatorY As Integer
    Dim units As ImGearResolutionUnits
     
    Dim instance As New ImGearResolution(numeratorX, denominatorX, numeratorY, denominatorY, units)
    public ImGearResolution( 
       int numeratorX,
       int denominatorX,
       int numeratorY,
       int denominatorY,
       ImGearResolutionUnits units
    )
    public: ImGearResolution( 
       int numeratorX,
       int denominatorX,
       int numeratorY,
       int denominatorY,
       ImGearResolutionUnits units
    )
    public:
    ImGearResolution( 
       int numeratorX,
       int denominatorX,
       int numeratorY,
       int denominatorY,
       ImGearResolutionUnits units
    )

    Parameters

    numeratorX
    Numerator of the X component of the resolution.
    denominatorX
    Denominator of the X component of the resolution.
    numeratorY
    Numerator of the Y component of the resolution.
    denominatorY
    Denominator of the Y component of the resolution.
    units
    Resolution units.
    See Also