Visual Basic (Declaration) | |
---|---|
Public Property Image As RasterImage |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public RasterImage Image {get; set;} |
Managed Extensions for C++ | |
---|---|
public: __property RasterImage get_Image(); public: __property void set_Image( RasterImage value ); |
C++/CLI | |
---|---|
public: property RasterImage Image { RasterImage get(); void set (RasterImage value); } |
Return Value
The image to be displayed.For XAML example, refer to RasterImageViewer.
For C#/VB examples, refer to RasterImageViewer.
Set this property to a RasterImage object and the control will display it based on the current settings of the other properties of this class.
When setting or getting this property the object will be converted to or from an ImageSource, which is available through the Source property.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family