Range Properties

The Range type exposes the following members.

  NameDescription
Public property Application Returns an Application object that represents the Microsoft Word application.
Public property Bold Determines if the font or range is formatted as bold.
Public property BoldBi Determines if the font or range is formatted as bold.
Public property BookmarkID Returns the number of the bookmark that encloses the beginning of the specified selection or range; returns 0 (zero) if there's no corresponding bookmark.
Public property Bookmarks Returns a Bookmarks collection that represents all the bookmarks in a range.
Public property Borders Returns a Borders collection that represents all the borders for the specified object.
Public property CanEdit Reserved for internal use.
Public property CanPaste Reserved for internal use.
Public property Case Returns or sets a WdCharacterCase constant that represents the case of the text in the specified range.
Public property Cells Returns a Cells collection that represents the table cells in a range.
Public property Characters Returns a Characters collection that represents the characters in a range.
Public property CharacterStyle Returns a Object that represents the style used to format one or more characters. Read-only.
Public property CharacterWidth Returns or sets the character width of the specified range.
Public property Columns Returns a Columns collection that represents all the table columns in the range.
Public property CombineCharacters Determines if the specified range contains combined characters.
Public property Comments Returns a Comments collection that represents all the comments in the specified range.
Public property Conflicts Gets a Conflicts collection object that contains all the conflict objects in the range.
Public property ContentControls Returns a ContentControls collection that represents the content controls contained within a range. Read-only.
Public property Creator Returns a 32-bit integer that indicates the application in which the specified object was created.
Public property DisableCharacterSpaceGrid Determines if Microsoft Word ignores the number of characters per line for the range.
Public property Document Returns a Document object associated with the specified range.
Public property Duplicate Returns a Range object that represents all the properties of the specified range.
Public property Editors Returns an Editors object that represents all the users authorized to modify a selection or range within a document.
Public property EmphasisMark Returns or sets the emphasis mark for a character or designated character string.
Public property End Returns or sets the ending character position of a range.
Public property EndnoteOptions Returns a EndnoteOptions object that represents the endnotes in a range or selection.
Public property Endnotes Returns a Endnotes collection that represents all the endnotes in a range.
Public property EnhMetaFileBits Returns a picture representation of how a selection or range of text appears.
Public property Fields Returns a read-only Fields collection that represents all the fields in the range.
Public property Find Returns a Find object that contains the criteria for a find operation.
Public property FitTextWidth Returns or sets the width (in the current measurement units) in which Microsoft Word fits the text in the current range.
Public property Font Returns or sets a Font object that represents the character formatting of the specified object.
Public property FootnoteOptions Returns a FootnoteOptions object that represents the footnote options in a range.
Public property Footnotes Returns a Footnotes collection that represents all the footnotes in a range.
Public property FormattedText Returns or sets a Range object that includes the formatted text in the specified range or selection.
Public property FormFields Returns a FormFields collection that represents all the form fields in the range.
Public property Frames Returns a Frames collection that represents all the frames in a range.
Public property GrammarChecked Determines if a grammar check has been run on the specified range.
Public property GrammaticalErrors Returns a ProofreadingErrors collection that represents the sentences that failed the grammar check on the specified range.
Public property HighlightColorIndex Returns or sets the highlight color for the specified range.
Public property HorizontalInVertical Returns or sets the formatting for horizontal text set within vertical text.
Public property HTMLDivisions Returns a HTMLDivisions object that represents an HTML division in a Web document.
Public property Hyperlinks Returns a Hyperlinks collection that represents all the hyperlinks in the specified range.
Public property ID Returns or sets the identifying label for the specified object when the current document is saved as a Web page.
Public property Information Returns information about the specified selection or range.
Public property InlineShapes Returns a InlineShapes collection that represents all the InlineShape objects in a document, range, or selection.
Public property IsEndOfRowMark Determines if the specified range is collapsed and is located at the end-of-row mark in a table.
Public property Italic Determines if the range is formatted as italic.
Public property ItalicBi Determines if the range is formatted as italic.
Public property Kana Returns or sets whether the specified range of Japanese language text is hiragana or katakana.
Public property LanguageDetected Returns or sets a value that specifies whether Microsoft Word has detected the language of the specified text.
Public property LanguageID Returns or sets the language for the specified object.
Public property LanguageIDFarEast Returns or sets an East Asian language for the specified object.
Public property LanguageIDOther Returns or sets the language for the specified object.
Public property ListFormat Returns a ListFormat object that represents all the list formatting characteristics of a range.
Public property ListParagraphs Returns a ListParagraphs collection that represents all the numbered paragraphs in the range.
Public property ListStyle Returns an Object that represents the style used to format a bulleted list or numbered list. Read-only.
Public property Locks Gets a CoAuthLocks collection object that represents all the locks in the range.
Public property NextStoryRange Returns a Range object that refers to the next story as shown in the following table.
Public property NoProofing Determines if the spelling and grammar checker ignores the specified text.
Public property OMaths Returns an OMaths collection that represents the OMath objects within the specified range. Read-only.
Public property Orientation Returns or sets the orientation of text in a range when the Text Direction feature is enabled.
Public property PageSetup Returns a PageSetup object that's associated with the specified range.
Public property ParagraphFormat Returns or sets a ParagraphFormat object that represents the paragraph settings for the specified range.
Public property Paragraphs Returns a Paragraphs collection that represents all the paragraphs in the specified range.
Public property ParagraphStyle Returns an Object that represents the style used to format a paragraph. Read-only.
Public property Parent Returns an object that represents the parent object of the specified object.
Public property ParentContentControl Returns a ContentControl object that represents the parent content control for the specified range. Read-only.
Public property PreviousBookmarkID Returns the number of the last bookmark that starts before or at the same place as the specified range.
Public property ReadabilityStatistics Returns a ReadabilityStatistics collection that represents the readability statistics for the specified range.
Public property Revisions Returns a Revisions collection that represents the tracked changes in the range.
Public property Rows Returns a Rows collection that represents all the table rows in a range.
Public property Scripts Returns a Scripts collection that represents the collection of HTML scripts in the specified object.
Public property Sections Returns a Sections collection that represents the sections in the specified range.
Public property Sentences Returns a Sentences collection that represents all the sentences in the range.
Public property Shading Returns a Shading object that refers to the shading formatting for the specified object.
Public property ShapeRange Returns a ShapeRange collection that represents all the Shape objects in the specified range.
Public property ShowAll Determines if all nonprinting characters (such as hidden text, tab marks, space marks, and paragraph marks) are displayed.
Public property SmartTags Returns a SmartTags object that represents a smart tag in a range.
Public property SpellingChecked Determines if spelling has been checked throughout the specified range.
Public property SpellingErrors Returns a ProofreadingErrors collection that represents the words identified as spelling errors in the specified range.
Public property Start Returns or sets the starting character position of a range.
Public property StoryLength Returns the number of characters in the story that contains the specified range.
Public property StoryType Returns the story type for the specified range.
Public property Style Returns or sets the style for the specified object.
Public property Subdocuments Returns a Subdocuments collection that represents all the subdocuments in the specified range.
Public property SynonymInfo Returns a SynonymInfo object that contains information from the thesaurus on synonyms, antonyms, or related words and expressions for the specified word or phrase.
Public property Tables Returns a Tables collection that represents all the tables in the specified range.
Public property TableStyle Returns a Object that represents the style used to format a table. Read-only.
Public property Text Returns or sets the text in the specified range.
Public property TextRetrievalMode Returns a TextRetrievalMode object that controls how text is retrieved from the specified range.
Public property TopLevelTables Returns a Tables collection that represents the tables at the outermost nesting level in the current range.
Public property TwoLinesInOne Returns or sets whether Microsoft Word sets two lines of text in one and specifies the characters that enclose the text, if any.
Public property Underline Returns or sets the type of underline applied to the range.
Public property Updates Gets a CoAuthUpdates collection object that represents all the available updates in the range.
Public property WordOpenXML Returns a String that represents the XML contained within the range in the Microsoft Office Word Open XML format. Read-only.
Public property Words Returns a Words collection that represents all the words in a range.
Public property XML Returns a String that represents the XML text in the specified object.
Public property XMLNodes Returns a XMLNodes collection that represents the collection of all XML elements within a document or in a range— including those elements that are only partially within the range.
Public property XMLParentNode Returns a XMLNode object that represents the parent node of a selection or range.
Top

Community Additions

ADD
Show: