ClassExportUtils
Definition
Namespace:Telerik.WinControls.Export
Assembly:TelerikExport.dll
Syntax:
public class ExportUtils
Inheritance: objectExportUtils
Constructors
ExportUtils()
Declaration
public ExportUtils()
Methods
CheckSourceOfVisualSettings(RadElement)
Check if visual style settings comes from theme.
Declaration
public static bool CheckSourceOfVisualSettings(RadElement element)
Parameters
element
Element to check
Returns
True if visual settings come from theme
ColorToHex(Color)
Converts a color to a hexadecimal value for use within HTML
ConvertContentAligmentH(ContentAlignment)
Convert ContentAlignment to HorizontalAlignmentType
Declaration
public static HorizontalAlignmentType ConvertContentAligmentH(ContentAlignment alignment)
Parameters
alignment
ContentAlignment
Returns
Telerik.WinControls.UI.Export.HorizontalAligmentType
ConvertContentAligmentV(ContentAlignment)
Convert ContentAignment to VerticalAlignmentType
Declaration
public static VerticalAlignmentType ConvertContentAligmentV(ContentAlignment alignment)
Parameters
alignment
ContentAlignment
Returns
Telerik.WinControls.UI.Export.VerticalAlignmentType
ConvertHorizontalAlign(HorizontalAlign)
Declaration
public static HorizontalAlignmentType ConvertHorizontalAlign(HorizontalAlign horizontalAlign)
Parameters
horizontalAlign
Returns
ConvertRotationDegreesToTextOrientation(int)
Convert the rotation degrees to text orientation.
Declaration
public static Orientation ConvertRotationDegreesToTextOrientation(int degrees)
Parameters
degrees
Returns
ConvertTextOrientationToRotationDegrees(Orientation)
Convert the text orientation to rotation degrees.
Declaration
public static int ConvertTextOrientationToRotationDegrees(Orientation orientation)
Parameters
orientation
Returns
GetHorizontalAligment(ContentAlignment)
Declaration
public static string GetHorizontalAligment(ContentAlignment alignment)
Parameters
alignment
Returns
GetVerticalAlignment(ContentAlignment)
Declaration
public static string GetVerticalAlignment(ContentAlignment alignment)
Parameters
alignment
Returns