Share via


Characters Object Members

Visio Automation Reference

Represents a shape's text with the text fields expanded to the number of characters they display in a drawing window.

Methods

  Name Description
Aa342189.methods(en-us,office.12).gif AddCustomField Replaces the text represented by a Characters object with a custom formula field that uses universal syntax.
Aa342189.methods(en-us,office.12).gif AddCustomFieldU Replaces the text represented by a Characters object with a custom formula field that uses universal syntax.
Aa342189.methods(en-us,office.12).gif AddField Replaces the text represented by a Characters object with a new field of the category, code, and format you specify.
Aa342189.methods(en-us,office.12).gif AddFieldEx Replaces the text represented by a Charactersobject with a new field of the category, code, format, language ID, and calendar ID you specify.
Aa342189.methods(en-us,office.12).gif Copy Copies a text range to the Clipboard.
Aa342189.methods(en-us,office.12).gif Cut Deletes a text range and places it on the Clipboard.
Aa342189.methods(en-us,office.12).gif Delete Deletes an object or selection.
Aa342189.methods(en-us,office.12).gif Paste Pastes the text range on the Clipboard into an object.

Properties

  Name Description
Aa342189.properties(en-us,office.12).gif Application Read-only. Returns the instance of Microsoft Office Visio that is associated with an object.
Aa342189.properties(en-us,office.12).gif Begin Gets or sets the beginning index of a Characters object, which represents a range of text in a shape. Read/write.
Aa342189.properties(en-us,office.12).gif CharCount Returns the number of characters in an object. Read-only.
Aa342189.properties(en-us,office.12).gif CharProps Sets a character property of a Characters object to a new value. Write-only.
Aa342189.properties(en-us,office.12).gif CharPropsRow Returns the index of the row in the Character section of a ShapeSheet window that contains character formatting information for a Characters object. Read-only.
Aa342189.properties(en-us,office.12).gif ContainingMasterID Returns the ID of the Master object that contains an object. Read-only.
Aa342189.properties(en-us,office.12).gif ContainingPageID Returns the ID of the page that contains an object. Read-only
Aa342189.properties(en-us,office.12).gif Document Gets the Document object that is associated with an object. Read-only.
Aa342189.properties(en-us,office.12).gif End Returns or sets the ending index of the indicated Characters object representing a range of text in a shape. Read/write.
Aa342189.properties(en-us,office.12).gif EventList Returns the EventList collection of an object or the EventList collection that contains an Event object. Read-only.
Aa342189.properties(en-us,office.12).gif FieldCategory Returns the field category for a field represented by an object. Read-only.
Aa342189.properties(en-us,office.12).gif FieldCode Returns the field code for a field represented by an object. Read-only.
Aa342189.properties(en-us,office.12).gif FieldFormat Returns the field format for a field represented by an object. Read-only.
Aa342189.properties(en-us,office.12).gif FieldFormula Returns the formula of the custom field represented by an object. Read-only.
Aa342189.properties(en-us,office.12).gif FieldFormulaU Returns the universal-syntax formula of the custom field represented by an object. Read-only.
Aa342189.properties(en-us,office.12).gif IsField Determines whether a Characters object represents the expanded text of a single field with no additional non-field characters. Read-only.
Aa342189.properties(en-us,office.12).gif ObjectType Returns an object's type. Read-only.
Aa342189.properties(en-us,office.12).gif ParaProps Sets the paragraph property of a Characters object to a new value. Read/write.
Aa342189.properties(en-us,office.12).gif ParaPropsRow Returns the index of the row in the Paragraph section of a ShapeSheet window that contains paragraph-formatting information for a Characters object. Read-only.
Aa342189.properties(en-us,office.12).gif PersistsEvents Indicates whether an object is capable of containing persistent events in its EventList collection. Read-only.
Aa342189.properties(en-us,office.12).gif RunBegin Returns the beginning index of a type of run—a sequence of characters that share a particular attribute, such as character, paragraph, or tab formatting; or a word, paragraph, or field. Read-only.
Aa342189.properties(en-us,office.12).gif RunEnd Returns the ending index of a type of run—a sequence of characters that share a particular attribute, such as character, paragraph, or tab formatting; or a word, paragraph, or field. Read-only.
Aa342189.properties(en-us,office.12).gif Shape Returns the Shape object that owns a Cell, Characters, Row, or Section object or that is associated with a Hyperlink or OLEObject object or with the Hyperlinks collection. Read-only.
Aa342189.properties(en-us,office.12).gif Stat Returns status information for an object. Read-only.
Aa342189.properties(en-us,office.12).gif TabPropsRow Returns the index of the row in the Tabs section of the ShapeSheet that contains tab formatting information for a Characters object. Read-only.
Aa342189.properties(en-us,office.12).gif Text Returns the range of text represented by a Characters object, which may be a subset of the shape's text depending on the values of the Characters object's Begin and End properties.Read/write.

Events

  Name Description
Aa342189.events(en-us,office.12).gif TextChanged Occurs after the text of a shape is changed in a document..