DesktopHTMLViewer.ZoomTextOut

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
Method


HTMLViewer.ZoomTextOut()

New in 2021r3

Supported for all project types and targets.

Reduces the size of the text used to display the HTML page content. You can use ZoomTextOut several times.

Notes

The reverse action is achieved with the ZoomTextIn method.

Example

This example is the Action event of a SegmentedControl:

If itemIndex = 0 Then
HtmlViewer1.ZoomTextIn
ElseIf itemIndex = 1 Then
HtmlViewer1.ZoomTextOut
End If