Paragraph alignment issue


#1

Hi all,

I'm building a table using the Builder class and the InsertCell() method.

When I specify a "builder.ParagraphFormat.Alignment" for my cells, it does work correctly except for the last cell of the row which is always Left-Aligned.

Currently, I bypass the problem by adding an additional "0 width" cell at the end of my row.

I'm currently testing the component using the Demo version, I don't know if it's part of the limitations or if it's a real issue.

Thanks,

Elm


#2

Evaluation version does not affect alignment, it only injects watermark text at the top and some random text.

Try calling EndRow and maybe even EndTable explicitly after you finished building the table. This will move the cursor out of the table.