OmrPage

Inheritance: java.lang.Object

public class OmrPage

Represents single omr page

Constructors

ConstructorDescription
OmrPage()Initializes a new instance of the OmrPage class

Methods

MethodDescription
addBarcodeElement(BarcodeElement element)
addChoiceBoxElement(String name, int width, int height, int top, int left)Add choice box element on page
addClipAreaElement(String name, int width, int height, int top, int left)
addGridElement(GridElement grid)
addGridElement(String name, int width, int height, int top, int left)
addRefPointElement(ReferencePointElement item)
equals(Object arg0)
getClass()
getElements()Gets or sets list of elements on page
getHeight()Gets or sets page height
getImageFormat()Gets or sets the image file format
getImageName()Gets or sets the image data
getWidth()Gets or sets page width
hashCode()
notify()
notifyAll()
setElements(System.Collections.Generic.List value)Gets or sets list of elements on page
setHeight(double value)Gets or sets page height
setImageFormat(String value)Gets or sets the image file format
setImageName(String value)Gets or sets the image name
setWidth(double value)Gets or sets page width
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

OmrPage()

public OmrPage()

Initializes a new instance of the OmrPage class

addBarcodeElement(BarcodeElement element)

public final void addBarcodeElement(BarcodeElement element)

Parameters:

ParameterTypeDescription
elementBarcodeElement

addChoiceBoxElement(String name, int width, int height, int top, int left)

public final ChoiceBoxElement addChoiceBoxElement(String name, int width, int height, int top, int left)

Add choice box element on page

Parameters:

ParameterTypeDescription
namejava.lang.StringElement name
widthintElement width
heightintElement height
topintElement top position
leftintElement left position

Returns: ChoiceBoxElement - Created choice box

addClipAreaElement(String name, int width, int height, int top, int left)

public final ClipAreaElement addClipAreaElement(String name, int width, int height, int top, int left)

Parameters:

ParameterTypeDescription
namejava.lang.String
widthint
heightint
topint
leftint

Returns: ClipAreaElement

addGridElement(GridElement grid)

public final void addGridElement(GridElement grid)

Parameters:

ParameterTypeDescription
gridGridElement

addGridElement(String name, int width, int height, int top, int left)

public final GridElement addGridElement(String name, int width, int height, int top, int left)

Parameters:

ParameterTypeDescription
namejava.lang.String
widthint
heightint
topint
leftint

Returns: GridElement

addRefPointElement(ReferencePointElement item)

public final void addRefPointElement(ReferencePointElement item)

Parameters:

ParameterTypeDescription
itemReferencePointElement

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

getElements()

public final System.Collections.Generic.List<OmrElement> getElements()

Gets or sets list of elements on page

Returns: com.aspose.ms.System.Collections.Generic.List<com.aspose.omr.OmrElement> - list of elements on page

getHeight()

public final double getHeight()

Gets or sets page height

Returns: double - page height

getImageFormat()

public final String getImageFormat()

Gets or sets the image file format

Returns: java.lang.String - the image file format

getImageName()

public final String getImageName()

Gets or sets the image data

Returns: java.lang.String - the image name

getWidth()

public final double getWidth()

Gets or sets page width

Returns: double - page width

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setElements(System.Collections.Generic.List value)

public final void setElements(System.Collections.Generic.List<OmrElement> value)

Gets or sets list of elements on page

Parameters:

ParameterTypeDescription
valuecom.aspose.ms.System.Collections.Generic.List<com.aspose.omr.OmrElement>list of elements on page

setHeight(double value)

public final void setHeight(double value)

Gets or sets page height

Parameters:

ParameterTypeDescription
valuedoublepage height

setImageFormat(String value)

public final void setImageFormat(String value)

Gets or sets the image file format

Parameters:

ParameterTypeDescription
valuejava.lang.Stringthe image file format

setImageName(String value)

public final void setImageName(String value)

Gets or sets the image name

Parameters:

ParameterTypeDescription
valuejava.lang.Stringimage name

setWidth(double value)

public final void setWidth(double value)

Gets or sets page width

Parameters:

ParameterTypeDescription
valuedoublepage width

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