OmrPage
Inheritance: java.lang.Object
public class OmrPage
Represents single omr page
Constructors
Constructor | Description |
---|---|
OmrPage() | Initializes a new instance of the OmrPage class |
Methods
OmrPage()
public OmrPage()
Initializes a new instance of the OmrPage class
addBarcodeElement(String name, int width, int height, int top, int left)
public final BarcodeElement addBarcodeElement(String name, int width, int height, int top, int left)
Parameters:
Parameter | Type | Description |
---|---|---|
name | java.lang.String | |
width | int | |
height | int | |
top | int | |
left | int |
Returns: BarcodeElement
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:
Parameter | Type | Description |
---|---|---|
name | java.lang.String | Element name |
width | int | Element width |
height | int | Element height |
top | int | Element top position |
left | int | Element 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:
Parameter | Type | Description |
---|---|---|
name | java.lang.String | |
width | int | |
height | int | |
top | int | |
left | int |
Returns: ClipAreaElement
addGridElement(GridElement grid)
public final void addGridElement(GridElement grid)
Parameters:
Parameter | Type | Description |
---|---|---|
grid | GridElement |
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:
Parameter | Type | Description |
---|---|---|
name | java.lang.String | |
width | int | |
height | int | |
top | int | |
left | int |
Returns: GridElement
addRefPointElement(ReferencePointElement item)
public final void addRefPointElement(ReferencePointElement item)
Parameters:
Parameter | Type | Description |
---|---|---|
item | ReferencePointElement |
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
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:
Parameter | Type | Description |
---|---|---|
value | com.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:
Parameter | Type | Description |
---|---|---|
value | double | page height |
setImageFormat(String value)
public final void setImageFormat(String value)
Gets or sets the image file format
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | the image file format |
setImageName(String value)
public final void setImageName(String value)
Gets or sets the image name
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | image name |
setWidth(double value)
public final void setWidth(double value)
Gets or sets page width
Parameters:
Parameter | Type | Description |
---|---|---|
value | double | page 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:
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 |