public class OmrPage extends Object
Represents single omr page
Constructor and Description |
---|
OmrPage()
Initializes a new instance of the
OmrPage class
|
Modifier and Type | Method and Description |
---|---|
BarcodeElement |
addBarcodeElement(String name,
int width,
int height,
int top,
int left) |
ChoiceBoxElement |
addChoiceBoxElement(String name,
int width,
int height,
int top,
int left)
Add choice box element on page
|
ClipAreaElement |
addClipAreaElement(String name,
int width,
int height,
int top,
int left) |
void |
addGridElement(GridElement grid) |
GridElement |
addGridElement(String name,
int width,
int height,
int top,
int left) |
void |
addRefPointElement(ReferencePointElement item) |
com.aspose.ms.System.Collections.Generic.List<OmrElement> |
getElements()
Gets or sets list of elements on page
|
double |
getHeight()
Gets or sets page height
|
String |
getImageFormat()
Gets or sets the image file format
|
String |
getImageName()
Gets or sets the image data
|
double |
getWidth()
Gets or sets page width
|
void |
setElements(com.aspose.ms.System.Collections.Generic.List<OmrElement> value)
Gets or sets list of elements on page
|
void |
setHeight(double value)
Gets or sets page height
|
void |
setImageFormat(String value)
Gets or sets the image file format
|
void |
setImageName(String value)
Gets or sets the image name
|
void |
setWidth(double value)
Gets or sets page width
|
public OmrPage()
Initializes a new instance of the OmrPage
class
public final double getHeight()
Gets or sets page height
public final void setHeight(double value)
Gets or sets page height
value
- page heightpublic final double getWidth()
Gets or sets page width
public final void setWidth(double value)
Gets or sets page width
value
- page widthpublic final com.aspose.ms.System.Collections.Generic.List<OmrElement> getElements()
Gets or sets list of elements on page
public final void setElements(com.aspose.ms.System.Collections.Generic.List<OmrElement> value)
Gets or sets list of elements on page
value
- list of elements on pagepublic final String getImageName()
Gets or sets the image data
public final void setImageName(String value)
Gets or sets the image name
value
- image namepublic final String getImageFormat()
Gets or sets the image file format
public final void setImageFormat(String value)
Gets or sets the image file format
value
- the image file formatpublic final ChoiceBoxElement addChoiceBoxElement(String name, int width, int height, int top, int left)
Add choice box element on page
name
- Element namewidth
- Element widthheight
- Element heighttop
- Element top positionleft
- Element left positionpublic final void addGridElement(GridElement grid)
public final GridElement addGridElement(String name, int width, int height, int top, int left)
public final BarcodeElement addBarcodeElement(String name, int width, int height, int top, int left)
public final ClipAreaElement addClipAreaElement(String name, int width, int height, int top, int left)
public final void addRefPointElement(ReferencePointElement item)