Aspose.Tasks for C++
Aspose::Tasks::Visualization::PageMargins Class Reference

Represents page margins for printing. More...

#include <PageMargins.h>

Inherits System::Object.

Public Member Functions

double get_Top () const
 Gets the size of the top margin in inches or centimeters. More...
 
void set_Top (double value)
 Sets the size of the top margin in inches or centimeters. More...
 
double get_Bottom () const
 Gets the size of the bottom margin in inches or centimeters. More...
 
void set_Bottom (double value)
 Sets the size of the bottom margin in inches or centimeters. More...
 
double get_Left () const
 Gets the size of the left margin in inches or centimeters. More...
 
void set_Left (double value)
 Sets the size of the left margin in inches or centimeters. More...
 
double get_Right () const
 Gets the size of the right margin in inches or centimeters. More...
 
void set_Right (double value)
 Sets the size of the right margin in inches or centimeters. More...
 
Border get_Borders () const
 Gets a position where to print borders. Can be one of the values of the Border enumeration. More...
 
void set_Borders (Border value)
 Sets a position where to print borders. Can be one of the values of the Border enumeration. More...
 

Detailed Description

Represents page margins for printing.

Member Function Documentation

◆ get_Borders()

Border Aspose::Tasks::Visualization::PageMargins::get_Borders ( ) const

Gets a position where to print borders. Can be one of the values of the Border enumeration.

◆ get_Bottom()

double Aspose::Tasks::Visualization::PageMargins::get_Bottom ( ) const

Gets the size of the bottom margin in inches or centimeters.

◆ get_Left()

double Aspose::Tasks::Visualization::PageMargins::get_Left ( ) const

Gets the size of the left margin in inches or centimeters.

◆ get_Right()

double Aspose::Tasks::Visualization::PageMargins::get_Right ( ) const

Gets the size of the right margin in inches or centimeters.

◆ get_Top()

double Aspose::Tasks::Visualization::PageMargins::get_Top ( ) const

Gets the size of the top margin in inches or centimeters.

◆ set_Borders()

void Aspose::Tasks::Visualization::PageMargins::set_Borders ( Border  value)

Sets a position where to print borders. Can be one of the values of the Border enumeration.

◆ set_Bottom()

void Aspose::Tasks::Visualization::PageMargins::set_Bottom ( double  value)

Sets the size of the bottom margin in inches or centimeters.

◆ set_Left()

void Aspose::Tasks::Visualization::PageMargins::set_Left ( double  value)

Sets the size of the left margin in inches or centimeters.

◆ set_Right()

void Aspose::Tasks::Visualization::PageMargins::set_Right ( double  value)

Sets the size of the right margin in inches or centimeters.

◆ set_Top()

void Aspose::Tasks::Visualization::PageMargins::set_Top ( double  value)

Sets the size of the top margin in inches or centimeters.