|
Aspose.Tasks for C++
|
Represents printing settings for a page of project view. More...
#include <PageSettings.h>
Inherits 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
| |
| 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
| |
| 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... | |
Represents printing settings for a page of project view.
| Aspose::Tasks::Visualization::PageSettings::PageSettings | ( | ) |
Initializes a new instance of the PageSettings class. Represents printing settings for a page of project view.
| 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.
| int16_t Aspose::Tasks::Visualization::PageSettings::get_FirstPageNumber | ( | ) | const |
Gets a first page number for printing.
| 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.
| int32_t Aspose::Tasks::Visualization::PageSettings::get_PagesInHeight | ( | ) | const |
Gets a number of pages in height to be printed.
| int32_t Aspose::Tasks::Visualization::PageSettings::get_PagesInWidth | ( | ) | const |
Gets a number of pages in width to be printed.
| PrinterPaperSize Aspose::Tasks::Visualization::PageSettings::get_PaperSize | ( | ) |
Gets a paper size. Can be one of the values of the PrinterPaperSize enumeration.
| 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
| int32_t Aspose::Tasks::Visualization::PageSettings::get_PercentOfNormalSize | ( | ) | const |
Gets a percentage of normal size to adjust printing to.
| 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.
| void Aspose::Tasks::Visualization::PageSettings::set_FirstPageNumber | ( | int16_t | value | ) |
Sets a first page number for printing.
| 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.
| void Aspose::Tasks::Visualization::PageSettings::set_PagesInHeight | ( | int32_t | value | ) |
Sets a number of pages in height to be printed.
| void Aspose::Tasks::Visualization::PageSettings::set_PagesInWidth | ( | int32_t | value | ) |
Sets a number of pages in width to be printed.
| void Aspose::Tasks::Visualization::PageSettings::set_PaperSize | ( | PrinterPaperSize | value | ) |
Sets a paper size. Can be one of the values of the PrinterPaperSize enumeration.
| 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
| void Aspose::Tasks::Visualization::PageSettings::set_PercentOfNormalSize | ( | int32_t | value | ) |
Sets a percentage of normal size to adjust printing to.