Freigeben über


PictureBox.CopyPicture-Methode

Kopiert PictureBox als Bild in die Zwischenablage.

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

Syntax

'Declaration
Public Function CopyPicture ( _
    Appearance As XlPictureAppearance, _
    Format As XlCopyPictureFormat _
) As Object
public Object CopyPicture(
    XlPictureAppearance Appearance,
    XlCopyPictureFormat Format
)

Parameter

Rückgabewert

Typ: System.Object
true , wenn der Kopiervorgang erfolgreich war; andernfalls false.

Hinweise

Optionale Parameter

Informationen zu optionalen Parametern finden Sie unter Optionale Parameter in Office-Lösungen.

Beispiele

Ein Codebeispiel, in dem die Verwendung dieser Methode veranschaulicht wird, finden Sie unter Button.CopyPicture.Alle Steuerelemente im Microsoft.Office.Tools.Excel.Controls-Namespace verfügen über eine CopyPicture-Methode mit entsprechenden Funktionen.

.NET Framework-Sicherheit

Siehe auch

Referenz

PictureBox Klasse

Microsoft.Office.Tools.Excel.Controls-Namespace