Pages

SetPageBackground

Purpose:

Change a page's background color or wallpaper.

Category:

Pages

Syntax:

ShowPageBackground "page title" "style" "color1" "color2" "wallpaper file" "options"

page title

The title of the page to modify.

style

One of the following:


Solid

The page background will be a single solid color.

Gradient

The page background will be a gradient - a blending of two colors.

Wallpaper

Use an image file as the page background.

color1

If style is Solid, this is the page background color. If style is Gradient this is the top/left color in the gradient. (See Defining Colors.) If style is Wallpaper, this parameter is ignored.

color2

If style is Gradient this is the bottom/right color in the gradient. (See Defining Colors.) If style is Solid or Wallpaper, this parameter is ignored.

wallpaper file

If style is Wallpaper, this is the name of the image file for the page background. If style is Solid or Gradient, this parameter is ignored.

options

If style is Gradient, this is the direction of the gradient - either Horzontal or Vertical. If style is Wallpaper, this is the image display mode and may be one of the following:


Tile

If the image is smaller than the page, it will be duplicated (tiled) as many times as needed to fill the page.

Center

The image will be centered within the page's boundaries.

Stretch

The image will be stretched to fit the dimensions of the page.


If style is Solid, this parameter is ignored.

Example:

SetPageBackground "New Page" "Solid" "248,208,168" "" "" ""


SetPageEffect

Purpose:

Change a page's transition effect.

Category:

Pages

Syntax:

SetPageEffect "page title" "effect" "speed"

page title

The title of the page to modify.

effect

One of the following:


None, Dissolve, Slide Left, Slide Right, Slide Up, Slide Down, Explode, Implode, Weave Horizontal, Weave Vertical, Split Horizontal, Split Vertical, Wipe Left, Wipe Right, Wipe Up, Wipe Down, Circle, Grow, Blocks, Checkerboard, Block Dissolve, Fade or Page Turn.

speed

The effect’s speed (0 = fastest, 10 = slowest).

Example:

SetPageEffect "Main" "Fade" "2"


ShowMasterPage

Purpose:

Display objects from the Master Page.

Category:

Pages

Syntax:

ShowMasterPage "page title"

page title

The title of the page to modify.

Example:

ShowMasterPage "Contents"


HideMasterPage

Purpose:

Hide objects from the Master Page.

Category:

Pages

Syntax:

HideMasterPage "page title"

page title

The title of the page to modify.

Example:

HideMasterPage "Contents"