OLEObject.PrintObject Property (2007 System)

Gets or sets a value that indicates whether the OLEObject is printed when the document is printed.

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

Syntax

'Declaration
Public Property PrintObject As Boolean
'Usage
Dim instance As OLEObject 
Dim value As Boolean 

value = instance.PrintObject

instance.PrintObject = value
public bool PrintObject { get; set; }
public:
property bool PrintObject {
    bool get ();
    void set (bool value);
}
public function get PrintObject () : boolean 
public function set PrintObject (value : boolean)

Property Value

Type: System.Boolean
true if the OLEObject is printed when the document is printed; otherwise, false.

.NET Framework Security

See Also

Reference

OLEObject Class

OLEObject Members

Microsoft.Office.Tools.Excel Namespace