Table of contents
TOC
折叠目录
展开目录

ScratchArea 对象 (发布服务器)ScratchArea Object (Publisher)

office 365 dev account|上次更新日期: 2018/3/13
|
3 参与人员

代表出版物页面边界以外的区域,可以在此存储版式元素而不影响出版物输出。Represents the area outside the boundaries of publication pages where layout elements may be stored with no effect on publication output.

示例Example

使用文档对象的ScratchArea属性返回的临时区域。使用ScratchArea对象的形状属性返回目前空闲区的形状的集合。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

名称Name
ApplicationApplication
ParentParent
ShapesShapes
© 2018 Microsoft