A sheet in a Mirosoft Excel workbook that displays a single chart.

Inheritance

object

Inherited from: Sheet

Returns a boolean indicating if the Sheet has been protected with a password.

public bool HasProtectionPassword { get; }

Inherited from: Sheet

Returns a boolean indicating if the Worksheet has been protected.

public bool IsProtected { get; }

Inherited from: Sheet

Gets or sets the sheet name.

public string Name { get; set; }

Inherited from: Sheet

Gets the value which indicates whether this worksheet is selected.

public bool Selected { get; }

Inherited from: Sheet

Gets the zero-based index of this sheet in its parent collection.

public int SheetIndex { get; }

Inherited from: Sheet

Gets or sets the to use for the associated sheet's tab in the tab bar of Microsoft Excel.

public WorkbookColorInfo TabColorInfo { get; set; }

Inherited from: Sheet

Gets the that owns the worksheet.

public Workbook Workbook { get; }

Returns the displayed in this chartsheet.

public WorksheetChart Chart { get; }

Gets the object which controls the display of the chartsheet.

public ChartsheetDisplayOptions DisplayOptions { get; }

Gets or sets the background image for the worksheet.

public ImageWrapper ImageBackground { get; set; }

Gets the object which controls how the chartsheet prints.

public ChartsheetPrintOptions PrintOptions { get; }

Returns an object that provides information used when the Chartsheet has been protected.

public ChartsheetProtection Protection { get; }

Returns Chartsheet

public override SheetType Type { get; }

Inherited from: Sheet

Attempts to use the specified password to remove the WorkSheet protection currently in place.

public void Unprotect(string password)

Parameters

  • password: string

Returns any

Inherited from: Sheet

Attempts to use the specified password to remove the Sheet protection currently in place.

public void Unprotect(SecureString password)

Parameters

  • password: SecureString

Returns any

Inherited from: Sheet

Moves the sheet to a new position in the owning workbook's collections of sheets.

public void MoveToSheetIndex(int index)

Parameters

  • index: int

Returns any

Inherited from: Sheet

Removes the Sheet protection.

public void Unprotect()

Returns any

Protects the chartsheet without a password.

public void Protect(bool? allowEditObjects = null, bool? allowEditContents = null)

Parameters

  • allowEditObjects: bool?
  • allowEditContents: bool?

Returns any

Protect(SecureString, bool?, bool?)

Section titled "Protect(SecureString, bool?, bool?)"

Protects the Chartsheet with the specified password.

public void Protect(SecureString password, bool? allowEditObjects = null, bool? allowEditContents = null)

Parameters

  • password: SecureString
  • allowEditObjects: bool?
  • allowEditContents: bool?

Returns any

Protects the Chartsheet with the specified password.

public void Protect(string password, bool? allowEditObjects = null, bool? allowEditContents = null)

Parameters

  • password: string
  • allowEditObjects: bool?
  • allowEditContents: bool?

Returns any