RichEditTextRange.MoveEnd(TextRangeUnit, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Moves the end position of the text range.
public:
virtual int MoveEnd(TextRangeUnit unit, int count) = MoveEnd;
int MoveEnd(TextRangeUnit const& unit, int const& count);
public int MoveEnd(TextRangeUnit unit, int count);
function moveEnd(unit, count)
Public Function MoveEnd (unit As TextRangeUnit, count As Integer) As Integer
Parameters
- unit
- TextRangeUnit
The unit by which to move the end position of the text range. The default value is Character.
- count
-
Int32
int
The number of _unit_s to move the end position of the text range. The default value is 1. If count is greater than zero, the end position moves forward, toward the end of the story. If count is less than zero, the end position move backward, toward the beginning of the story. If count is zero, the end position does not move.
Returns
int
The actual number of _unit_s that the end position of the text range moved.
Implements
Applies to
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro