Share via


Chart.PrintedCommentPages Property

Gets the number of comment pages that will be printed for the current chart. This property can be used only in Excel 2010 projects.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

Syntax

'Declaration
ReadOnly Property PrintedCommentPages As Integer
    Get
int PrintedCommentPages { get; }

Property Value

Type: System.Int32
The number of comment pages that will be printed for the current chart.

Exceptions

Exception Condition
MissingMemberException

This property is used in an Excel 2007 project.

Remarks

Because charts and chart sheets do not support comments, the PrintedCommentPages property of the Chart object will always return zero.

Note

This property appears in IntelliSense in Excel 2007 projects that target the .NET Framework 4. However, this property cannot be used in Excel 2007 projects.

.NET Framework Security

See Also

Reference

Chart Interface

Microsoft.Office.Tools.Excel Namespace