ChartSheetBase.PrintedCommentPages Property
Gets the number of comment pages that will be printed for the current chart sheet. This property can be used only in Excel 2010 projects.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)
Syntax
'Declaration
Public ReadOnly Property PrintedCommentPages As Integer
public 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.