Create a Word document. d = Document("myDocument","docx"); open(d); Create aPageBorderobject and specify the border style, color, and width. pageBorder = PageBorder("solid","red","0.5pt"); Specify that the border position is relative to the page boundary and specify the margin betwe...
regardless of the actual nonprintable region for your printer. Even though your document margins may fit in the printable region of the page, the page border may still be in the nonprintable region defined by your printer driver.
EndBorder EndMargin Endnote EndnoteDocumentWideProperties EndnotePosition EndnotePositionValues EndnoteProperties EndnoteReference EndnoteReferenceMark Endnotes EndnoteSpecialReference EntryMacro EvenAndOddHeaders ExitMacro FieldChar FieldCharValues FieldCode FieldData FieldMapData FirstRowHeader FitText FlatBorders 字...
WdPageBorderArt 枚举 (Word) 项目 2023/04/07 4 个参与者 反馈 指定某页的图形页面边框设置。展开表 名称值Description wdArtApples 1 苹果边框。 wdArtArchedScallops 97 扇贝边框。 wdArtBabyPacifier 70 婴儿奶嘴边框。 wdArtBabyRattle 71 拨浪鼓边框。 wdArtBalloons3Colors 11 三色气球边框。 wdArt...
Word) (WdPageBorderArt 列舉 發行項 2023/04/07 4 位參與者 意見反應 會指定頁面的圖形頁面框線設定。 展開資料表 名稱值描述 wdArtApples 1 蘋果花邊。 wdArtArchedScallops 97 拱形扇背花邊。 wdArtBabyPacifier 70 奶嘴花邊。 wdArtBabyRattle 71 撥浪鼓花邊。 wdArtBalloons3Colors 11 三色汽球花邊。
This element allows you to insert page borders into the Word document. Attributes and sub-elements keyDescription display allPages (displays page border on all pages: default value), firstPage (displays page border on first page), notFirstPage (displays page border on all pages except first)...
Microsoft.Office.Interop.Word.dll Applies the specified page-border formatting to all sections in a document. C# publicvoidApplyPageBordersToAllSections(); Applies to 產品版本 Word primary interop assemblyLatest 意見反應 此頁面對您有幫助嗎?
This example adds a single-line page border to all sections in the active document.VB Copy Dim borderLoop As Border With ActiveDocument.Sections(1) For Each borderLoop In .Borders With borderLoop .LineStyle = wdLineStyleSingle .LineWidth = wdLineWidth050pt End With Next borderLoop .Borders....
EndBorder EndMargin Endnote EndnoteDocumentWideProperties EndnotePosition EndnotePositionValues EndnoteProperties EndnoteReference EndnoteReferenceMark Endnotes EndnoteSpecialReference EntryMacro EvenAndOddHeaders ExitMacro FieldChar FieldCharValues FieldCode FieldData FieldMapData FirstRowHeader FitText FlatBorders Fon...
Namespace: DocumentFormat.OpenXml.Wordprocessing Assembly: DocumentFormat.OpenXml.dll Package: DocumentFormat.OpenXml v3.0.1 Bottom Border. Represents the following element tag in the schema: w:bottom. C# 複製 public DocumentFormat.OpenXml.Wordprocessing.BottomBorder? BottomBorder { get; set; } ...