DataObject.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.
public:
virtual void SetImage(System::Drawing::Image ^ image);
public virtual void SetImage (System.Drawing.Image image);
abstract member SetImage : System.Drawing.Image -> unit
override this.SetImage : System.Drawing.Image -> unit
Public Overridable Sub SetImage (image As Image)
Parameters
Exceptions
image
is null
.
Remarks
To retrieve image data from the data object, first use the ContainsImage method to determine whether the data object contains image data before retrieving it with the GetImage method.
Applies to
See also
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.