ITextCaret::MoveToPreferredCoordinates Method ()

 

Moves the caret to the preferred x- and y-coordinates.

Namespace:   Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

CaretPosition MoveToPreferredCoordinates()

Return Value

Type: Microsoft.VisualStudio.Text.Editor::CaretPosition

A CaretPosition that contains the valid values of the caret position after the move has occurred.

You cannot change the preferred coordinates by calling this method.

Return to top
Show: