Page.Index property (Visio)
Gets or sets the ordinal position of a page in a Pages collection. Read/write.
Syntax
expression.Index
expression A variable that represents a Page object.
Return value
Integer
Remarks
In versions earlier than 2002, the Index property of the Page object was read-only.
The Pages collection is indexed starting with 1 rather than zero (0), so the index of the first element is 1, the index of the second element is 2, and so on. The index of the last element in a collection is the same as the value of that collection's Count property. You can iterate through a collection by using these index values. Adding objects to or deleting objects from a collection can change the index values of other objects in the collection.
You may only assign a new index to a foreground page. Background pages are unordered. Use the Background property to determine if a given page is a background page.
Use the BackPage property to assign a background page to a foreground page or to another background page.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기