Document.ScratchArea Property (Publisher)

Returns a ScratchArea object for an a given document.

Syntax

expression. ScratchArea

expression A variable that represents a Document object.

Return Value

ScratchArea

Remarks

The ScratchArea object is a collection of objects on the scratch page. The ScratchArea object is not in the Pages collection because it is fundamentally not a page; its only similarity to a page is that it can contain objects.

Example

This example sets the variable object as the first shape on the scratch area of the active document.

Sub ScratchPad() 
 
 Dim saPage As ScratchArea 
 Dim objFirst As Object 
 
 saPage = Application.ActiveDocument.ScratchArea 
 objFirst = saPage.Shapes(1) 
 
End Sub