Drawings.ActiveSheetIndex Property

Gets or sets the active sheet index.
Public Property ActiveSheetIndex() As Integer
This language is not supported or no code example is available.
public int ActiveSheetIndex {get; set;}
This language is not supported or no code example is available.

Property Value

int
Exception type Condition

EyeshotException

Thrown when an element with the specified name does not exist in the collection or the name is null.

Remarks
 

When a Sheet is set as active, its entities are shared with the Drawings one.

Since the drawings collection is modified, this method can't be called inside a loop.

.NET Framework

Supported in: 4.8

In this article

Definition