Gets the collection of print areas in a or a worksheet's print settings in a .

Inheritance

Implements
  • ICollection<WorksheetRegion>
  • IEnumerable<WorksheetRegion>
  • IEnumerable

Gets the number of print areas in the collection.

public int Count { get; }

Gets the print area at the specified index.

public WorksheetRegion this[int index] { get; }

Adds a print area to the collection.

public void Add(WorksheetRegion printArea)

Parameters

  • printArea: WorksheetRegion

Returns any

Clears all print areas from the collection.

public void Clear()

Returns any

Determines whether the specified print area is in the collection.

public bool Contains(WorksheetRegion printArea)

Parameters

  • printArea: WorksheetRegion

Returns any

Removes the specified print area from the collection.

public bool Remove(WorksheetRegion printArea)

Parameters

  • printArea: WorksheetRegion

Returns any

Removes the print area at the specified index from the collection.

public void RemoveAt(int index)

Parameters

  • index: int

Returns any