Edit

Share via


Pages Interface

Definition

A collection of pages in a document. Use the Pages collection and the related objects and properties for programmatically defining page layout in a workbook.

public interface class Pages : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("000244A3-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface Pages : System.Collections.IEnumerable
Public Interface Pages
Implements IEnumerable
Attributes
Implements

Remarks

Use the Pages property to return a Pages collection.

Use the Item[Object] property to access an individual Pageobject that represents an individual page in a worksheet. The following example accesses the first page in the active worksheet.

Properties

_Default[Object]

Reserved for internal use.

Count

Returns the number of objects in the collection. Read-only Integer.

Item[Object]

Returns a Page object that represents a collection of pages in a workbook. Read-only.

Methods

GetEnumerator()

Applies to