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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.