OverviewExamples
table PDF.GetProperties ( |
-- Get the state of the scrollbars.
bShowScrollbars = PDF.GetProperties("PDF1").ShowScrollbars;
-- If scrollbars are not visible, show them, otherwise notify user.
if (not bShowScrollbars) then
PDF.SetProperties("PDF1", {ShowScrollbars=true});
else
Dialog.Message("PDF", "Scrollbars are already visible.");
end
If scrollbars are not visible in the "PDF1" PDF object, they are made visible, otherwise a notification message is shown.
See also: Related Actions