Components for Developers
© 2000-2012, Two Pilots

PDF Library Download Features Manual Tutorials FAQ Pricing HTML2PDF-X Pilot History In the Lab

PDF Creator Pilot documentation

Download CHM version of this manual.
General document methods
Abort
Aborted
AddColorTransformationRule
AddImageFromBitmapHandle
AddImageFromBuffer
AddImageFromFile
AddImageFromFilename
AddImageFromMemory
AddImageWithColorMask
AddImageWithMask
AddTTFFontFromFile
AddTTFFontFromFile2
AddType1FontFromFile
AutoCreateURL
AutoLaunch
BeginDoc
BinaryImage
Compression
CreateWaterMark
CurrentWaterMarkIndex
DocumentInfo_Author
DocumentInfo_CreationDate
DocumentInfo_Creator
DocumentInfo_Keywords
DocumentInfo_Producer
DocumentInfo_Subject
DocumentInfo_Title
EndDoc
FileName
FlipImage
FontEmbedStyle
GenerateInMemoryFile
GetCurrentPageIndex
GetImageCount
GetImageHeight
GetImageResolution
GetImageWidth
GetUsedDC
GetUsedDCResolution
GlyphsToUnicodeStr
HDC
InitialZoom
InitialZoom2
JPEGQuality
LastError
LoadICCProfile
LogActionsAndErrors
LogTextOperation
MakeImageGrayScale
MakeImageNegative
MemoryFileSize
MetafileImagesCompressionType
MetafileImagesJpegCompression
NewPage
NonEmbeddedFonts
NonEmbeddedFonts_Add
NotEmbedAnyFonts
OnePass
OutputByteStream
OwnerPassword
PageCount
PageHeight
PageLayout
PageMode
PageNumber
PageWidth
PlaceImageToCurrentPage
PlayEMF
PrinterForVirtualDC
Printing
ProducePDFA
ProtectionEnabled
ProtectionKeyLength
ProtectionOptions_coAssembly
ProtectionOptions_coCopyInformation
ProtectionOptions_coExtractInfo
ProtectionOptions_coFillAnnotation
ProtectionOptions_coModifyAnnotation
ProtectionOptions_coModifyStructure
ProtectionOptions_coPrint
ProtectionOptions_coPrintHigh
Resolution
SetCurrentPage
SetPDFAOutputIntent
SetPDFXOutputIntent
StartEngine
SwitchedToWatermark
TransformColors
UseCurrentDocumentResolutionForNextPages
UserPassword
UseScreenDC
Version
ViewerPreferences_vpCenterWindow
ViewerPreferences_vpFitWindow
ViewerPreferences_vpHideMenuBar
ViewerPreferences_vpHideToolBar
ViewerPreferences_vpHideWindowUI
Collapse All

This property gets or sets the value indicating whether to produce a PDF/A compatible output file.

Syntax

VARIANT_BOOL ProducePDFA { get; set; }
Value
VARIANT_TRUE if document should be produced with PDF/A compatible output file, VARIANT_FALSE otherwise.

Remarks

Setting ProducePDFA to VARIANT_TRUE means that the output PDF file will be built compatible to the PDF/A standard. You should set this property before calling BeginDoc. You can check this property at any time.

Equivalent in new interface: IPDFDocument4::ProducePDFA.

Example

How to Produce a 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

PDF Library Download Features Manual Tutorials FAQ Pricing HTML2PDF-X Pilot History In the Lab

 

 

PDF Library | Virtual Printer | Converters to PDF

Support | Blog | Forum | Contacts

© 2000-2012, Two Pilots