DataObject.GetImage 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.
Retrieves an image from the data object.
public:
virtual System::Drawing::Image ^ GetImage();
public virtual System.Drawing.Image GetImage ();
public virtual System.Drawing.Image? GetImage ();
abstract member GetImage : unit -> System.Drawing.Image
override this.GetImage : unit -> System.Drawing.Image
Public Overridable Function GetImage () As Image
Returns
An Image representing the image data in the data object or null
if the data object does not contain any data that is in the Bitmap format or can be converted to that format.
Remarks
Use the ContainsImage method to determine whether the data object contains image data before retrieving it with this method.
Use the SetImage method to add image data to the data object.
Applies to
See also
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za