Skip to content

TWebImageZoomControl

Description

Below is a list of the most important properties methods and events for TWebImageZoomControl. TWebImageZoomControl can display an image on the form and display a zoomed-in image version in a popup when it is clicked.

Designtime Runtime

HTML template tag

The HTML tag the component can be associated with in an HTML template. Assign the ID attribute with a unique value and set the identical value to the ElementID property. Detailed information can be found in the Use of HTML templates topic.

HTML tag <IMG ID=”UniqueID”>
ElementID UniqueID

Properties for TWebImageZoomControl

Property Description
Appearance
AutoSize When true, the size of the control automatically adapts to the size of the image it contains
ElementClassName Optionally sets the CSS classname for the label when styling via CSS is used
ElementID Optionally sets the HTML element ID for a HTML element in the form HTML file the label needs to be connected with. When connected, no new label is created but the Delphi class is connected with the existing HTML element in the form HTML file
Picture Sets the picture at design time. Note that the image is automatically deployed by the compiling process to a separate image file with a unique name.
PictureZoom Sets the zoom picture at design time. Note that the image is automatically deployed by the compiling process to a separate image file with a unique name.
URL Specifies the image as an URL
URLZoom Specifies the zoom image that is displayed when the image is clicked as an URL

Events for TWebImageZoomControl

Event Description
OnClick Event triggered when the image is clicked
OnDblClick Event triggered when the image is doubleclicked