This documentation is archived and is not being maintained.

TextPoint.AbsoluteCharOffset Property

Gets the one-based character offset from the beginning of the document to the TextPoint object.

Namespace: EnvDTE
Assembly: EnvDTE (in envdte.dll)

property int AbsoluteCharOffset {
	int get ();
}
/** @property */
int get_AbsoluteCharOffset ()

function get AbsoluteCharOffset () : int

Property Value

An integer value indicating the one-based character offset from the beginning of the document to the TextPoint object.

AbsoluteCharOffset returns the number of characters from the top of the document to the object. The LineCharOffset property determines the number of characters only from the beginning of the line containing the object. New line characters count as one character.

Character numbering begins at one.

Show: