Pages Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應