WdInformation WdInformation WdInformation Enum

Definition

Specifies the type of information returned about a specified selection or range.

public enum class WdInformation
[System.Runtime.InteropServices.Guid("26E3C1D3-6937-3EFA-8859-7FFC81869CE5")]
public enum WdInformation
Public Enum WdInformation
Inheritance
WdInformationWdInformationWdInformation
Attributes

Fields

wdActiveEndAdjustedPageNumber wdActiveEndAdjustedPageNumber wdActiveEndAdjustedPageNumber 1

Returns the number of the page that contains the active end of the specified selection or range. If you set a starting page number or make other manual adjustments, returns the adjusted page number (unlike wdActiveEndPageNumber).

wdActiveEndPageNumber wdActiveEndPageNumber wdActiveEndPageNumber 3

Returns the number of the page that contains the active end of the specified selection or range, counting from the beginning of the document. Any manual adjustments to page numbering are disregarded (unlike wdActiveEndAdjustedPageNumber).

wdActiveEndSectionNumber wdActiveEndSectionNumber wdActiveEndSectionNumber 2

Returns the number of the section that contains the active end of the specified selection or range.

wdAtEndOfRowMarker wdAtEndOfRowMarker wdAtEndOfRowMarker 31

Returns True if the specified selection or range is at the end-of-row mark in a table.

wdCapsLock wdCapsLock wdCapsLock 21

Returns True if Caps Lock is in effect.

wdEndOfRangeColumnNumber wdEndOfRangeColumnNumber wdEndOfRangeColumnNumber 17

Returns the table column number that contains the end of the specified selection or range.

wdEndOfRangeRowNumber wdEndOfRangeRowNumber wdEndOfRangeRowNumber 14

Returns the table row number that contains the end of the specified selection or range.

wdFirstCharacterColumnNumber wdFirstCharacterColumnNumber wdFirstCharacterColumnNumber 9

Returns the character position of the first character in the specified selection or range. If the selection or range is collapsed, the character number immediately to the right of the range or selection is returned (this is the same as the character column number displayed in the status bar after "Col").

wdFirstCharacterLineNumber wdFirstCharacterLineNumber wdFirstCharacterLineNumber 10

Returns the character position of the first character in the specified selection or range. If the selection or range is collapsed, the character number immediately to the right of the range or selection is returned (this is the same as the character line number displayed in the status bar after "Ln").

wdFrameIsSelected wdFrameIsSelected wdFrameIsSelected 11

Returns True if the selection or range is an entire frame or text box.

wdHeaderFooterType wdHeaderFooterType wdHeaderFooterType 33

Returns a value that indicates the type of header or footer that contains the specified selection or range, as shown in the following table.

wdHorizontalPositionRelativeToPage wdHorizontalPositionRelativeToPage wdHorizontalPositionRelativeToPage 5

Returns the horizontal position of the specified selection or range; this is the distance from the left edge of the selection or range to the left edge of the page measured in points (1 point = 20 twips, 72 points = 1 inch). If the selection or range isn't within the screen area, returns – 1.

wdHorizontalPositionRelativeToTextBoundary wdHorizontalPositionRelativeToTextBoundary wdHorizontalPositionRelativeToTextBoundary 7

Returns the horizontal position of the specified selection or range relative to the left edge of the nearest text boundary enclosing it, in points (1 point = 20 twips, 72 points = 1 inch). If the selection or range isn't within the screen area, returns - 1.

wdInBibliography wdInBibliography wdInBibliography 42

Returns True if the specified selection or range is in a bibliography.

wdInCitation wdInCitation wdInCitation 43

Returns True if the specified selection or range is in a citation.

wdInClipboard wdInClipboard wdInClipboard 38

For information about this constant, consult the language reference Help included with Microsoft Office Macintosh Edition.

wdInCommentPane wdInCommentPane wdInCommentPane 26

Returns True if the specified selection or range is in a comment pane.

wdInContentControl wdInContentControl wdInContentControl 46

Returns True if the specified selection or range is in a content control.

wdInCoverPage wdInCoverPage wdInCoverPage 41

Returns True if the specified selection or range is in a cover page.

wdInEndnote wdInEndnote wdInEndnote 36

Returns True if the specified selection or range is in an endnote area in print layout view or in the endnote pane in normal view.

wdInFieldCode wdInFieldCode wdInFieldCode 44

Returns True if the specified selection or range is in a field code.

wdInFieldResult wdInFieldResult wdInFieldResult 45

Returns True if the specified selection or range is in a field result.

wdInFootnote wdInFootnote wdInFootnote 35

Returns True if the specified selection or range is in a footnote area in print layout view or in the footnote pane in normal view.

wdInFootnoteEndnotePane wdInFootnoteEndnotePane wdInFootnoteEndnotePane 25

Returns True if the specified selection or range is in the footnote or endnote pane in normal view or in a footnote or endnote area in print layout view. For more information, see the descriptions of wdInFootnote and wdInEndnote in the preceding paragraphs.

wdInHeaderFooter wdInHeaderFooter wdInHeaderFooter 28

Returns True if the selection or range is in the header or footer pane or in a header or footer in print layout view.

wdInMasterDocument wdInMasterDocument wdInMasterDocument 34

Returns True if the selection or range is in a master document (that is, a document that contains at least one subdocument).

wdInWordMail wdInWordMail wdInWordMail 37

Returns True if the selection or range is in the header or footer pane or in a header or footer in print layout view.

wdMaximumNumberOfColumns wdMaximumNumberOfColumns wdMaximumNumberOfColumns 18

Returns the greatest number of table columns within any row in the selection or range.

wdMaximumNumberOfRows wdMaximumNumberOfRows wdMaximumNumberOfRows 15

Returns the greatest number of table rows within the table in the specified selection or range.

wdNumberOfPagesInDocument wdNumberOfPagesInDocument wdNumberOfPagesInDocument 4

Returns the number of pages in the document associated with the selection or range.

wdNumLock wdNumLock wdNumLock 22

Returns True if Num Lock is in effect.

wdOverType wdOverType wdOverType 23

Returns True if Overtype mode is in effect. The Overtype property can be used to change the state of the Overtype mode.

wdReferenceOfType wdReferenceOfType wdReferenceOfType 32

Returns a value that indicates where the selection is in relation to a footnote, endnote, or comment reference, as shown in the following table.

wdRevisionMarking wdRevisionMarking wdRevisionMarking 24

Returns True if change tracking is in effect.

wdSelectionMode wdSelectionMode wdSelectionMode 20

Returns a value that indicates the current selection mode, as shown in the following table.

wdStartOfRangeColumnNumber wdStartOfRangeColumnNumber wdStartOfRangeColumnNumber 16

Returns the table column number that contains the beginning of the selection or range.

wdStartOfRangeRowNumber wdStartOfRangeRowNumber wdStartOfRangeRowNumber 13

Returns the table row number that contains the beginning of the selection or range.

wdVerticalPositionRelativeToPage wdVerticalPositionRelativeToPage wdVerticalPositionRelativeToPage 6

Returns the vertical position of the selection or range; this is the distance from the top edge of the selection to the top edge of the page measured in points (1 point = 20 twips, 72 points = 1 inch). If the selection isn't visible in the document window, returns – 1.

wdVerticalPositionRelativeToTextBoundary wdVerticalPositionRelativeToTextBoundary wdVerticalPositionRelativeToTextBoundary 8

Returns the vertical position of the selection or range relative to the top edge of the nearest text boundary enclosing it, in points (1 point = 20 twips, 72 points = 1 inch). This is useful for determining the position of the insertion point within a frame or table cell. If the selection isn't visible, returns – 1.

wdWithInTable wdWithInTable wdWithInTable 12

Returns True if the selection is in a table.

wdZoomPercentage wdZoomPercentage wdZoomPercentage 19

Returns the current percentage of magnification as set by the Percentage property.

Applies to