Application.SetPageProperties

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