This sample shows how to extract vector paths from a page and copy them to a new document using Docotic.Pdf library.
Use one of the PdfPage.GetObjects methods to get the collection of page objects. Then enumerate the collection and use objects of the PdfPath type to extract vector paths.
A path is a one or more disconnected sub-paths. Each sub-path comprises a sequence of connected segments.