Share via


ScratchArea Object [Publisher 2003 VBA Language Reference]

Document
ScratchArea
Shapes

Represents the area outside the boundaries of publication pages where layout elements may be stored with no effect on publication output.

Using the ScratchArea object

Use the ScratchArea property of the Document object to return a scratch area. Use the Shapes property of the ScratchArea object to return the collection of shapes that are currently on a scratch area.

This example assigns the first shape on the scratch area of the active document to a variable.

Dim saPage As ScratchArea
Dim objFirst As Object

saPage = Application.ActiveDocument.ScratchArea
objFirst = saPage.Shapes(1)

Properties | Application Property | Parent Property | Shapes Property

Parent Objects | Document Object

Child Objects | Shapes Object