Skip to content

Latest commit

 

History

History
47 lines (35 loc) · 1.88 KB

export-print.md

File metadata and controls

47 lines (35 loc) · 1.88 KB
layout title description platform control documentation domainurl
post
Export print in Angular Range navigator component | Syncfusion
Learn here all about Export print in Syncfusion Angular Range navigator component of Syncfusion Essential JS 2 and more.
ej2-angular
Export print
ug

Export print in Angular Range navigator component

Export

The rendered Range Selector can be exported to JPEG, PNG, SVG, or PDF format by using the export method in the Range Selector. This method contains the following parameters:

  • Type - To specify the export type. The component can be exported to JPEG, PNG, SVG, or PDF format.
  • File name - To specify the file name to export.
  • Orientation - To specify the orientation type. This is applicable only for PDF export type.

{% tabs %} {% highlight ts tabtitle="app.component.ts" %} {% include code-snippet/rangenavigator/export-print/default-cs1/src/app.component.ts %} {% endhighlight %}

{% highlight ts tabtitle="main.ts" %} {% include code-snippet/rangenavigator/export-print/default-cs1/src/main.ts %} {% endhighlight %} {% endtabs %}

{% previewsample "page.domainurl/samples/rangenavigator/export-print/default-cs1" %}

Print

The rendered Range Selector can be printed directly from the browser by calling the public method print.

{% tabs %} {% highlight ts tabtitle="app.component.ts" %} {% include code-snippet/rangenavigator/export-print/default-cs2/src/app.component.ts %} {% endhighlight %}

{% highlight ts tabtitle="main.ts" %} {% include code-snippet/rangenavigator/export-print/default-cs2/src/main.ts %} {% endhighlight %} {% endtabs %}

{% previewsample "page.domainurl/samples/rangenavigator/export-print/default-cs2" %}