Modifier and Type | Field and Description |
---|---|
static BBjNumber |
INCH_UNITS
Constant that represents that inches should be used for units
|
static BBjNumber |
MM_UNITS
Constant that represents that millimeters should be used for units
|
Constructor and Description |
---|
BBJasperPrintMediaSizeName(BBjNumber p_x,
BBjNumber p_y,
BBjNumber p_units)
Constructs a BBJasperMediaSizeName given an x, y, and units
|
BBJasperPrintMediaSizeName(MediaSizeName p_mediaSizeName!)
Constructs a BBJasperMediaSizeName given a MediaSizeName object
|
Modifier and Type | Method and Description |
---|---|
static BBJasperPrintMediaSizeName |
getISO_A3()
Creates and returns a media sized name object that contains ISO A3 media name information
|
static BBJasperPrintMediaSizeName |
getISO_A4()
Creates and returns a media sized name object that contains ISO A4 media name information
|
MediaSizeName |
getMediaSizeName()
Returns the media size name object
|
static BBJasperPrintMediaSizeName |
getNA_Ledger()
Creates and returns a media sized name object that contains NA Ledger media name information
|
static BBJasperPrintMediaSizeName |
getNA_Legal()
Creates and returns a media sized name object that contains NA Legal media name information
|
static BBJasperPrintMediaSizeName |
getNA_Letter()
Creates and returns a media sized name object that contains NA Letter media name information
|
public static BBjNumber INCH_UNITS
public static BBjNumber MM_UNITS
public BBJasperPrintMediaSizeName(MediaSizeName p_mediaSizeName!)
p_mediaSizeName!
- MediaSizeName object that contains media size name informationpublic BBJasperPrintMediaSizeName(BBjNumber p_x, BBjNumber p_y, BBjNumber p_units)
p_x
- Specifies the X that will be used to find the mediap_y
- Specifies the Y that will be used to find the mediap_units
- Specifies the units that will be used to find the media, this value should be INCH_UNITS or MM_UNITSpublic MediaSizeName getMediaSizeName()
public static BBJasperPrintMediaSizeName getISO_A3()
public static BBJasperPrintMediaSizeName getISO_A4()
public static BBJasperPrintMediaSizeName getNA_Letter()
public static BBJasperPrintMediaSizeName getNA_Legal()
public static BBJasperPrintMediaSizeName getNA_Ledger()