XtremeDocumentStudio Delphi
Next-generation multi-format document-processing component suite for Delphi/C++Builder developers
Compatibility
VCL - FireMonkey - Delphi - C++Builder

A multi-format viewer component to display DOCX, PDF and images using Delphi/C++Builder

Learn to use document viewer component from Gnostice XtremeDocumentStudio Delphi.
By V. Subhash

Gnostice XtremeDocumentStudio Delphi is the next-generation multi-format document-processing component suite for Delphi/C++Builder developers. Currently, it supports viewing, printing, and converting PDF, DOCX, BMP, JPEG, PNG, WMF, EMF, and single-page and multi-page TIFF.

XtremeDocumentStudio Delphi Components

XtremeDocumentStudio provides the following components for processing documents:

Create a Multi-format Document-viewer Application

To get started with the document viewer component, try these steps:

  1. Start your Delphi IDE.
  2. Create a new VCL Forms Application project.
  3. Drop the following components on the form.
    • TButton
    • TOpenDialog
    • TgtDocumentViewer
    A VCL Forms Application project inside RAD Studio for document conversion
  4. Double-click the button and set its click event handler like this:
     
      if OpenDialog1.Execute then begin
        try
          if (gtDocumentViewer1.IsLoaded) then begin
            gtDocumentViewer1.CloseDocument;
          end;
          gtDocumentViewer1.LoadFromFile(OpenDialog1.FileName);
          Form1.Caption := ExtractFileName(OpenDialog1.FileName) + 
           ' [XtremeDocumentStudio Delphi DocumentViewer Demo]';
        except on Err:Exception do
          ShowMessage(Err.Message);
        end;
      end;
    
  5. Compile and run the project.
  6. Click the button on the form and select a document or image whose format is supported.
    A multi-format document viewer application created using Gnostice XtremeDocumentStudio Delphi

---o0O0o---

Our .NET Developer Tools
XtremeDocumentStudio .NET

Multi-format document-processing component suite for .NET developers.

PDFOne .NET

A .NET PDF component suite to create, edit, view, print, reorganize, encrypt, annotate, and bookmark PDF documents in .NET applications.

Our Delphi/C++Builder developer tools
XtremeDocumentStudio Delphi

Multi-format document-processing component suite for Delphi/C++Builder developers, covering both VCL and FireMonkey platforms.

eDocEngine VCL

A Delphi/C++Builder component suite for creating documents in over 20 formats and also export reports from popular Delphi reporting tools.

PDFtoolkit VCL

A Delphi/C++Builder component suite to edit, enhance, view, print, merge, split, encrypt, annotate, and bookmark PDF documents.

Our Java developer tools
XtremeDocumentStudio (for Java)

Multi-format document-processing component suite for Java developers.

PDFOne (for Java)

A Java PDF component suite to create, edit, view, print, reorganize, encrypt, annotate, bookmark PDF documents in Java applications.

Our Platform-Agnostic Cloud and On-Premises APIs
StarDocs

Cloud-hosted and On-Premises REST-based document-processing and document-viewing APIs

Privacy | Legal | Feedback | Newsletter | Blog | Resellers © 2002-2017 Gnostice Information Technologies Private Limited. All rights reserved.