AutoPlay Media Studio 9

PDF.GetProperties

PDF.GetProperties

This is the first topic This is the last topic  

PDF.GetProperties

This is the first topic This is the last topic  

OverviewExamples

table PDF.GetProperties (

string ObjectName )

Example 1

-- 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


Learn More: Indigo Rose Software - AutoPlay Media Studio - Buy Now - Contact Us