WordprocessingML 字段开关。 此类在 Office 2007 及更高版本中可用。 当对象序列化为 xml 时,其限定名称为 o:FieldCodes。 C#复制 publicclassFieldCodes:DocumentFormat.OpenXml.OpenXmlLeafTextElement 继承 Object OpenXmlElement OpenXmlLeafElement OpenXmlLeafTextElement ...
如果Microsoft Word 會列印功能變數代碼而非功能變數結果,則為 True。 可讀寫的 Boolean。語法expression。 PrintFieldCodes表達 會傳回 Options 物件的運算式。範例本範例會設定 Word 列印功能變數代碼,然後列印使用中文件。VB 複製 Options.PrintFieldCodes = True ActiveDocument.PrintOut ...
如果Microsoft Word 打印域代码而不打印域的结果,则该属性值为 True。读/写 Boolean。 语法 expression。 PrintFieldCodes 表达 返回Options 对象的表达式。 示例 本示例将 Word 设置为打印域代码,然后打印活动文档。 VB 复制 Options.PrintFieldCodes = True ActiveDocument.PrintOut 本示例返回“工具”菜单“选项”...
Word for Microsoft 365Word for Microsoft 365 for MacWord 2024Word 2021More... The Section field inserts the number of the current section. Syntax When you view the Section field in your document, the syntax looks like this: { SECTION } ...
The If field compares two values and then inserts the text appropriate to the result of the comparison. When used in a mail merge main document, the If field can examine information in the merged data records, such as postal codes or account numbers. For example, you can send letters to ...
Microsoft.Office.Interop.Word 程序集: Microsoft.Office.Interop.Word.dll 如此如果从指定区域获取的文本包含域代码。 C# publicboolIncludeFieldCodes {get;set; } 属性值 Boolean 注解 注意在设置此属性之前,默认值与“选项”对话框中“视图”选项卡上的“字段代码”选项的设置相同, (“工具”菜单) 。Text将 ...
Note:For detailed information about inserting and editing field codes, using switches, setting and changing properties, displaying results vs. field codes, locking fields, and other common tasks, seeInsert, edit, and view fields in Word.
Microsoft.Office.Interop.Word 程序集: Microsoft.Office.Interop.Word.dll 如果显示域代码,则该属性值为True。 C# publicboolShowFieldCodes {get;set; } 属性值 Boolean 适用于 产品版本 Word primary interop assemblyLatest 反馈 此页面是否有帮助?
Many publishers require that you remove ALL field codes before submitting an electronic manuscript. Field codes are used in Microsoft Word to link your citations to your bibliographic references. Make sure you remove hidden codes in a copy of your final manuscript. Please note that once you remov...
Field codes: Advance field TheAdvancefield code offsets the starting point of the text that follows to the right or left, up or down, or to a specific horizontal or vertical position. Afield codetells Word what to insert or provide to the document after determining the value of the field...