Word Chinese painting form

zhaozj2021-02-16  97

Word.Table Otable;

Word.Range Wrdrng = odoc.bookmarks.get_item (Ref OndofDoc) .range;

Otable = odoc.tables.add (WRDRNG, 3, 5, Ref Omissing, Ref Omissing);

Otable.Range.ParagraphFormat.SpaceAfter = 6;

INT R, C;

String strText;

For (r = 1; r <= 3; R )

FOR (c = 1; c <= 5; C )

{

Strtext = "R" R "C" C;

Otable.cell (r, c) .range.text = strText;

}

Otable.Rows [1] .range.Font.bold = 1;

Otable.Rows [1] .range.Font.IAlic = 1;

转载请注明原文地址:https://www.9cbs.com/read-11194.html

New Post(0)