Sample project of working with tables is located in the Drawing\Examples\DevGuide\OdTableEx
subdirectory of the ODA installation folder (for an example, C:\Program Files\Open
Design Alliance).
The sample project demonstrates creating a table and modifying and displaying
its properties. The application creates a .dwg file, and then prints the following
information about the created table object:
- Minimum size of the table
- Size of the table
- Number of rows
- Number of columns
- Minimum row height for each row
- Minimum column width for each column
- Row height for each row
- Column width for each column
- Cell style for each cell
The application generates a .dwg file that contains a table object. The table
object has a number of rows, which show specific properties of the table:
- First row shows the title of the table.
- Second row shows column headers.
- Third row shows simple text data.
- Fourth row shows auto-scaled block references.
- Fifth row shows different sizes of the text.
- Sixth row shows setting the new row height.
- Seventh row shows the text rotation.
- Eighth row shows the scaled block references.
- Ninth row shows the different text alignments.
- Tenth row shows cells with multiple data.
- Eleventh row shows different grid lines.
See Also
Overview of Tables
Specific Table Properties
Editing a Table
Working with Table Breaks
Copyright © 2002 – 2021. Open Design Alliance. All rights reserved.
|
|