ImgCtlXHTML
ImgCtlXHTML
| Method | |
|---|---|
| (none) | |
| Property | |
|---|---|
| ImageBase64 | |
| ImageHex | |
| Licence | |
| ResizeToImage | |
The ImgCtlXHTML object is used to allow graphics images to be embedded within HTML documents as data instead of being referenced by URLs to external files. Images may be in a wide range of graphics formats, including PNG, GIF, TIFF, JPEG, and BMP. The image should be encoded using either Hex or Base64 strings. Base64 is preferred because it is more compact. The image data is embedded in the document by specifying the Class ID of the control and providing the encoded image data, e.g.
<pre><object classid="clsid:EFFD1818-3060-49a3-9C22-A06F57BBC167">
<param name="ImageBase64" value="R0lGO.....hXBWwICAD"/>
</object></pre>
In this example, the majority of the image data has been replaced with "….." for clarity.
Methods
None.
| None |
|---|
Properties
| Property | Property Type | Description |
|---|---|---|
ImageBase64 | String | Sets or gets the image text in Base64 format. |
ImageHex | String | Sets or gets the image text in hex format. |
Licence | Variant | Licence object or string. |
ResizeToImage | Boolean | Write-enable control resize on image change. |