Posts tagged with '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.
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.
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.
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.
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.)
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.
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.
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 :
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.
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.
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.
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.
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.
C1Report has a property PrintAtBottom which allows to print bottom bound text. This property and it's implementation is discussed in this blog.
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.
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.
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.
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.
ComponentOne Pdf supports the creation digital signatures. However, there is no direct method to directly add digital signatures to the pdf generated from C1PrintDocument.