. The initialization code
the Variant vSelect=vWordApp. OlePropertyGet (" Selection ");
VSelect. OlePropertyGet (" Font "). OlePropertySet (" Size ", 12);
VSelect. OlePropertyGet (" Font "). OlePropertySet (" Name ", "tahoma");
VSelect. OleProcedure (" TypeText ", WideString (title));
TypeParagraph vSelect. OleProcedure (" ");
VSelect. OleFunction (" Select ");
The Variant format=vSelect. OlePropertyGet (" ParagraphFormat ");
Format. OlePropertySet (" Alignment ", wdAlignParagraphCenter);
. The code that is inserted into the form, normal.
Insert the title no center but left-aligned