

Refer to the How to: Change Formatting of Selected Text article for an example on how to change character properties in code. Gets or sets whether to snap characters to a grid when the grid is defined.Įxecute the ShowFontFormCommand command to invoke the Font dialog.

Specifies the minimum font size for which the kerning is adjusted automatically. Font characteristics such as small caps that you set in desktop Word will (usually) be displayed correctly when you open the document in the web version, but there isn't a way to create that formatting in the web version. You'll find that there is also no Font item in the right-click menu. Gets or sets the characters’ position relative to the base line. In this case, the web version doesn't have a Fonts dialog like the one in the desktop version. Specifies the spacing between characters. Gets or sets the characters’ scaling percentage. The table below lists API you can use to specify Advanced options: API Options under this tab allow users to change character spacing options: scale percentage, spacing between characters, position and kerning. Gets or sets whether characters are capital letters. Gets or sets whether characters are superscript. Gets or sets whether characters are subscript. Use the SubDocument.BeginUpdateCharacters and SubDocument.EndUpdateCharacters pair of methods to access the CharacterProperties members and modify character properties in code.
