Image element (Thmutil extension)
Defines an image which can be shared between multiple controls. If alternates are provided, the dimensions of the destination rectangle are compared to all of the available sources:
- If there is an exact match for width and height then that source will be used (no scaling required).
- If there is not an exact match then the smallest source whose width and height are larger or equal to the destination will be used and downscaled.
- If there is still no match then the largest source will be used and upscaled.
Parents
Children
Attributes
Id (String, required) : Identifier for the Image.
ImageFile (String) : Relative path to an image file for the control. Mutually exclusive with ImageResource attribute.
ImageResource (xs:nonNegativeInteger) : Identifier that references an image resource with type RT_RCDATA in the module for the control. Mutually exclusive with ImageFile attribute.