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 ComponentOne Studio Enterprise.
Note: The ComponentOne Samples are also available at http://helpcentral.componentone.com/ProductResources.aspx?View=Samples. |
Sample |
Description |
---|---|
AlignCurrency |
Align currency figures on tables. This sample uses the VSPrinter control. |
BaseLine |
Convert VSPrinter3 projects that used the ta*Baseline settings for TextAlign. This sample uses a function called SetCursorBaseline that sets the cursor at the appropriate position for compatibility with the ta*Baseline settings available in VSPrinter3. This sample uses the VSPrinter control. |
Calendar |
Builds an HTML calendar for the current month. This sample uses the VSPrinter control. |
CharSpacing |
Shows how to control inter-character spacing. This sample uses the VSPrinter control. |
ColSizes |
Shows how to create a document with columns of different sizes. This sample uses the VSPrinter control. |
DecTabs |
Shows how to implement decimal tab stops. This sample uses the VSPrinter control. |
DragDrop |
Shows how to implement file drag/drop into a VSPrinter control. This sample uses the VSPrinter control. |
Encode |
This sample shows how you can encode VSPrinter documents (binary files saved with the SaveDoc command) into strings, re-encode them so that VSPrinter can read them. This technique may be useful if you need to store VSPrinter documents as memo fields in a database. This sample uses the VSPrinter control. |
FaxForm |
Shows how to implement fill-out pre-printed forms. This sample uses a VSViewPort control to display a picture of a pre-printed form and input fields where the user can type the information to fill out the form. The FocusTrack property is used to keep the field that has the focus visible to the user. This sample uses the VsViewPort and VSPrinter controls. |
FindText |
Load an RTF document and search for strings.This sample uses the VSPrinter control. |
FlowChart |
Create a simple flow chart in a VSPrinter control. The sample illustrates how you can add print/preview capabilities to your own custom objects using VSPrinter. This sample uses the VSPrinter control. |
FontSampler |
Create a table showing all fonts installed on the computer. This sample uses the VSPrinter control. |
HighLight |
Shows how you can highlight parts of a document using two methods. (1) By changing styles while the document is generated, or (2) By adding the highlights as overlays. This sample uses the VSPrinter control. |
Index |
Shows how you can build an index. This sample loads an RTF file and a plain text file containing a list of index words. Then it finds every location of each index word in the document and creates an index for the document. This sample uses the VSPrinter control. |
LineSpacing |
Calculate how many lines will fit on a page. This sample uses the VSPrinter control. |
Margins |
Allow users to adjust margins using the mouse. This sample uses the VSPrinter control. |
MultiRowHdr |
Create tables with multi-row headers. This sample uses the VSPrinter control. |
NavButton |
Add custom buttons to the navigation bar. The custom buttons are implemented using standard VB controls (Picture and Image boxes). This sample uses the VSPrinter control. |
NavButton2 |
Add custom buttons to the navigation bar. The custom buttons are implemented using standard VB controls (Picture and Image boxes). This sample uses the VSPrinter control. |
NewStuff |
Shows most of the new features in the VSPrinter7 control. This sample uses the VSPrinter control. |
Outline |
Create an Outline tree for a VSPrinter document. The sample creates a document and marks headings with specially formatted tags. When the document is ready, the sample scans the document for heading tags and uses them to build an Outline Tree using a TreeView control. This sample uses the VSPrinter and TreeView control. |
PicBkg |
Use a picture as a background for your documents (watermark-style). The sample also shows how you can render charts on VSPrinter documents. This sample uses the VSPrinter and MSChart control. |
PicExport |
Export documents with pictures, headers, and footers. This sample uses the VSPrinter and RichTextBox control. |
PicRes |
Shrink an image reducing its resolution, so it takes up less room. This sample uses the VSPrinter control. |
PolyPicture |
Fill polygons with picture. This sample uses Windows APIs to create a clipping region based on a polygon, and then fills the polygon by tiling the clipping area with a picture. This sample uses the VSPrinter control. |
Recordset |
Render database tables (recordsets) using the AddTableArray method. This sample uses the VSPrinter control. |
Recordset2 |
Render database tables (recordsets) using the AddTableArray method. This sample uses the VSPrinter control. |
RTFDB |
Create documents based on RTF text stored in a database. The document generation routine has a Recordset MoveFirst/MoveNext loop that generates one page for each record. The pages have an image, a title, and the body containing RTF text. This sample uses the VSPrinter control. |
RTFExport |
Export RTF with absolute positioning. The sample creates RTF output with tables, textboxes, and lines. This sample uses the VSPrinter and the RichTextBox control. |
RTFLineBrk |
Render RTF text from a RichTextBox control preserving the line breaks. This sample uses the RichTextBox and VSPrinter control. |
RTFWidth |
Measure the width of an RTF string. This sample uses the VSPrinter control. |
SimpleGDI |
Use the VSPrinter's hDC property to make Windows GDI calls. This sample uses the VSPrinter control. |
Spacing |
Shows the effect of properties on paragraph spacing, indentation, and alignment. This sample uses the VSPrinter control. |
Stretch |
Creates a compressed version of the image file and renders up to 12 images of the compressed image. This sample uses the VSPrinter control. |
StrokePath |
Use GDI calls to render font outlines. This sample uses the VSPrinter control |
TableEffects |
Shows several new table-related features in VSPrinter7. This sample uses the VSPrinter control. |
TOC |
Create an active table of contents for a VSPrinter document. This sample uses the VSPrinter control. |
VSDraw |
Insert VSDraw drawings into VSPrinter documents. This sample uses VSPrinter and VSDraw control. |
Sample |
Description |
---|---|
BigDemo |
Use VSPrinter to create and preview various types of documents. The sample shows how to create documents with text, images, tables, and styles, and how to preview, print, and export these documents. This sample uses the VSPrinter control. |
MFCDEMO |
Compare the performance of dispatch and dual interfaces. The demo compares the performance of the control when using the dispatch-based wrapper classes created by MFC and the dual interfaces created using the #import statement. This sample uses the VSPrinter control. |
PicExport |
Export images, headers, and footers to RTF and HTML. This sample uses the VSPrinter control. |
TableEffects |
Shows several new table-related features in VSPrinter8. This sample uses the VSPrinter control. |
Thumbnail |
Use the LayoutThumbnails to control how thumbnail images are displayed. This sample uses the VSPrinter control. |