Skip to main content
Pie
ra0

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCanvas.MoveTo(Integer,Integer) Method

Moves the current pen position to a specified point on the canvas.

#Declaration

Delphi
procedure MoveTo(X: Integer; Y: Integer);

#Parameters

Name Type
X Integer
Y Integer

#Remarks

Call this procedure and pass the coordinates of a point as the X and Y parameters to move the current pen position to this point. This is useful if you need to draw a new separate line or shape.

See Also