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

Represents a page legend which is used for project printing. More...

#include <PageLegend.h>

Inherits Aspose::Tasks::Visualization::HeaderFooterInfo.

Public Member Functions

Legend get_LegendOn () const
 Gets the pages on which the legend appears. Can be one of the values of the Legend enumeration. More...
 
void set_LegendOn (Legend value)
 Sets the pages on which the legend appears. Can be one of the values of the Legend enumeration. More...
 
double get_Width () const
 Gets the width of the left part (containing project's name and date by default) of the legend in centimeters. More...
 
void set_Width (double value)
 Sets the width of the left part (containing project's name and date by default) of the legend in centimeters. More...
 

Detailed Description

Represents a page legend which is used for project printing.

Member Function Documentation

◆ get_LegendOn()

Legend Aspose::Tasks::Visualization::PageLegend::get_LegendOn ( ) const

Gets the pages on which the legend appears. Can be one of the values of the Legend enumeration.

◆ get_Width()

double Aspose::Tasks::Visualization::PageLegend::get_Width ( ) const

Gets the width of the left part (containing project's name and date by default) of the legend in centimeters.

Exceptions
ArgumentOutOfRangeExceptionWhen attempting to set to a value less than 0.

◆ set_LegendOn()

void Aspose::Tasks::Visualization::PageLegend::set_LegendOn ( Legend  value)

Sets the pages on which the legend appears. Can be one of the values of the Legend enumeration.

◆ set_Width()

void Aspose::Tasks::Visualization::PageLegend::set_Width ( double  value)

Sets the width of the left part (containing project's name and date by default) of the legend in centimeters.

Exceptions
ArgumentOutOfRangeExceptionWhen attempting to set to a value less than 0.