Please be advised that this ComponentOne software tool is accompanied by various sample projects and/or demos which may make use of other development tools included with the ComponentOne Studio.
Please refer to the pre-installed product samples through the following path:
Documents\ComponentOne Samples\WinForms
Click one of the following links to view a list of PDF for .NET samples:
Visual Basic Samples
Sample | Description |
---|---|
CoolPrintPreview | Compares standard Print Preview Dialog and enhanced PDF Print Preview Dialog. |
PdfForm | Creates a PDF version of a paper form. This sample loads an empty fax cover form (created in Visio and saved as an enhanced metafile), and then uses the DrawString method to fill in the fields based on information you enter on the main form. |
PrintDocument | Renders a PrintDocument into a PDF file. This sample uses the C1PdfDocument control. |
C# Samples
Sample | Description |
---|---|
CharTable | Creates a PDF document containing a character table. The sample shows a simple way to create tables. It creates a rectangle and then moves it across to create each cell in a row. At the end of the row, it moves the rectangle back to the left and one row down. The sample also shows all ASCII characters rendered in PDF. |
Charts | Creates a PDF document containing charts created with the C1Chart control. The sample creates metafiles for several 2 and 3D charts, and then renders the metafiles into a PDF document using the DrawImage method. The charts are rendered as a sequence of graphics commands (they are not translated into bitmaps). As a result, the charts are rendered in a high-quality, resolution-independent way. This sample uses the C1PdfDocument, C1Chart and C1Chart3D controls. |
CoolPrintPreview | Compares standard Print Preview Dialog and enhanced PDF Print Preview Dialog. |
CreatePdf | Creates several PDF documents that show different aspects of the C1Pdf library. This sample uses the C1PdfDocument control. |
FlowHtml | This sample shows how to render HTML into PDF documents and uses the C1PdfDocument control. |
FlowRtf | This sample shows how to render Rtf text that flows onto several pages. This sample uses the C1PdfDocument control. |
ManualSamples | Contains a variety of examples, such as how to render a long string into a short string, how to add links, and how to draw lines. Each example is described in the PDF created. This sample uses the C1PdfDocument control. |
MixedOrientation | This sample renders two C1Reports (one portrait, one landscape) and then merges them into a single C1PdfDocument using the C1Report.PageImages property and the DrawImage method. |
PdfAcroform | This sample shows how to create a PDF AcroForm with a variety of fields and uses the C1PdfDocument control. |
PdfAnnotations | This sample creates a PDF document with a form containing several notes, including rectangle, circle, line and text box. This sample uses the C1PdfDocument control. |
PdfChart | The sample creates a pie chart, converts it into a metafile, and then renders the metafile into a PDF document using the DrawImage method. The chart is rendered as a sequence of graphics commands (it is not translated into a bitmap). As a result, the chart is rendered in a high-quality, resolution-independent way. This sample uses C1Chart. |
PdfSignature | This sample enables you to render a PDF document with digital signature in the form of text or an image. |
PdfTables | This sample exports an HTML document to the PDF format and uses the C1PDF component. |
Security | Creates a PDF document with password protection and permissions. This sample uses the C1PdfDocument control. |