FarPoint.Win Assembly / FarPoint.Win Namespace / ElementWindowless Class / Picture Property
Example


In This Topic
Picture Property (ElementWindowless)
In This Topic
Gets or sets the picture for the element.
Syntax
'Declaration
 
Public Overridable Property Picture As Image
 
'Usage
 
Dim instance As ElementWindowless
Dim value As Image
 
instance.Picture = value
 
value = instance.Picture
Example
control.Picture = Image.FromFile("d:\overlay.bmp");
control.MarginTop = 3;
control.MarginBottom = 3;
control.PictureTransparencyColor = Color.Blue;
See Also