Skip to main content

BarGaugeExportBuilder Methods

Provides methods that allow you to configure nested options of the client-side export object.
Name Description
BackgroundColor(JS) Specifies the color that will fill transparent regions in the resulting file or document. Mirrors the client-side backgroundColor option.
BackgroundColor(String) Specifies the color that will fill transparent regions in the resulting file or document. Mirrors the client-side backgroundColor option.
Enabled(JS) Enables the client-side exporting in the UI component. Mirrors the client-side enabled option.
Enabled(Boolean) Enables the client-side exporting in the UI component. Mirrors the client-side enabled option.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
FileName(JS) Specifies a default name for the file to which the UI component will be exported. Mirrors the client-side fileName option.
FileName(String) Specifies a default name for the file to which the UI component will be exported. Mirrors the client-side fileName option.
Formats(IEnumerable<ExportFormat>) Specifies a set of export formats. Mirrors the client-side formats option.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
Margin(JS) Adds an empty space around the exported UI component; measured in pixels. Mirrors the client-side margin option.
Margin(Double) Adds an empty space around the exported UI component; measured in pixels. Mirrors the client-side margin option.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Option(String, Object) Specifies an option by its name.
PrintingEnabled(JS) Enables the printing feature in the UI component. Applies only if the export.enabled property is true. Mirrors the client-side printingEnabled option.
PrintingEnabled(Boolean) Enables the printing feature in the UI component. Applies only if the export.enabled property is true. Mirrors the client-side printingEnabled option.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
SvgToCanvas(RazorBlock) A function that renders SVG markup on the HTML canvas. Required to export custom SVG elements (for example, markerTemplate). Mirrors the client-side svgToCanvas option.
SvgToCanvas(String) A function that renders SVG markup on the HTML canvas. Required to export custom SVG elements (for example, markerTemplate). Mirrors the client-side svgToCanvas option.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also