PDF Creator Pilot documentation |
Download CHM version of this manual. |
|
![]() ![]() Collapse AllThis property provides additional information about the producer of the current PDF document.
|
| BSTR DocumentInfo_Producer { get; set; } |
Value
String with producer information
Remarks
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.
Example
Setting Document Information
Delphi
[copy to clipboard]
{ 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;
C/C++
[copy to clipboard]
// 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();
C#
[copy to clipboard]
// 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();
Visual Basic Script
[copy to clipboard]
' 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
See Also


