BerndGabriel / HtmlViewer

The well-known Delphi/Lazarus HtmlViewer/FrameViewer
Other
398 stars 147 forks source link

Get Content Height #263

Closed mezen closed 5 years ago

mezen commented 5 years ago

Hi,

is it possibile to get the height of a loaded content? I want to show multiple controls, each should has the height of the content (or a predefined max height).

Kind Regards, mezen

BerndGabriel commented 5 years ago

Yes it is: The content height in pixels is given in read only property THtmlViewer.MaxVertical. The content width in pixels is given in read only property THtmlViewer.ScrollWidth.