ChangeImageSource
This function configures the image that will be shown in the specific property in the MultiTagViewer.
Function Definition:
void ChangeImageSource( int line, string key, string newSource );
. int line: A integer parameter containing the line of the MultiTagViewer.
. String key: A String parameter containing the property name.
. String NewSource: A String parameter containing the new image source for the property.
To configure this function, follow the steps below:
1. In an object event, configure the ChangeImageSource function: MultiTagViewerObjectName.ChangeImageSource(index, Property, "Image.png");
2. During the execution of RunTime, run the configured event.
Example:
In the graphic document, the user has one MultiTagViewer object (named as GraphicObject1). In a Button object (named as GraphicObject2) the user configures the MouseUp event with the following event:
GraphicObject1.ChangeImageSource(0, "Logo_Value", "Adisra.png");
In this event, the property Logo has changed the image to the image set in the parameter Adisra.png.
|
Note: This property exists only to the following objects: |