Aspose.PDF makes it easy to extract vector data from a PDF file. You can get the vector data (path, polygon, polyline), such as position, color, linewidth, etc.... import os import aspose.pdf as ap def ...file. Close the document. import os import aspose.pdf as ap def ...