VPageBreaks 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 vertical page breaks within the print area. Each vertical page break is represented by a VPageBreak object.
public interface class VPageBreaks : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("00024405-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface VPageBreaks : System.Collections.IEnumerable
Public Interface VPageBreaks
Implements IEnumerable
- Attributes
- Implements
Remarks
Use the VPageBreaks property to return the VPageBreaks collection. Use the Add(Object) method to add a vertical page break.
If you add a page break that does not intersect the print area, then the newly-added VPageBreak object will not appear in the VPageBreaks collection for the print area. The contents of the collection may change if the print area is resized or redefined.
When the Application property, Count property, Creator property, Item[Int32] property, Parent property or Add(Object) method is used in conjunction with the VPageBreaks property:
For an automatic print area, the VPageBreaks property applies only to the page breaks within the print area.
For a user-defined print area of the same range, the VPageBreaks property applies to all of the page breaks.
Properties
_Default[Int32] |
Reserved for internal use. |
Application |
Returns an Application object that represents the Microsoft Excel application. |
Count |
Returns the number of objects in the collection. |
Creator |
Returns a 32-bit integer that indicates the application in which this object was created. |
Item[Int32] |
Returns a single object from a collection. |
Parent |
Returns the parent object for the specified object. |
Methods
Add(Object) |
Adds a vertical page break. Returns a VPageBreak object. |
GetEnumerator() |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應