← Back to all blogs

Posts tagged with 'c1printdocument'

Combining the Usage of C1Report and C1PrintDocument

Interchangeability is the law of nature. Every matter in the universe, from mass to energy, can be transformed from one form to another. The main advantage of interchangeability is the flexibility to achieve the requirement harnessing the best use of any form. Nevertheless, its true for various aspects in IT as well.

From the Realm of Reports and Documents: Preference and Usage

Reporting tools are widely used to support decision making. Companies use them for financial consolidation, for evaluation of strategies and policies and often just for plain reporting.

MultiColumn Layout in C1Reports

Displaying data through newspaper columns is always a preferred practice in any Reporting service. It not only presents the focused and salient content but also makes the reports look more professional. ComponentOne Reports for WinForms provides us with features for creating Columnar Reports.

How To: Export Multiple C1TrueDbGrids to a Single PDF

Exporting data to a PDF file is one of the most commonly preferred features in the .NET world. The essential ComponentOne TrueDbGrid for WinForms control has in-built support for PDF export. ExportToPDF method provides support for exporting data from a C1TrueDbGrid control to a PDF file. However, using ExportToPDF() method we can't export multiple C1TrueDbGrids to a single PDF file.

Adding C1Themes to an existing WinForms application

In this post I will show how to add C1Themes support to an existing WinForms application. The application I will be using is the C1dView sample shipped with C1Reports. It is a C1Report/C1PrintDocument viewer application with a C1Ribbon-based UI. As shipped, it does not include themes. The few simple steps described below add the ability for the end user to select and apply one of the predefined themes included in the C1Themes product, to the C1dView app. (Note: to follow those steps, you must have C1Reports, C1Command, C1Ribbon and C1Themes products - all part of the ComponentOne Studio for WinForms - installed on your system; I will be using C# but the same can easily be done in VB.)

Displaying Summarized Data in C1PrintDocument

Calculating summary of records in a table is very important from the point of view of data representation. This blog is all about summarizing data in a RenderTable of C1PrintDocument.

Dynamic C1PrintDocument Generation Based on Page Size

Generally, when the records are rendered on a C1PrintDocument, they adjust according to the page size and if there is not much space available, the content is split across pages.

Tips & Tricks in C1PrintDocument

C1PrintDocument component allows you to create complex documents that can be printed, previewed or exported to a number of external formats. In this blog, I would like to discuss a couple of frequently asked questions for C1PrintDocument, that is :

C1PrintDocument : StartDoc-EndDoc Vs Generate

Many times, when the users want to insert a new page in C1PrintDocument, they get confused whether to use StartDoc-EndDoc methods or use Generate method or use both.

Vertical Page Header in C1Reports

C1Report is a banded report in which each Section is rendered horizontally (from left to right) one below the other. One of the most important section of the report is PageHeader that is rendered on each page of the report and run along the top of each page, horizontally.

Merge with C1MultiDocument

C1MultiDocument component allows creating, persisting, and exporting large documents that cannot be handled by a single C1PrintDocument object due to memory limitations. This was added in C1Reports in 2011v2 release.

Customize Layout of Specific Page in C1Report

C1Report offers the ability to display a header on each page for a more organized view. Page headings give the report a professional look and the one reading the report has an idea of what he/she is looking at.

Printing Specific Pages in C1Report

Sometimes users have a requirement when they would like to print only a range of pages or print specific pages only. Suppose we have a report containing 5 pages and we'd like to preview/print only the first 3 pages or only the last 3 pages or just the 1st, 3rd and 5th pages.

C1PrintDocument : Display Text at Page Bottom

C1Report has a property PrintAtBottom which allows to print bottom bound text. This property and it's implementation is discussed in this blog.

RenderInputText Validation in C1PrintDocument

C1PrintDocument is ideally used for displaying the generated Reports. However, it goes beyond this feature and supports user interactivity as it can act as a container for few input controls like TextBox, Button, CheckBoxes and RadioButtons.

QuickTool: Convert Text, RTF and VP Files To C1D

We have discussed how to load a text, rtf and vp files in C1PrintPreview controls in our following blogs :

Loading ActiveX VSPrinter Documents into C1PrintDocument

Few years ago we had a sample for converting and viewing VsPrinter Documents (*.vp) files in C1PrintPreview (1.x) control. But after the introduction of 2.0 framework and merging of C1Report and C1Preview controls, the object model of the Preview controls changed.

Multi-Page Tiff Images in C1Report

The C1Report provides support for displaying various images (jpeg, bmp, tiff, etc). However, it currently does not provide support for displaying Multi-Paged Tiff Images.

Olap Report : Exporting using C1Report

C1Olap for Winforms has a C1OlapPrintDocument component that is used to create reports based on OLAP views. It extends the PrintDocument class and provides properties that allow you to specify content and formatting for showing OLAP grids, charts, and the raw data used to create the report. The C1OlapPanel toolstrip provides Report option to print and preview the reports and also specify options.

Export C1PrintDocument to PDF with Digital Signature

ComponentOne Pdf supports the creation digital signatures. However, there is no direct method to directly add digital signatures to the pdf generated from C1PrintDocument.