AutoPlay Media Studio 9

Application.SetPageProperties

Application.SetPageProperties

This is the first topic This is the last topic  

Application.SetPageProperties

This is the first topic This is the last topic  

OverviewExamples

Application.SetPageProperties (

string PageName,

table   Properties )

Example 1

-- Create a table containing the properties to set for the page.

tbPageProperties = {};

tbPageProperties.Description = "Page1 Test Description";

tbPageProperties.Keywords = {"Apple","Orange","Pear"};

nNewColor = Math.HexColorToNumber("FF0000");

tbPageProperties.BackgroundColor = nNewColor;

 

-- Set the page's properties.

Application.SetPageProperties("Page1", tbPageProperties);

Sets the description, keywords and background color of the page named "Page1."

Note: This example assumes you have a page called "Page1" that currently has a gradient background color.

See also: Related Actions


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