Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Cell height, alignment after MergeTableCells
  FAQ FAQ  Forum Search   Register Register  Login Login

Cell height, alignment after MergeTableCells

 Post Reply Post Reply
Author
Message
Slawek View Drop Down
Beginner
Beginner


Joined: 05 Aug 09
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Slawek Quote  Post ReplyReply Direct Link To This Post Topic: Cell height, alignment after MergeTableCells
    Posted: 05 Aug 09 at 8:08AM
Hi,

I create table
TabId := CreateTable(5, 5);
SetTableRowHeight(TabId , 1, 5, 0); //auto height
SetTableColumnWidth(TabId , 1, 1, 0.5);
SetTableColumnWidth(TabId , 1, 2, 0.5);
...
SetTableCellAlignment(TabId , 1, 1, 5, 5, 4); //middle center
SetTableCellContent(TabId , 1, 1, 'long long long text');
SetTableCellContent(TabId , 1, 2, 'long long long text');

I have the same text in cell 1 and 2 (wrapped, double text height)

                |                 |        |         |        |
long long  | long long | text | text | text |
long text  | long text  |        |         |        |
_________________|        |         |        |

now I merge 2 cells
MergeTableCells(TabId , 1, 1, 1, 2);

after that the height of cell 1-2 (row 1) is the same  (double text height) and now its top center (not middle). Other cells have short text (only 1 line) and middle center.

long long long  text |          |        |        |
                                |  text | text | text | 
                                |         |         |        |
________________|         |         |        |

How I can change height and alignment after merge?


Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store