![]() ![]() Adding WordArt to a Word documentĪdding WordArt to a Word document programmatically can be somewhat complicated, as you need the left and top coordinates of where you would like to insert the text. You are also able to add your own pieces of reusable content to this gallery. The Word Quick Parts gallery is a collection of reusable content including document properties and AutoText. private void adxRibbonButtonShowBuiltInProperties_OnClick ( object sender, IRibbonControl control, bool pressed ) Word quick parts To manually insert these controls into a Word document, you’ll need to first show the Developer tab and then click on the controls inside the Controls ribbon group. This object is shared amongst the other MS Office applications and can be found in the namespace. Word provides a range of content controls such as the Plain Text, Combo box, Check box and Date Picker content controls. To retrieve a list of built-in Word document properties, use the DocumentProperties object. Retrieving a list of built-in Word document properties In the Controls section, click on the Date Picker Content Control Icon. ![]() For this tutorial, we will show you how to use date picker content control. But note that content controls will be converted to static text if you save the document in a Word 97-2003 format. The Controls section shows 10 types of Content Controls that you can use in your document. Assuming that you are using the commands at Insert tab Quick Parts Document Property, you are inserting content controls which should update automatically. The following sections are just a few samples of what you can do. Office stores a range of standard built-in properties for each document, such as Title, Author and Keywords etc. In the top menu bar, click on the Developer tab to change the ribbon. Whether you want to add a content control, delete a content control, or access and manipulate existing content controls, you can do it with code. Document properties are available for Microsoft Word, Excel and PowerPoint documents and act as metadata for the documents.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |