ImageGear v26.5 - Updated
ImageGear.Core Assembly / ImageGear.Core Namespace / ImGearRationalInt Structure / ImGearRationalInt Constructor / ImGearRationalInt Constructor(Int32,Int32)
Integer that represents the numerator of a fraction. Must be nonnegative.
Integer that represents the denominator of a fraction. Must be nonnegative.




In This Topic
    ImGearRationalInt Constructor(Int32,Int32)
    In This Topic
    Initializes a new instance of the ImGearRationalInt structure.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal numerator As Integer, _
       ByVal denominator As Integer _
    )
    'Usage
     
    Dim numerator As Integer
    Dim denominator As Integer
     
    Dim instance As New ImGearRationalInt(numerator, denominator)
    public ImGearRationalInt( 
       int numerator,
       int denominator
    )
    public: ImGearRationalInt( 
       int numerator,
       int denominator
    )
    public:
    ImGearRationalInt( 
       int numerator,
       int denominator
    )

    Parameters

    numerator
    Integer that represents the numerator of a fraction. Must be nonnegative.
    denominator
    Integer that represents the denominator of a fraction. Must be nonnegative.
    See Also