|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.barcode.Resolution
public final class Resolution
The resolution infomation of the barcode image
Constructor Summary | |
---|---|
Resolution(float dpix,
float dpiy,
int mode)
Initialize an instance of ResolutionResolution . |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Determines whether two ResolutionResolution instances are equal. |
float |
getDpiX()
Gets or sets the horizontal resolution |
float |
getDpiY()
* Gets or sets the vertical resolution |
int |
getMode()
Gets or sets the ResolutionModemode of the resolution |
int |
hashCode()
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
static boolean |
op_Equality(Resolution left,
Resolution right)
Determines whether two ResolutionResolution instances are equal. |
static boolean |
op_Inequality(Resolution left,
Resolution right)
Determines whether two ResolutionResolution instances are not equal. |
void |
setDpiX(float value)
|
void |
setDpiY(float value)
|
void |
setMode(int value)
|
String |
toString()
Returns a String that represents the current ResolutionResolution instance. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Resolution(float dpix, float dpiy, int mode)
ResolutionResolution
.
dpix
- The horizontal resolution.dpiy
- The vertical resolution.mode
- The ResolutionModeResolutionMode
.Method Detail |
---|
public float getDpiX()
Gets or sets the horizontal resolution
com.aspose.ms.System.IllegalArgumentException
- The DpiX parameter value is less than 0.
public void setDpiX(float value)
public float getDpiY()
com.aspose.ms.System.IllegalArgumentException
- The DpiY parameter value is less than 0.
public void setDpiY(float value)
public int getMode()
ResolutionModemode
of the resolution
public void setMode(int value)
public String toString()
ResolutionResolution
instance.
toString
in class Object
System.StringString
that represents the current Object.public static boolean op_Equality(Resolution left, Resolution right)
ResolutionResolution
instances are equal.
left
- The ResolutionResolution
instance on the leftright
- The ResolutionResolution
instance on the right
true
if the left ResolutionResolution
instances is equal to the right one; otherwise, false
.public static boolean op_Inequality(Resolution left, Resolution right)
ResolutionResolution
instances are not equal.
left
- The ResolutionResolution
instance on the leftright
- The ResolutionResolution
instance on the right
false
if the left ResolutionResolution
instances is equal to the right one; otherwise, true
.public boolean equals(Object obj)
ResolutionResolution
instances are equal.
equals
in class Object
obj
- The ResolutionResolution
instance on the left
true
if the left ResolutionResolution
instances is equal to the right one; otherwise, false
.public int hashCode()
hashCode
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |