New to Telerik UI for WinForms? Start a free 30-day trial

Definition

Namespace:Telerik.WinControls.Export

Assembly:TelerikExport.dll

Syntax:

C#
public class ExportUtils

Inheritance: objectExportUtils

Constructors

C#
public ExportUtils()

Methods

Check if visual style settings comes from theme.

C#
public static bool CheckSourceOfVisualSettings(RadElement element)
Parameters:elementRadElement

Element to check

Returns:

bool

True if visual settings come from theme

Converts a color to a hexadecimal value for use within HTML

C#
public static string ColorToHex(Color color)
Parameters:colorColor

The color to convert

Returns:

string

A hex value, including '#'

Convert ContentAlignment to HorizontalAlignmentType

C#
public static HorizontalAlignmentType ConvertContentAligmentH(ContentAlignment alignment)
Parameters:alignmentContentAlignment

ContentAlignment

Returns:

HorizontalAlignmentType

Telerik.WinControls.UI.Export.HorizontalAligmentType

Convert ContentAignment to VerticalAlignmentType

C#
public static VerticalAlignmentType ConvertContentAligmentV(ContentAlignment alignment)
Parameters:alignmentContentAlignment

ContentAlignment

Returns:

VerticalAlignmentType

Telerik.WinControls.UI.Export.VerticalAlignmentType

C#
public static HorizontalAlignmentType ConvertHorizontalAlign(HorizontalAlign horizontalAlign)
Parameters:horizontalAlignHorizontalAlignReturns:

HorizontalAlignmentType

Convert the rotation degrees to text orientation.

C#
public static Orientation ConvertRotationDegreesToTextOrientation(int degrees)
Parameters:degreesintReturns:

Orientation

Convert the text orientation to rotation degrees.

C#
public static int ConvertTextOrientationToRotationDegrees(Orientation orientation)
Parameters:orientationOrientationReturns:

int

C#
public static string GetHorizontalAligment(ContentAlignment alignment)
Parameters:alignmentContentAlignmentReturns:

string

C#
public static string GetVerticalAlignment(ContentAlignment alignment)
Parameters:alignmentContentAlignmentReturns:

string