共用方式為


TextPoint.AbsoluteCharOffset Property

Definition

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

public:
 property int AbsoluteCharOffset { int get(); };
public:
 property int AbsoluteCharOffset { int get(); };
[System.Runtime.InteropServices.DispId(13)]
public int AbsoluteCharOffset { [System.Runtime.InteropServices.DispId(13)] get; }
[<System.Runtime.InteropServices.DispId(13)>]
[<get: System.Runtime.InteropServices.DispId(13)>]
member this.AbsoluteCharOffset : int
Public ReadOnly Property AbsoluteCharOffset As Integer

Property Value

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

Attributes

Remarks

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.

Applies to