Article Details
| Id: | 11987 |
| Product: | finPOWER Connect |
| Type: | NEW |
| Version: | 2.01.00 |
| Opened: | 09/06/2014 |
| Closed: | 18/06/2014 |
| Released: | 27/06/2014 |
| Job: | J013413 |
Page Sets; Image type Page Object added
Page Sets now support an 'Image' type Page Object.
The Image can define either the file name or URL of the image to display and also has the option of embedding this image meaning that a reference to the file or URL is not required; the image data is stored within the Page Set.
Images support a Click event and the Image's file name and size mode can be changed from the Page Set Script.
The following sample updated an Image's property and handles the Image's Click event:
Public Sub cmdTest_Click(sender As Object, e As finPageObjectClickEventArgs) Handles cmdTest.Click'imgTest.ImageFileName = "c:\logo.png"imgTest.ImageFileName = "http://www.intersoft.co.nz/images/intersoft.gif"imgTest.ImageSizeMode = isefinPageObjectImageSizeMode.ZoomEnd SubPublic Sub imgTest_Click(sender As Object, e As finPageObjectClickEventArgs) Handles imgTest.ClickmUI.MsgBox("Image clicked!", MsgBoxStyle.Information)End Sub
NOTE: The ReadOnly and Caption properties of Image Type Page Objects (finPageObjectImage) are inherited properties but are not applicable to Images.