public class PrintMargins extends TeeBase
Title: PrintMargins class
Description: Access to each Page Print Margin
Copyright (c) 2005-2013 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
chart, InternalUse
Constructor and Description |
---|
PrintMargins(IBaseChart chart,
int l,
int t,
int r,
int b)
Sets Left, Top, Right and Bottom Margins expressed as a percentage of
the paper dimendisions or as standard 1/100 inch printer units.
|
Modifier and Type | Method and Description |
---|---|
int |
getBottom()
Bottom margin as percentage of paper dimensions.
|
double |
getHeight() |
int |
getLeft()
Left margin as percentage of paper dimensions.
|
int |
getRight()
Right margin as percentage of paper dimensions.
|
int |
getTop()
Top margin as percentage of paper dimensions.
|
double |
getWidth() |
void |
setBottom(int value)
Sets Bottom margin as percentage of paper dimensions.
|
void |
setLeft(int value)
Sets Left margin as percentage of paper dimensions.
|
void |
setRight(int value)
Sets Right margin as percentage of paper dimensions.
|
void |
setTop(int value)
Sets Top margin as percentage of paper dimensions.
|
getChart, invalidate, setBooleanProperty, setChart, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
public PrintMargins(IBaseChart chart, int l, int t, int r, int b)
l
- intt
- intr
- intb
- intclass PrintMarginUnits
,
Printer.getProportional()
public int getLeft()
public void setLeft(int value)
value
- intpublic int getTop()
public void setTop(int value)
value
- intpublic int getRight()
public void setRight(int value)
value
- intpublic int getBottom()
public void setBottom(int value)
value
- intpublic double getHeight()
public double getWidth()