BSTR DocumentInfo_Producer { get; set; } |
The producer is the application that created the PDF file.
Note: You must have an Application License to set this property.
Equivalent in new interface: IPDFDocument4::SetProducer, IPDFDocument4::UnicodeProducer.
{ PDF object is supposed to be created } PDF.BeginDoc; PDF.DocumentInfo_Author := 'John Doe'; PDF.DocumentInfo_Subject := 'John Doe's Biography'; PDF.DocumentInfo_Title := 'John Doe's Biography'; PDF.DocumentInfo_Keywords := 'John, Doe, Biography'; PDF.DocumentInfo_CreationDate := Now; PDF.DocumentInfo_Producer := 'MyApplication v1.0'; PDF.DocumentInfo_Creator := 'MyEngine v1.0'; { other manipulations with document } PDF.EndDoc;
// PDF object is supposed to be created PDF->BeginDoc(); PDF->DocumentInfo_Author = "John Doe"; PDF->DocumentInfo_Subject = "John Doe's Biography"; PDF->DocumentInfo_Title = "John Doe's Biography"; PDF->DocumentInfo_Keywords = "John, Doe, Biography"; PDF->DocumentInfo_CreationDate = COleDateTime::GetCurrentTime().m_dt; PDF->DocumentInfo_Producer = "MyApplication v1.0"; PDF->DocumentInfo_Creator = "MyEngine v1.0"; // other manipulations with document PDF->EndDoc();
// PDF object is supposed to be created PDF.BeginDoc(); PDF.DocumentInfo_Author = "John Doe"; PDF.DocumentInfo_Subject = "John Doe's Biography"; PDF.DocumentInfo_Title = "John Doe's Biography"; PDF.DocumentInfo_Keywords = "John, Doe, Biography"; PDF.DocumentInfo_CreationDate = DateTime.Now; PDF.DocumentInfo_Producer = "MyApplication v1.0"; PDF.DocumentInfo_Creator = "MyEngine v1.0"; // other manipulations with document PDF.EndDoc();
' PDF object is supposed to be created PDF.BeginDoc PDF.DocumentInfo_Author = "John Doe" PDF.DocumentInfo_Subject = "John Doe's Biography" PDF.DocumentInfo_Title = "John Doe's Biography" PDF.DocumentInfo_Keywords = "John, Doe, Biography" PDF.DocumentInfo_CreationDate = Now PDF.DocumentInfo_Producer = "MyApplication v1.0" PDF.DocumentInfo_Creator = "MyEngine v1.0" ' other manipulations with document PDF.EndDoc