XlsAddInFunction module

class XlsAddInFunction.XlsAddInFunction

Bases: XlsObject, IAddInFunction, ICloneParent

Represents an add-in function in Excel.

This class provides properties and methods for manipulating add-in functions, including accessing and modifying function name and indexes. It extends XlsObject and implements the IAddInFunction and ICloneParent interfaces.

property BookIndex: int

Gets or sets the book index of the add-in function.

Returns:

The book index of the add-in function.

Return type:

int

Clone(parent: SpireObject) SpireObject

Creates a new object that is a copy of the current instance.

Parameters:

parent (SpireObject) – Parent object for a copy of this instance.

Returns:

A new object that is a copy of this instance.

Return type:

SpireObject

property Name: str

Gets the name of the add-in function.

Returns:

The name of the add-in function.

Return type:

str

property NameIndex: int

Gets or sets the name index of the add-in function.

Returns:

The name index of the add-in function.

Return type:

int