DesktopHTMLViewer.ZoomTextIn

From Xojo Documentation

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


HTMLViewer.ZoomTextIn()

New in 2021r3

Supported for all project types and targets.

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

Notes

The reverse action is achieved with the ZoomTextOut method.

Example

This example is the Pressed event of a DesktopSegmentedButton:

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