ActiveReports 9 > ActiveReports User Guide > Concepts > Page Report/RDL Report Concepts > Layers > View, Export or Print Layers |
The TargetDevice property determines whether you can view, export or print the controls placed on a Layer. It allows you to show or hide the controls that belong to a Layer on a specific target device. For example, if you want to display controls placed on Layer1 in the WinViewer and export the output to PDF, you can select the Screen and Export options of the TargetDevice property simultaneously.
Note: TargetDevice property only determines the target (i.e. Screen, Export or Print) where the group of controls placed on a Layer appear. In order to get the output on a viewer or export or print the controls, you need to add code for exporting or printing or adding a viewer to the application. |
TargetDevice property allows you to select from the following options:
Use the following steps to set or change the TargetDevice property of a Layer:
TargetDevice | Output Type | Description |
---|---|---|
None | - | Controls placed on a Layer cannot be viewed, exported or printed. |
Screen | WinViewer | Controls placed on a Layer can be viewed on any of the supported viewers. |
WebViewer | ||
HTML5Viewer | ||
SilverLight Viewer | ||
WPF Viewer | ||
Paper | Physical/ Virtual Printer | Controls placed on a Layer are can be printed to physical or virtual printers. |
Export | RenderingExtensions - HTML, PDF, Word, Image, Xml, Excel | Controls placed on a Layer are exported to any of the supported file formats. |
Export Filters - HTML, PDF, Tiff, Text, Rft, Excel | ||
All | All Outputs | Controls placed on a Layer can be viewed, exported and printed. |