Gets the collection of print areas in a or a worksheet's print settings in a .
Inheritance
object
Implements
- ICollection<WorksheetRegion>
- IEnumerable<WorksheetRegion>
- IEnumerable
Properties
Section titled "Properties"Count
Section titled "Count"Gets the number of print areas in the collection.
public int Count { get; } this[int]
Section titled "this[int]"Gets the print area at the specified index.
public WorksheetRegion this[int index] { get; } Methods
Section titled "Methods"Add(WorksheetRegion)
Section titled "Add(WorksheetRegion)"Adds a print area to the collection.
public void Add(WorksheetRegion printArea) Parameters
- printArea:
WorksheetRegion
Returns any
Clear()
Section titled "Clear()"Clears all print areas from the collection.
public void Clear() Returns any
Contains(WorksheetRegion)
Section titled "Contains(WorksheetRegion)"Determines whether the specified print area is in the collection.
public bool Contains(WorksheetRegion printArea) Parameters
- printArea:
WorksheetRegion
Returns any
Remove(WorksheetRegion)
Section titled "Remove(WorksheetRegion)"Removes the specified print area from the collection.
public bool Remove(WorksheetRegion printArea) Parameters
- printArea:
WorksheetRegion
Returns any
RemoveAt(int)
Section titled "RemoveAt(int)"Removes the print area at the specified index from the collection.
public void RemoveAt(int index) Parameters
- index:
int