Aspose.words Basic Operation

Source: Internet
Author: User

A very useful control.

The basic operation can refer to Woodashen's article:

Http://www.cnblogs.com/wuhuacong/archive/2012/08/30/2662961.html

Here are two points to add:

1. If the width of the original table is the specified width (fixed width), then if you want the new table to have the same width value as the original table, you must include the following code:

Builder. Cellformat.fittext = true;

2, when the operation of the table, if you want to delete the table rows or Movetocell to the previous table (that is, using the Tableindex parameter to navigate), you need to end table editing:

Builder. Endtable ();

Ask one more question:

I insertcell in the bookmark at the time, the program will create a new table, and not to undertake the above table, with the effect of Woodashen different, do not know why???

Aspose.words Basic Operation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.