PageSize
Inheritance: java.lang.Object
public class PageSize
Contains information about page size for the generated images.
Constructors
Constructor | Description |
---|---|
PageSize(int paperSizeFormat) | Initializes a new instance of this class that can be used to set page size for the generated images. |
PageSize(float width, float height) | Initializes a new instance of this class that can be used to set page size for the generated images. |
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getClass() | |
getHeight() | the page height in points for the the generated images. |
getPaperSizeFormat() | the paper size format for the generated images. |
getWidth() | the page width in points for the the generated images. |
hashCode() | |
notify() | |
notifyAll() | |
setHeight(float value) | For the description of this property, please see getHeight() |
setPaperSizeFormat(int value) | For the description of this property, please see getPaperSizeFormat() |
setWidth(float value) | For the description of this property, please see getWidth() |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
PageSize(int paperSizeFormat)
public PageSize(int paperSizeFormat)
Initializes a new instance of this class that can be used to set page size for the generated images.
Parameters:
Parameter | Type | Description |
---|---|---|
paperSizeFormat | int | Can be Aspose.Diagram.Saving.PaperSizeFormat. |
PageSize(float width, float height)
public PageSize(float width, float height)
Initializes a new instance of this class that can be used to set page size for the generated images.
Parameters:
Parameter | Type | Description |
---|---|---|
width | float | Page width in points for the the generated images. |
height | float | Page height in points for the the generated images. |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getHeight()
public float getHeight()
the page height in points for the the generated images. The value must be > 0. If Height is set,Width must be set too.
Returns: float
getPaperSizeFormat()
public int getPaperSizeFormat()
the paper size format for the generated images. Can be Aspose.Diagram.Saving.PaperSizeFormat.
Returns: int
getWidth()
public float getWidth()
the page width in points for the the generated images. The value must be > 0. If Width is set, Height must be set too.
Returns: float
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setHeight(float value)
public void setHeight(float value)
For the description of this property, please see getHeight()
Parameters:
Parameter | Type | Description |
---|---|---|
value | float |
setPaperSizeFormat(int value)
public void setPaperSizeFormat(int value)
For the description of this property, please see getPaperSizeFormat()
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setWidth(float value)
public void setWidth(float value)
For the description of this property, please see getWidth()
Parameters:
Parameter | Type | Description |
---|---|---|
value | float |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |