Source
This function configures the image that will be shown in the Bitmap Object.
Function Definition:
string Source {get; set;}
. get: Permits the user to read the string value.
. set: Permits the user to write the string value (not available when using dynamic images).
To configure this function, follow the steps below:
1. In an object event, configure the Source function: BitmapObjectName.Source("Image.png");
2. During the execution of RunTime, run the configured event.
Example Get:
In the graphic document, the user has one Bitmap object (named as GraphicObject1). In a Text-Box object (named as GraphicObject2) the user configures the MouseUp event with the following event:
GraphicObject2.Text = GraphicObject1.Source;
In this event, the GraphicObject2 will exhibit the name of the image configured in the bitmap object.
Example Set:
In the graphic document, the user has one Bitmap object (named as GraphicObject1). In a Button object (named as GraphicObject2) the user configures the MouseUp event with the following event:
GraphicObject1.Source = "Adisra.png";
In this event, the GraphicObject1 will load the Adisra.png image in the bitmap object.