Effortlessly save your Documents with our smart save method, automatically selecting the right format based on the file extension for seamless storage....Document doc = new Document ( MyDir + "Document.docx" ); doc . Save...Document doc = new Document ( MyDir + "Document.docx" ); doc . Save...