Discover how the CustomPart ContentType property defines your custom part's content type, enhancing functionality and user experience.... Document doc = new Document ( MyDir + "Custom...package.docx" ); Assert . That ( doc . PackageCustomParts . Count...