Edit this page

Telerik.Web.UI.GridExcelBuilder.Utils

Utilily class. Provides helpful methods for ExcelML units conversion.

Inheritance Hierarchy

  • System.Object
  • Telerik.Web.UI.GridExcelBuilder.Utils

Methods

ConvertColor

Converts Color object to HTML color string

Parameters

color System.Drawing.Color

Color object

Returns

System.String HTML-coded color string

ConvertHorizontalAlign

Converts ASP.NET HorizontalAlign to ExcelML HorizontalAlignmentType

Parameters

horizontalAlign System.Web.UI.WebControls.HorizontalAlign

HorizontalAlign value

Returns

Telerik.Web.UI.GridExcelBuilder.HorizontalAlignmentType HorizontalAlignmentType value

ConvertUnitsToPoints

Converts Unit values to point (UnitType.Point)

Parameters

unit System.Web.UI.WebControls.Unit

Unit value

Returns

System.Double Point value (double)

Is this article helpful? No Yes
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy