CorelDRAW X6 C# API Creating shapes from coordinates, doesn't work correctly.

My code:

Curve curve = coreldrawdocument.CreateCurve();
SubPath sp = scrv.CreateSubPath(0,0);
sp.AppendLineSegment(1,1);
Shape sh = coreldrawdocument.ActiveDocument.ActivePage.ActiveLayer.CreateCurve(scrv);

The problem is, that I want to see a curve on my document which goes from (0,0) to (1,1) but instead my curve goes form (0,0) to (1270,1270).
I would very much appreciate if you could help me.

CP