CellsHelper Class

CellsHelper class

Provides helper functions.


type CellsHelper struct  {
	ptr unsafe.Pointer
}

Constructors

MethodDescription

Methods

MethodDescription
CellsHelper_GetSignificantDigitsGets and sets the number of significant digits.The default value is 17.
CellsHelper_SetSignificantDigitsGets and sets the number of significant digits.The default value is 17.
CellsHelper_GetDPIGets the DPI of the machine.
CellsHelper_SetDPIGets the DPI of the machine.
CellsHelper_GetTextWidthGet width of text in unit of points.
CellsHelper_GetVersionGet the release version.
CellsHelper_CellNameToIndexGets the cell row and column indexes according to its name.
CellsHelper_CellIndexToNameGets cell name according to its row and column indexes.
CellsHelper_ColumnIndexToNameGets column name according to column index.
CellsHelper_ColumnNameToIndexGets column index according to column name.
CellsHelper_RowIndexToNameGets row name according to row index.
CellsHelper_RowNameToIndexGets row index according to row name.
CellsHelper_GetDateTimeFromDoubleConvert the double value to the date time value.
CellsHelper_GetDoubleFromDateTimeConvert the date time to double value.
CellsHelper_GetStartupPathGets or sets the startup path, which is referred to by some external formula references.
CellsHelper_SetStartupPathGets or sets the startup path, which is referred to by some external formula references.
CellsHelper_GetAltStartPathGets or sets the alternate startup path, which is referred to by some external formula references.
CellsHelper_SetAltStartPathGets or sets the alternate startup path, which is referred to by some external formula references.
CellsHelper_GetLibraryPathGets or sets the library path which is referred to by some external formula references.
CellsHelper_SetLibraryPathGets or sets the library path which is referred to by some external formula references.
CellsHelper_CreateSafeSheetName_StringChecks given sheet name and create a valid one when needed.If given sheet name conforms to the rules of excel sheet name, then return it.Otherwise string will be truncated if length exceeds the limitand invalid characters will be replaced with ’ ‘, then return the rebuilt string value.
CellsHelper_CreateSafeSheetName_String_CharChecks given sheet name and create a valid one when needed.If given sheet name conforms to the rules of excel sheet name, then return it.Otherwise string will be truncated if length exceeds the limitand invalid characters will be replaced with given character, then return the rebuilt string value.
CellsHelper_NeedQuoteInFormulaIndicates whether the name of the sheet should be enclosed in single quotes
CellsHelper_IsCloudPlatformPlease set this property True when running on a cloud platform, such as: Azure, AWSLambda, etc,
CellsHelper_SetIsCloudPlatformPlease set this property True when running on a cloud platform, such as: Azure, AWSLambda, etc,