Share via


ScratchArea Object

Publisher Developer Reference

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

Example

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.

Visual Basic for Applications
  Dim saPage As ScratchArea
Dim objFirst As Object

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

See Also