PictureBox.PrintObject Property
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 PictureBox 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
true
if the PictureBox is printed when the worksheet is printed; otherwise, false
.
- Attributes
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.
Продукт | Версии |
---|---|
Visual Studio Tools for Office | 2017, 2019, 2022 |