CFx SDK Documentation  2020SP3
Public Member Functions | List of all members
OdGsPageParams Class Reference

#include <GsPageParams.h>

Public Member Functions

 OdGsPageParams ()
 
 OdGsPageParams (double dPaperWidth, double dPaperHeight)
 
 ~OdGsPageParams ()
 
 OdGsPageParams (const OdGsPageParams &data)
 
OdGsPageParamsoperator= (const OdGsPageParams &from)
 
double getPaperWidth () const
 
double getPaperHeight () const
 
double getLeftMargin () const
 
double getRightMargin () const
 
double getTopMargin () const
 
double getBottomMargin () const
 
void set (double dPaperWidth, double dPaperHeight, double dLeftMargin=0., double dRightMargin=0., double dTopMargin=0., double dBottomMargin=0.)
 
void scale (double dScale)
 

Detailed Description

This class stores printing page size and margins.

Remarks
All values are in millimeters.
See also
TD_Gs

<group OdGs_Classes>

Definition at line 42 of file GsPageParams.h.

Constructor & Destructor Documentation

◆ OdGsPageParams() [1/3]

OdGsPageParams::OdGsPageParams ( )
inline

Definition at line 52 of file GsPageParams.h.

◆ OdGsPageParams() [2/3]

OdGsPageParams::OdGsPageParams ( double  dPaperWidth,
double  dPaperHeight 
)
inline

Definition at line 62 of file GsPageParams.h.

◆ ~OdGsPageParams()

OdGsPageParams::~OdGsPageParams ( )
inline

Definition at line 72 of file GsPageParams.h.

◆ OdGsPageParams() [3/3]

OdGsPageParams::OdGsPageParams ( const OdGsPageParams data)
inline

Definition at line 76 of file GsPageParams.h.

Member Function Documentation

◆ getBottomMargin()

double OdGsPageParams::getBottomMargin ( ) const
inline

Definition at line 97 of file GsPageParams.h.

◆ getLeftMargin()

double OdGsPageParams::getLeftMargin ( ) const
inline

Definition at line 94 of file GsPageParams.h.

◆ getPaperHeight()

double OdGsPageParams::getPaperHeight ( ) const
inline

Definition at line 93 of file GsPageParams.h.

◆ getPaperWidth()

double OdGsPageParams::getPaperWidth ( ) const
inline

Definition at line 92 of file GsPageParams.h.

◆ getRightMargin()

double OdGsPageParams::getRightMargin ( ) const
inline

Definition at line 95 of file GsPageParams.h.

◆ getTopMargin()

double OdGsPageParams::getTopMargin ( ) const
inline

Definition at line 96 of file GsPageParams.h.

◆ operator=()

OdGsPageParams& OdGsPageParams::operator= ( const OdGsPageParams from)
inline

Definition at line 81 of file GsPageParams.h.

◆ scale()

void OdGsPageParams::scale ( double  dScale)
inline

Definition at line 137 of file GsPageParams.h.

◆ set()

void OdGsPageParams::set ( double  dPaperWidth,
double  dPaperHeight,
double  dLeftMargin = 0.,
double  dRightMargin = 0.,
double  dTopMargin = 0.,
double  dBottomMargin = 0. 
)
inline

Definition at line 99 of file GsPageParams.h.


The documentation for this class was generated from the following file: