Numeric.NumericInit, Numeric.ValueHelper
Unit.UnitInit
Constructor and Description |
---|
Resolution(double value,
UnitType type)
Initializes a new instance of the
Resolution class. |
Modifier and Type | Method and Description |
---|---|
static Resolution |
op_Addition(Resolution a,
Resolution b)
Implements the operator +.
|
static boolean |
op_Equality(Resolution a,
Resolution b)
Implements the operator ==.
|
static boolean |
op_GreaterThan(Resolution a,
Resolution b)
Implements the operator >.
|
static boolean |
op_GreaterThanOrEqual(Resolution a,
Resolution b)
Implements the operator >=.
|
static boolean |
op_Inequality(Resolution a,
Resolution b)
Implements the operator !
|
static boolean |
op_LessThan(Resolution a,
Resolution b)
Implements the operator <.
|
static boolean |
op_LessThanOrEqual(Resolution a,
Resolution b)
Implements the operator <=.
|
static Resolution |
op_Subtraction(Resolution a,
Resolution b)
Implements the operator -.
|
static Resolution |
to_Resolution(double value)
Performs an implicit conversion from
double to Resolution . |
static Resolution |
to_Resolution(float value)
Performs an implicit conversion from
float to Resolution . |
compareTo, equals, getValue, getValue, hashCode, initialize
equals, fromCentimeters, fromDegrees, fromDotsPerCentimeters, fromDotsPerInch, fromDotsPerPixel, fromGradians, fromHertz, fromInches, fromKiloHertz, fromMillimeters, fromMilliseconds, fromPicas, fromPixels, fromPoints, fromQuarterMillimeters, fromRadians, fromSeconds, fromTurns, getUnitType
public Resolution(double value, UnitType type)
Initializes a new instance of the Resolution
class.
value
- The value.type
- The type.public static Resolution to_Resolution(double value)
Performs an implicit conversion from double
to Resolution
.
value
- The value treated as dpi.public static Resolution to_Resolution(float value)
Performs an implicit conversion from float
to Resolution
.
value
- The value treated as dpi.public static Resolution op_Addition(Resolution a, Resolution b)
Implements the operator +.
a
- Parameter a.b
- Parameter b.com.aspose.html.internal.ms.System.ArgumentNullException
- Arguments are nullcom.aspose.html.internal.ms.System.ArgumentException
- Arguments have different types
or
Arguments have different resolution
orpublic static Resolution op_Subtraction(Resolution a, Resolution b)
Implements the operator -.
a
- The parameter a.b
- The parameter b.com.aspose.html.internal.ms.System.ArgumentNullException
- Arguments are nullcom.aspose.html.internal.ms.System.ArgumentException
- Arguments have different types
or
Arguments have different resolutions
orpublic static boolean op_LessThan(Resolution a, Resolution b)
Implements the operator <.
a
- The parameter a.b
- The parameter b.com.aspose.html.internal.ms.System.ArgumentException
- Arguments have different typescom.aspose.html.internal.ms.System.ArgumentNullException
- An argument is nullpublic static boolean op_GreaterThan(Resolution a, Resolution b)
Implements the operator >.
a
- The parameter a.b
- The parameter b.com.aspose.html.internal.ms.System.ArgumentException
- Arguments have different typescom.aspose.html.internal.ms.System.ArgumentNullException
- An argument is nullpublic static boolean op_LessThanOrEqual(Resolution a, Resolution b)
Implements the operator <=.
a
- The parameter a.b
- The parameter b.com.aspose.html.internal.ms.System.ArgumentException
- Arguments have different typescom.aspose.html.internal.ms.System.ArgumentNullException
- An argument is nullpublic static boolean op_GreaterThanOrEqual(Resolution a, Resolution b)
Implements the operator >=.
a
- The parameter a.b
- The parameter b.com.aspose.html.internal.ms.System.ArgumentException
- Arguments have different typescom.aspose.html.internal.ms.System.ArgumentNullException
- An argument is nullpublic static boolean op_Equality(Resolution a, Resolution b)
Implements the operator ==.
a
- The parameter a.b
- The parameter b.public static boolean op_Inequality(Resolution a, Resolution b)
Implements the operator !=.
a
- The parameter a.b
- The parameter b.