[Expand]General Information
[Collapse]WinForms Controls
  .NET Core Support
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications, and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Property Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Gantt Control
  [Expand]Chart Control
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Collapse]Snap
   [Expand]Product Information
   [Expand]Getting Started
   [Collapse]Graphical User Interface
    [Expand]Snap Application Elements
    [Collapse]Main Toolbar
      General Tools: File
      General Tools: Insert
      General Tools: View
      General Tools: References
      Table Tools: Design
      Table Tools: Layout
      Data Tools: Appearance
      Data Tools: Field
      Data Tools: Group
      Data Tools: List
      Data Tools: Mail Merge
      General Tools: Home
      General Tools: Page Layout
      General Tools: Review
      Chart Tools: Design
      Header and Footer Tools: Design
      Picture Tools: Format
    [Expand]Data Visualization Tools
    Supported Formats
   [Expand]Developer Guidelines
   [Expand]Data Acquisition
   [Expand]Data Shaping
   [Expand]Examples
  [Expand]TreeMap Control
  [Expand]Sunburst Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

General Tools: File

The File toolbar contains the basic file management and printing commands.

These commands are divided into the following categories.

Expanded Common

Command

Large Icon

Small Icon

Description

New

Creates a new Snap document.

Open

Opens an existing document.

A SnapControl can load a document in the following file format.

  • DOC (Microsoft® Word® 97 – 2003 document);

  • DOCX (Office® Open XML document);

  • HTML (HyperText Markup Language);

  • MHTML / MHT (Web archive, single file);

  • RTF (Rich Text Format);

  • TXT (Plain text);

  • ODT (OpenDocument text document);

  • XML (Microsoft® Word® XML document);

The SNX format stores a Snap report without the document field data.

Saving a document in any other format retrieves the required data values and excludes any information about the data connections defined by Snap.

To apply the uniform layout and style settings of a specific document to multiple reports, open this document as a template.

In this mode, the Save command becomes disabled to prevent open templates from being overwritten.

Save

Saves a document template to an SNX file.

When saving a document for the first time, the Save As dialog will appear.

Save As

Saves a document template to a new SNX file.

This command invokes the Save As dialog, allowing you to specify a name and location for a new file.

Export...

Exports a document into one of the supported third-party formats.

A Snap report can be exported to the following file formats.

  • DOC (Microsoft® Word® 97 - 2003 document).

  • DOCX (Office® Open XML document);

  • HTML (HyperText Markup Language);

  • MHTML / MHT (Web archive, single file);

  • PDF (Portable Document Format);

  • RTF (Rich Text Format);

  • TXT (Plain text);

  • ODT (OpenDocument text format);

  • XML (Microsoft® Word® XML document);

  • Image (BMP, EMF, WMF, GIF, JPEG, PNG or TIFF format).

Quick Print

Sends a document to the default printer with default printing options.

Print

Invokes the Print dialog, allowing you to select a printer and specify printing options before printing.

Print Preview

Retrieves all data required to populate the report fields to assemble and preview a document before publishing, ignoring the current Editor Row Limit setting.

Calling this command for a mail-merge document renders only one page of the document.

To render a mail-merge document for a specified range of data records, use the Finish & Merge option in the Data Tools: Mail Merge tab.

Undo

Cancels the last change made to the document.

Redo

Reverses the results of the last undo.

Expanded Data

Command

Large Icon

Small Icon

Description

Add New Data Source

Invokes the Create Data Source wizard, allowing you to connect the document to a new data source and specify its data connection options (e.g., data provider, login information and connection name).

A data table selected with the wizard is included in the data source. To add more tables and specify their data relations, use the Query Builder.

Expanded See Also

Is this topic helpful?​​​​​​​