ITextCaret.MoveToPreferredCoordinates 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 caret to the preferred x and y-coordinates.
public:
Microsoft::VisualStudio::Text::Editor::CaretPosition MoveToPreferredCoordinates();
Microsoft::VisualStudio::Text::Editor::CaretPosition MoveToPreferredCoordinates();
public Microsoft.VisualStudio.Text.Editor.CaretPosition MoveToPreferredCoordinates ();
abstract member MoveToPreferredCoordinates : unit -> Microsoft.VisualStudio.Text.Editor.CaretPosition
Public Function MoveToPreferredCoordinates () As CaretPosition
Returns
A CaretPosition that contains the valid values of the caret position after the move has occurred.
Remarks
You cannot change the preferred coordinates by calling this method.