Effortlessly clear your CustomPartCollection with our efficient Clear method, removing all elements for seamless management and enhanced performance....access a document’s arbitrary custom parts collection. Document doc...doc = new Document ( MyDir + "Custom parts OOXML package.docx"...