How to set properties like Author name,creation Date in WinForms PDF?
The DocumentInformation of WinForms PDF class can be used to set the document informations like,
- Title
- Author
- Keywords
- Subject
- Producer
- CreationDate
C#
//Setting various Document properties.
doc.DocumentInformation.Title = "Document Properties";
doc.DocumentInformation.Author = "Syncfusion";
doc.DocumentInformation.Keywords = "PDF";
doc.DocumentInformation.Subject = "PDF demo.";
doc.DocumentInformation.Producer = "Syncfusion Software"; doc.DocumentInformation.CreationDate = DateTime.Now;
VB
''Setting various Document properties.
doc.DocumentInformation.Title = "Document Properties"
doc.DocumentInformation.Author = "Syncfusion"
doc.DocumentInformation.Keywords = "PDF"
doc.DocumentInformation.Subject = "PDF demo."
doc.DocumentInformation.Producer = "Syncfusion Software"
doc.DocumentInformation.CreationDate = DateTime.Now
Please do find the sample from the below specified location,
http://www.syncfusion.com/support/user/uploads/PDF_DocpropDemo_3f5134e.zip
Conclusion
I hope you enjoyed learning about how to set properties like Author name,creation Date in WinForms PDF?
You can refer to our WinForm PDF Feature tour page to know about its other groundbreaking feature representations. You can also explore our WinForms Gridgroupingcontrol Documentation to understand how to manipulate data.
For current customers you can check out on our Winforms components from the License and Download page. If you are new to Syncfusion, you can try our 30-day free trial to check out our Winforms GridGroupingControl and other WinForms components.
If you have any queries or require clarifications, please let us know in the comment section below. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!