<br /> <br /> With oDoc.Styles(word.WdBuiltinStyle.wdStyleHeading1)<br /> .Font.Bold = False<br /> .Font.Size = 12<br /> .Font.Name = "Arial"<br /> .Font.Spacing = 16<br /> .NameLocal = "Heading1"<br /> .BaseStyle = "Normal"<br /> .ParagraphFormat.SpaceBefore = 6<br /> .ParagraphFormat.OutlineLevel = 1<br /> With .ParagraphFormat.TabStops<br /> .Add(Position:=oWord.CentimetersToPoints(2), Alignment:=word.WdAlignmentTabAlignment.wdCenter)<br /> End With<br /> .ParagraphFormat.KeepWithNext = True<br /> .LinkToListTemplate(oTemplate1)<br /> End With<br /> <br />
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)