xlnt
Public Member Functions | List of all members
xlnt::page_margins Class Reference

Describes the margins around a worksheet for printing. More...

#include <page_margins.hpp>

Public Member Functions

 page_margins ()
 Constructs a page margins objects with Excel-default margins. More...
 
double top () const
 Returns the top margin More...
 
void top (double top)
 Sets the top margin to top More...
 
double left () const
 Returns the left margin More...
 
void left (double left)
 Sets the left margin to left More...
 
double bottom () const
 Returns the bottom margin More...
 
void bottom (double bottom)
 Sets the bottom margin to bottom More...
 
double right () const
 Returns the right margin More...
 
void right (double right)
 Sets the right margin to right More...
 
double header () const
 Returns the header margin More...
 
void header (double header)
 Sets the header margin to header More...
 
double footer () const
 Returns the footer margin More...
 
void footer (double footer)
 Sets the footer margin to footer More...
 
bool operator== (const page_margins &rhs) const
 

Detailed Description

Describes the margins around a worksheet for printing.

Constructor & Destructor Documentation

◆ page_margins()

xlnt::page_margins::page_margins ( )

Constructs a page margins objects with Excel-default margins.

Member Function Documentation

◆ bottom() [1/2]

double xlnt::page_margins::bottom ( ) const

Returns the bottom margin

◆ bottom() [2/2]

void xlnt::page_margins::bottom ( double  bottom)

Sets the bottom margin to bottom

◆ footer() [1/2]

double xlnt::page_margins::footer ( ) const

Returns the footer margin

◆ footer() [2/2]

void xlnt::page_margins::footer ( double  footer)

Sets the footer margin to footer

◆ header() [1/2]

double xlnt::page_margins::header ( ) const

Returns the header margin

◆ header() [2/2]

void xlnt::page_margins::header ( double  header)

Sets the header margin to header

◆ left() [1/2]

double xlnt::page_margins::left ( ) const

Returns the left margin

◆ left() [2/2]

void xlnt::page_margins::left ( double  left)

Sets the left margin to left

◆ right() [1/2]

double xlnt::page_margins::right ( ) const

Returns the right margin

◆ right() [2/2]

void xlnt::page_margins::right ( double  right)

Sets the right margin to right

◆ top() [1/2]

double xlnt::page_margins::top ( ) const

Returns the top margin

◆ top() [2/2]

void xlnt::page_margins::top ( double  top)

Sets the top margin to top


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