ClipboardProxy.SetImage(Image) Method
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.
Writes an image to the Clipboard.
public:
void SetImage(System::Drawing::Image ^ image);
public void SetImage (System.Drawing.Image image);
member this.SetImage : System.Drawing.Image -> unit
Public Sub SetImage (image As Image)
Parameters
Examples
This example writes the image coolPicture
to the Clipboard.
My.Computer.Clipboard.SetImage(coolPicture)
This example depends on the existence of the image coolPicture
.
Remarks
Important
Because the Clipboard can be accessed by other users, do not use it to store sensitive information, such as passwords or confidential data.
Availability by Project Type
Project type | Available |
---|---|
Windows Application | Yes |
Class Library | Yes |
Console Application | Yes |
Windows Control Library | Yes |
Web Control Library | No |
Windows Service | Yes |
Web Site | No |
Applies to
See also
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.