缩小文本的字体大小,使文档的页数减少。如果 Word 无法将文档的页数减少一页,则该方法会导致出错。 expression.FitToPages expression 必需。该表达…
expression.FitToPages 需要expression。 代表Document物件的變數。 註解 如果Word 無法將頁面數減少一頁,就會發生錯誤。 範例 這則範例會嘗試將使用中文件的頁面數減少一頁。 VB OnErrorGoToerrhandler ActiveDocument.FitToPages errhandler:IfErr =5538ThenMsgBox"Fit to pages failed" ...
PrintPreview将视图切换到打印预览。 Protect向文档应用几种保护类型中的一种。 Protect2002基础结构。 Range通过使用指定的起始和结束字符位置来返回Microsoft.Office.Interop.Word.Range。 RecheckSmartTags移除由语法检查程序识别的智能标记,并针对所有的智能标记识别器重新检查文档内容。
Document.FitToPages 方法 (Word) Learn 发现 产品文档 开发语言 主题 登录 本文原文为英文,已针对你所在市场进行了翻译。 你对所用语言的质量的满意度如何? CountNumberedItems CreateLetterContent DataForm DeleteAllComments DeleteAllCommentsShown DeleteAllEditableRanges...
DocumentClass.FitToPages 方法 参考 反馈 定义 命名空间: Microsoft.Office.Interop.Word 程序集: Microsoft.Office.Interop.Word.dll C# 复制 public virtual void FitToPages (); 实现 FitToPages() 适用于 产品版本 Word primary interop assembly Latest ...
命名空間: Microsoft.Office.Tools.Word 組件: Microsoft.Office.Tools.Word.v4.0.Utilities (在 Microsoft.Office.Tools.Word.v4.0.Utilities.dll 中)語法C# 複製 public void FitToPages() 備註如果Microsoft Office Word 無法減少一頁,就會擲回例外狀況。
在此練習中,您將建立 Excel 增益集,以在工作表中將目前登入的使用者新增以 Microsoft Graph 接收的最近電子郵件清單。 此流程使用單一登入 (SSO) 驗證配置。先決條件開發Microsoft Excel 的 Office 增益集需要 Web 用戶端或下列桌面用戶端:Windows v16.0.12215.20006 (或更高版本) macOS v16.32.19102902 (或更高...
Shrink text to fit Applies To Word for Microsoft 365Word for the webWord 2024Word 2021Word 2019Word 2016Word 2013 If you have a short document that only has a small amount of text on the last page, you might be able to shrink it just enough to print on one page, and avoid printing...
Shrink text to fit If you have a short document that only has a small amount of text on the last page, you might be able to shrink it just enough to print on one page, and avoid printing the extra page. Newer versionsWeb To do this, use theShrink One Pagecommand. Word will ...
此边框将导致以下 WordprocessingML: XML 复制 <w:sectPr> … <w:pgBorders> <w:top w:val="balloons3Colors"…/> </w:pgBorders> …</w:sectPr> 由于页面的顶部只有边框,因此在页面边框集中仅指定 top 元素。 示例结束] 如果文档具有相对于页边缘的上边框, (使用 pgBorders) 上的page 的offsetFro...