Partilhar via


ChartSheet.PrintedCommentPages Property

Gets the number of comment pages that will be printed for the current chart sheet.

Namespace:  Microsoft.Office.Tools.Excel
Assemblies:   Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)
  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

Syntax

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

Property Value

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

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 ChartSheet 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

ChartSheet Interface

Microsoft.Office.Tools.Excel Namespace