cart: empty [ Login ]

Insert Dxf Block in DxfTable row.

1 
Lalit Aggarwal
11/28/2015 2:25 PM
Hi Wout, I was creating a DxfTable in my project, but i am stuck at a point where i need to insert a DxfBlock in the row of DxfTable. How can i do that? Please reply asap. Regards, Lalit Aggarwal
Wout
12/1/2015 3:35 PM
I think the current table implementation doesn't fully support inserting blocks in cells (if I remember correctly the resizing of the cell based on the block isn't implemented yet), but you can create a cell content with a block (DxfTableCellContent(DxfBlock block), or set the DxfTableContent.ValueObject property to the block). - Wout
Lalit Aggarwal
12/8/2015 9:14 AM
How to give the width and height to the block before inserting it to the DxfTable?
Wout
7/5/2016 2:17 PM
I've made some improvements today and CadLib will now resize the row height so the block will fit the row if the cell (content's) AutoScale property is false. If the AutoScale property is true, the block will be scaled to fit the cell width/height, which is determined by the column width/row height. - Wout
1