I am sharing it here.i hope my code will help someone.
How to draw arc in pdf xchange editor. Choose insert menu> drawing> select rectangle , circle or basic shape or click rectangle , circle or basic shapebutton in the drawing toolbar. Select the marker icon in the comment toolbar to activate the draw free form tool. It creates a pdf document with the name drawingarc.pdf, draws an arc in it, and saves it in the path c:/itextexamples/.
Especially through its menu options “document”, “comments”, and “tools” users have access to a range of additional features, in addition to those expected from a pdf tool, to modify and personalize. Click the diagonal line icon and choose the shape you want. Once you’re finished, save your pdf.
Check out some of the features added in this new major version of the software: Select drawing tool step 5: This of course requires that you have a license to adobe illustrator.
During the marking process, the previously selected text is highlighted in blue. Adjust the size, color, and position as needed—similar to a drawing. Open your pdf file step 2:
Select one curve type from the curve submenu: Web open your pdf with the pdf editor. With the pdf xchange editor, you can import your own stamps into the editor.
Then, clicking on the properties. Save your work step 8: Web first, under edit > preferences > measurements make sure you are using the right units for your drawings.