PageSize

Inheritance: java.lang.Object

public class PageSize

Contains information about page size for the generated images.

Constructors

ConstructorDescription
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

MethodDescription
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:

ParameterTypeDescription
paperSizeFormatintCan 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:

ParameterTypeDescription
widthfloatPage width in points for the the generated images.
heightfloatPage height in points for the the generated images.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.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:

ParameterTypeDescription
valuefloat

setPaperSizeFormat(int value)

public void setPaperSizeFormat(int value)

For the description of this property, please see getPaperSizeFormat()

Parameters:

ParameterTypeDescription
valueint

setWidth(float value)

public void setWidth(float value)

For the description of this property, please see getWidth()

Parameters:

ParameterTypeDescription
valuefloat

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int