TreeView.PrintObject Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates whether the TreeView is printed when the worksheet is printed.
public:
property bool PrintObject { bool get(); void set(bool value); };
[System.ComponentModel.Browsable(false)]
public bool PrintObject { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.PrintObject : bool with get, set
Public Property PrintObject As Boolean
Property Value
true
if the TreeView is printed when the worksheet is printed; otherwise, false
.
- Attributes
Examples
For a code example that demonstrates how to use this property, see Microsoft.Office.Tools.Excel.Controls.Button.PrintObject. All controls in the Microsoft.Office.Tools.Excel.Controls namespace have a functionally equivalent PrintObject
property.