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

Represents printing settings for a page of project view. More...

#include <PageSettings.h>

Inherits System::Object.

Public Member Functions

bool get_IsPortrait () const
 Gets a value indicating whether the page orientation is portrait; returns false if the page orientation is landscape. More...
 
void set_IsPortrait (bool value)
 Sets a value indicating whether the page orientation is portrait; returns false if the page orientation is landscape. More...
 
bool get_AdjustToPercentOfNormalSize () const
 Gets a value indicating whether to adjust printing to the specified percentage (PercentOfNormalSize) of normal size. More...
 
void set_AdjustToPercentOfNormalSize (bool value)
 Sets a value indicating whether to adjust printing to the specified percentage (PercentOfNormalSize) of normal size. More...
 
int32_t get_PercentOfNormalSize () const
 Gets a percentage of normal size to adjust printing to. More...
 
void set_PercentOfNormalSize (int32_t value)
 Sets a percentage of normal size to adjust printing to. More...
 
int32_t get_PagesInWidth () const
 Gets a number of pages in width to be printed. More...
 
void set_PagesInWidth (int32_t value)
 Sets a number of pages in width to be printed. More...
 
int32_t get_PagesInHeight () const
 Gets a number of pages in height to be printed. More...
 
void set_PagesInHeight (int32_t value)
 Sets a number of pages in height to be printed. More...
 
PrinterPaperSize get_PaperSize ()
 Gets a paper size. Can be one of the values of the PrinterPaperSize enumeration. More...
 
void set_PaperSize (PrinterPaperSize value)
 Sets a paper size. Can be one of the values of the PrinterPaperSize enumeration. More...
 
int32_t get_PaperSizeId () const
 Gets an integer representing one of the PrinterPaperSize values or a custom page size id. This value can be used to get PaperSize from OS settings
See also
T:System::Drawing::Printing::PrinterSettings::PaperSizes
. More...
 
void set_PaperSizeId (int32_t value)
 Sets an integer representing one of the PrinterPaperSize values or a custom page size id. This value can be used to get PaperSize from OS settings
See also
T:System::Drawing::Printing::PrinterSettings::PaperSizes
. More...
 
int16_t get_FirstPageNumber () const
 Gets a first page number for printing. More...
 
void set_FirstPageNumber (int16_t value)
 Sets a first page number for printing. More...
 
 PageSettings ()
 Initializes a new instance of the PageSettings class. Represents printing settings for a page of project view. More...
 

Detailed Description

Represents printing settings for a page of project view.

Constructor & Destructor Documentation

◆ PageSettings()

Aspose::Tasks::Visualization::PageSettings::PageSettings ( )

Initializes a new instance of the PageSettings class. Represents printing settings for a page of project view.

Member Function Documentation

◆ get_AdjustToPercentOfNormalSize()

bool Aspose::Tasks::Visualization::PageSettings::get_AdjustToPercentOfNormalSize ( ) const

Gets a value indicating whether to adjust printing to the specified percentage (PercentOfNormalSize) of normal size.

Is not effective when project is rendered in HTML format.

◆ get_FirstPageNumber()

int16_t Aspose::Tasks::Visualization::PageSettings::get_FirstPageNumber ( ) const

Gets a first page number for printing.

◆ get_IsPortrait()

bool Aspose::Tasks::Visualization::PageSettings::get_IsPortrait ( ) const

Gets a value indicating whether the page orientation is portrait; returns false if the page orientation is landscape.

Is applicable during rendering when SaveOptions.PageSize == Visualization.PageSize.DefinedInView.

◆ get_PagesInHeight()

int32_t Aspose::Tasks::Visualization::PageSettings::get_PagesInHeight ( ) const

Gets a number of pages in height to be printed.

◆ get_PagesInWidth()

int32_t Aspose::Tasks::Visualization::PageSettings::get_PagesInWidth ( ) const

Gets a number of pages in width to be printed.

◆ get_PaperSize()

PrinterPaperSize Aspose::Tasks::Visualization::PageSettings::get_PaperSize ( )

Gets a paper size. Can be one of the values of the PrinterPaperSize enumeration.

◆ get_PaperSizeId()

int32_t Aspose::Tasks::Visualization::PageSettings::get_PaperSizeId ( ) const

Gets an integer representing one of the PrinterPaperSize values or a custom page size id. This value can be used to get PaperSize from OS settings

See also
T:System::Drawing::Printing::PrinterSettings::PaperSizes
.

◆ get_PercentOfNormalSize()

int32_t Aspose::Tasks::Visualization::PageSettings::get_PercentOfNormalSize ( ) const

Gets a percentage of normal size to adjust printing to.

◆ set_AdjustToPercentOfNormalSize()

void Aspose::Tasks::Visualization::PageSettings::set_AdjustToPercentOfNormalSize ( bool  value)

Sets a value indicating whether to adjust printing to the specified percentage (PercentOfNormalSize) of normal size.

Is not effective when project is rendered in HTML format.

◆ set_FirstPageNumber()

void Aspose::Tasks::Visualization::PageSettings::set_FirstPageNumber ( int16_t  value)

Sets a first page number for printing.

◆ set_IsPortrait()

void Aspose::Tasks::Visualization::PageSettings::set_IsPortrait ( bool  value)

Sets a value indicating whether the page orientation is portrait; returns false if the page orientation is landscape.

Is applicable during rendering when SaveOptions.PageSize == Visualization.PageSize.DefinedInView.

◆ set_PagesInHeight()

void Aspose::Tasks::Visualization::PageSettings::set_PagesInHeight ( int32_t  value)

Sets a number of pages in height to be printed.

◆ set_PagesInWidth()

void Aspose::Tasks::Visualization::PageSettings::set_PagesInWidth ( int32_t  value)

Sets a number of pages in width to be printed.

◆ set_PaperSize()

void Aspose::Tasks::Visualization::PageSettings::set_PaperSize ( PrinterPaperSize  value)

Sets a paper size. Can be one of the values of the PrinterPaperSize enumeration.

◆ set_PaperSizeId()

void Aspose::Tasks::Visualization::PageSettings::set_PaperSizeId ( int32_t  value)

Sets an integer representing one of the PrinterPaperSize values or a custom page size id. This value can be used to get PaperSize from OS settings

See also
T:System::Drawing::Printing::PrinterSettings::PaperSizes
.

◆ set_PercentOfNormalSize()

void Aspose::Tasks::Visualization::PageSettings::set_PercentOfNormalSize ( int32_t  value)

Sets a percentage of normal size to adjust printing to.