PDF Creator Pilot documentation |
Download CHM version of this manual. |
|
![]() ![]() Collapse AllGets or sets value indicating whether to produce PDF/A compatible output file.
|
| VARIANT_BOOL ProducePDFA { get; set; } |
Value
VARIANT_TRUE if document should be produced with PDF/A compatible output file.
Remarks
Setting ProducePDFA to TRUE means that output PDF file will be built compatible to PDF/A standard. You should set this property before calling BeginDoc. You can check this property in any time.
Analogue in new interface: IPDFDocument4::ProducePDFA.
Example
How to produce PDF/A compatible document
Delphi
[copy to clipboard]
{ PDF object is supposed to be created }
PDF.StartEngine('demo', 'demo');
PDF.AutoLaunch := false;
PDF.FileName := 'Report.pdf';
PDF.Resolution = 96;
PDF.ProducePDFA := true;
PDF.BeginDoc;
{ Here we create our document and fill it's contents. }
PDF.EndDoc;
{ Now the file created is PDA/A compatible. }
C/C++
[copy to clipboard]
// PDF object is supposed to be created
PDF->StartEngine("demo", "demo");
PDF->AutoLaunch = FALSE;
PDF->FileName = "Report.pdf";
PDF->Resolution = 96;
PDF->ProducePDFA = TRUE;
PDF->BeginDoc();
// Here we create our document and fill it's contents.
PDF->EndDoc();
// Now the file created is PDA/A compatible.
C#
[copy to clipboard]
// PDF object is supposed to be created
PDF.StartEngine("demo", "demo");
PDF.AutoLaunch = false;
PDF.FileName = "Report.pdf";
PDF.Resolution = 96;
PDF.ProducePDFA = true;
PDF.BeginDoc();
// Here we create our document and fill it's contents.
PDF.EndDoc();
// Now the file created is PDA/A compatible.
Visual Basic
[copy to clipboard]
' PDF object is supposed to be created PDF.StartEngine "demo", "demo" PDF.AutoLaunch = False PDF.FileName = "Report.pdf" PDF.Resolution = 96 PDF.ProducePDFA = True PDF.BeginDoc ' Here we create our document and fill it's contents. PDF.EndDoc ' Now the file created is PDA/A compatible.
See Also
Reference


