objcc.Title ="Non Bounding"' Set visualization to invisible.objcc.Appearance = wdContentControlHidden' Create a new paragraph.objRange.InsertParagraphAfterSetobjRange = ActiveDocument.Paragraphs(3).Range' Create
单个内容控件。 内容控件是文档中绑定的、有可能添加标签的区域,它们充当特定类型的内容的容器。 单个内容控件可能包含诸如日期、列表或格式化文本段落等内容。 ContentControl 对象是 集合的成员ContentControls。
Word 2010 content controls enable various potential structured document solutions, but in Word 2013 content controls enable a greater range of scenarios. Content control improvements in Word 2013 In Word 2013, content controls provide three key improvements: improved visualization, support for XML Mapping...
Adds a new content control, of the type specified, into the active document and returns a ContentControl object that represents the new content control. Item Returns a ContentControl object that represents the specified content control within the collection of content controls in a document.Properties...
Content Controls cannot be edited. Similarly, you can choose to create aDrop-down List via Content controls. How do I remove content control in Word? If you would like to delete or remove Content controls in Word: Press Ctrl+A to select the entire document. ...
If the insertion point or current selection is inside a content control of a different type, this method raises an error. In this case, you can either move the insertion point or use the Range parameter to specify a location within the document....
Using the developer tab controls group, select and insert the type of content control you want to use. In the example form, I used plain text and checkbox controls. Repeat for each target fill-in location and type. Basic form with fill-in plain text and checkbox content controls Restrict ...
Block Content Control Inline Content Control Common properties of Content Control Title Tag Appearance Color Temporary Lock Contents Lock Content Control Example – Content Control Common properties Why Content Control? Protection Form Filling Types of Content Controls Rich Text Plain Text Check Box Drop-...
The type of content control that the ContentControl represents. Remarks You can use the Type property to change the UI and functionality of the ContentControl at run time. The following table lists the Microsoft.Office.Interop.Word.WdContentControlType values and the type of control control that ea...
Control in this.ContentControls) { if (nativeControl.Type == Word.WdContentControlType.wdContentControlGroup) { count++; Microsoft.Office.Tools.Word.GroupContentControl tempControl = this.Controls.AddGroupContentControl(nativeControl, "VSTOGroupControl" + count.ToString()); groupControls.Add(tempControl...