fantastic Jarek!...
thanks so much....
you are genius! It helps me to do like this..
var myGraphicLine = page.graphicLines.add();
myGraphicLine.paths.item(0).pathPoints.item(1).anchor = [page.bounds[0] + page.marginPreferences.left, page.bounds[2] + 10];
thanks so much Jarek.....