Class CalcEngineHelper
Used for CalcEngineHelper
Inheritance
System.Object
    CalcEngineHelper
  Namespace: Syncfusion.XlsIO.Calculate
Assembly: Syncfusion.XlsIO.Portable.dll
Syntax
public static class CalcEngineHelper : ObjectMethods
FromOADate(Double)
Returns a DateTime equivalent to the specified OLE Automation Date.
Declaration
public static DateTime FromOADate(double doubleOLEValue)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Double | doubleOLEValue | An OLE Automation Date value. | 
Returns
| Type | Description | 
|---|---|
| System.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 | 
|---|---|---|
| System.Collections.Generic.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 | 
|---|---|---|
| System.String | strValue | string to convert lower | 
| System.Globalization.CultureInfo | culture | CultureInfo | 
Returns
| Type | Description | 
|---|---|
| System.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 | 
|---|---|---|
| System.DateTime | inDateTime | 
Returns
| Type | Description | 
|---|---|
| System.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 | 
|---|---|---|
| System.String | strValue | lower case string | 
| System.Globalization.CultureInfo | culture | CultureInfo | 
Returns
| Type | Description | 
|---|---|
| System.String | Upper case string |