Class CalcEngineHelper
Used for CalcEngineHelper
Inherited Members
Namespace: Syncfusion.XlsIO.Calculate
Assembly: Syncfusion.XlsIO.NET.dll
Syntax
public static class CalcEngineHelper
Methods
FromOADate(double)
Returns a DateTime equivalent to the specified OLE Automation Date.
Declaration
public static DateTime FromOADate(double doubleOLEValue)
Parameters
| Type | Name | Description |
|---|---|---|
| double | doubleOLEValue | An OLE Automation Date value. |
Returns
| Type | Description |
|---|---|
| DateTime | An object that represents the same date and time as d. |
ToArray<T>(IEnumerable<T>)
Copies the elements of the System.Collections.Generic.List to a new array.
Declaration
public static T[] ToArray<T>(this IEnumerable<T> enumObject)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<T> | enumObject | Object of IEnumerable |
Returns
| Type | Description |
|---|---|
| T[] | An array containing copies of the elements of the System.Collections.Generic.List. |
Type Parameters
| Name | Description |
|---|---|
| T | The type of element in the list |
ToLower(string, CultureInfo)
make all char in lower case
Declaration
public static string ToLower(this string strValue, CultureInfo culture)
Parameters
| Type | Name | Description |
|---|---|---|
| string | strValue | string to convert lower |
| CultureInfo | culture | CultureInfo |
Returns
| Type | Description |
|---|---|
| string | Lower case string |
ToOADate(DateTime)
Converts the value of this instance to the equivalent OLE Automation date.
Declaration
public static double ToOADate(this DateTime inDateTime)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime | inDateTime |
Returns
| Type | Description |
|---|---|
| double | A double-precision floating-point number that contains an OLE Automation date equivalent to the value of this instance. |
ToUpper(string, CultureInfo)
make all char in uppper case
Declaration
public static string ToUpper(this string strValue, CultureInfo culture)
Parameters
| Type | Name | Description |
|---|---|---|
| string | strValue | lower case string |
| CultureInfo | culture | CultureInfo |
Returns
| Type | Description |
|---|---|
| string | Upper case string |