com.steema.teechart.printer
Class PrintMargins

java.lang.Object
  extended by com.steema.teechart.TeeBase
      extended by com.steema.teechart.printer.PrintMargins
All Implemented Interfaces:
java.io.Serializable

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.steema.teechart.TeeBase
chart, InternalUse
 
Constructor Summary
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.
 
Method Summary
 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.
 
Methods inherited from class com.steema.teechart.TeeBase
getChart, invalidate, setBooleanProperty, setChart, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintMargins

public 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.

Parameters:
l - int
t - int
r - int
b - int
See Also:
class PrintMarginUnits, Printer.getProportional()
Method Detail

getLeft

public int getLeft()
Left margin as percentage of paper dimensions.

Returns:
int

setLeft

public void setLeft(int value)
Sets Left margin as percentage of paper dimensions.

Parameters:
value - int

getTop

public int getTop()
Top margin as percentage of paper dimensions.

Returns:
int

setTop

public void setTop(int value)
Sets Top margin as percentage of paper dimensions.

Parameters:
value - int

getRight

public int getRight()
Right margin as percentage of paper dimensions.

Returns:
int

setRight

public void setRight(int value)
Sets Right margin as percentage of paper dimensions.

Parameters:
value - int

getBottom

public int getBottom()
Bottom margin as percentage of paper dimensions.

Returns:
int

setBottom

public void setBottom(int value)
Sets Bottom margin as percentage of paper dimensions.

Parameters:
value - int

getHeight

public double getHeight()

getWidth

public double getWidth()