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
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.