Set objRange = ActiveDocument.Paragraphs(1).Range ' Create a rich text content control around the first paragraph. Set objcc = ActiveDocument.ContentControls.Add(wdContentControlRichText, objRange) objcc.Title = "Default Bounding Box" ' Set visualization to the default. objcc.Appearance = wdCont...
DropdownListEntries 财产 组合框和下拉列表内容控件 (wdContentControlComboBox 和wdContentControlDropdownList) MultiLine 财产 纯文本内容控件 (wdContentControlText) Ungroup() 方法 将内容控件 (wdContentControlGroup) 分组 属性 展开表 AllowInsertDeleteSection 获取或设置用户是否可以使用用户界面在指定的重复节内...
Figure 1. Content Control Properties dialog boxYou can also set the display mode for a content control by using the Word 2013 object model (discussed later in New Word 2013 content control object model members).Bounding boxThe default rendering for content controls in Word 2013 is to preserve ...
By using content controls, you can create interactive forms within Word documents. But sometimes you might want to restrict how a user works with a content control. The following example sets the locking properties for a rich text textbox content control. The locking properties are based on the...
Represents a content control. Content controls are bounded and potentially labeled regions in a document that serve as containers for specific types of content. Individual content controls may contain contents such as images, tables, or paragraphs of for
Found the issue - when creating check-box content controls, it was adding in an additional different font in front of the check-box inside the content control. I went in and changed them all to the other font and the extra spacing disappeared on the other computers. Thanks for your directi...
For more information about the different types of content controls, see Content Controls. 展开表 ValueControl wdContentControlBuildingBlockGallery Building block gallery. wdContentControlComboBox Combo box. wdContentControlDate Date picker. wdContentControlGroup Group wdContentControlDropdownList Drop-down list...
Gets the parent content control of a ComboBoxContentControl that is nested in another content control. C# 复制 public Microsoft.Office.Interop.Word.ContentControl ParentContentControl { get; } Property Value ContentControl A ContentControl that represents the content control in which the ComboBox...
To search in this topic, press CTRL+F, type the search text in the box, and then press ENTER. Microsoft Word Web App keyboard shortcuts Keyboard shortcuts in Word Web App are very similar to keyboard shortcuts in Microsoft Word. The keyboard shortcuts listed in this article are for ...
On the View menu, select Toolbox to display the Toolbox, and then add a button to Form1. Double-click Button1. The code window for the form appears. In the code window, replace the following code Private Sub Button1_Click(ByVal sender As System.O...