#include <GsPageParams.h>
This class stores printing page size and margins.
- See also
- TD_Gs
<group OdGs_Classes>
Definition at line 42 of file GsPageParams.h.
◆ OdGsPageParams() [1/3]
OdGsPageParams::OdGsPageParams |
( |
| ) |
|
|
inline |
Default constructor for the OdGsPageParams class. Sets the following data members:
member Value Description m_dPaperWidth 210. Paper width of the page. m_dPaperHeight 297. Paper height of the page. m_dLeftMargin 0. Left margin of the page. m_dRightMargin 0. Right margin of the page. m_dTopMargin 0. Top margin of the page. m_dBottomMargin 0. Bottom margin of the page.
Definition at line 64 of file GsPageParams.h.
◆ OdGsPageParams() [2/3]
OdGsPageParams::OdGsPageParams |
( |
double |
dPaperWidth, |
|
|
double |
dPaperHeight |
|
) |
| |
|
inline |
Constructor for the OdGsPageParams class. Sets the specified page width and height. Page margin parameters are set to 0.
- Parameters
-
dPaperWidth | [in] Page width. |
dPaperHeight | [in] Page height. |
Definition at line 80 of file GsPageParams.h.
◆ ~OdGsPageParams()
OdGsPageParams::~OdGsPageParams |
( |
| ) |
|
|
inline |
◆ OdGsPageParams() [3/3]
Copy constructor for the OdGsPageParams class. Copies the passed object with page parameters.
- Parameters
-
data | [in] Page parameters object to copy. |
Definition at line 102 of file GsPageParams.h.
◆ getBottomMargin()
double OdGsPageParams::getBottomMargin |
( |
| ) |
const |
|
inline |
◆ getLeftMargin()
double OdGsPageParams::getLeftMargin |
( |
| ) |
const |
|
inline |
◆ getPaperHeight()
double OdGsPageParams::getPaperHeight |
( |
| ) |
const |
|
inline |
◆ getPaperWidth()
double OdGsPageParams::getPaperWidth |
( |
| ) |
const |
|
inline |
◆ getRightMargin()
double OdGsPageParams::getRightMargin |
( |
| ) |
const |
|
inline |
◆ getTopMargin()
double OdGsPageParams::getTopMargin |
( |
| ) |
const |
|
inline |
◆ operator=()
Assignment operator for the OdGsPageParams class.
- Parameters
-
from | [in] Object from which to assign page parameters. |
Definition at line 112 of file GsPageParams.h.
◆ scale()
void OdGsPageParams::scale |
( |
double |
dScale | ) |
|
|
inline |
◆ set()
void OdGsPageParams::set |
( |
double |
dPaperWidth, |
|
|
double |
dPaperHeight, |
|
|
double |
dLeftMargin = 0. , |
|
|
double |
dRightMargin = 0. , |
|
|
double |
dTopMargin = 0. , |
|
|
double |
dBottomMargin = 0. |
|
) |
| |
|
inline |
Sets page parameters.
- Parameters
-
dPaperWidth | [in] Page width. |
dPaperHeight | [in] Page height. |
dLeftMargin | [in] Left margin of the page. |
dRightMargin | [in] Right margin of the page. |
dTopMargin | [in] Top margin of the page. |
dBottomMargin | [in] Bottom margin of the page. |
Definition at line 163 of file GsPageParams.h.
The documentation for this class was generated from the following file: