General document methods
IPDFDocument3

See Also
Collapse All

General methods and properties for working with a PDF document.

Abort Clears all internal data and stops the generation of the PDF document.
Aborted This read-only property gets the value indicating if generation of the PDF document was stopped using the Abort method.
AddColorTransformationRule This method sets the color conversion rule for transforming one color into another.
AddImageFromBitmapHandle This method inserts an image (using the memory handle) into a PDF document and returns the index of the image.
AddImageFromBuffer This method inserts an image from a memory buffer into a PDF document and returns the index of the image.
AddImageFromFile This method inserts an image from a file into a PDF document and returns the index of the image.
AddImageFromFilename This method inserts an image from a file into a PDF document and returns the index of the image.
AddImageFromMemory This method inserts an image from an imageBuffer (containing image data) into a PDF document and returns the index of the image.
AddImageWithColorMask This method inserts an image from a file into a PDF document and returns the index of the image.
AddImageWithMask This method inserts an image from a file using a second monochrome image file as a mask for transparency.
AddTTFFontFromFile This method adds a TTF font from a file and returns the font name.
AddTTFFontFromFile2 This method adds a TTF font from a file using the default character set and returns the font name.
AddType1FontFromFile This method adds a Type1 font from a file and returns the font name.
AutoCreateURL This property controls automatic URL creation.
AutoLaunch This property controls the launching of an automatic PDF reader.
BeginDoc This method initializes processes for a new PDF document.
BinaryImage This property returns a generated PDF document as a byte array.
Compression This property gets or sets the value indicating whether PDF page streams are compressed or not.
CreateWaterMark This method creates a watermark in a PDF document.
CurrentWaterMarkIndex This property gets or sets the current watermark index.
DocumentInfo_Author This property provides additional information about the author of the current PDF document.
DocumentInfo_CreationDate This property provides additional information about the creation date of the current PDF document.
DocumentInfo_Creator This property provides additional information about the creator of the current PDF document.
DocumentInfo_Keywords This property gets or sets keywords for the current PDF document.
DocumentInfo_Producer This property provides additional information about the producer of the current PDF document.
DocumentInfo_Subject This property gets or sets the subject of the current PDF document.
DocumentInfo_Title This property gets or sets the title of the current PDF document.
EndDoc This method finalizes processes for a new PDF document and flushes data.
FileName This property gets or sets the file name for a PDF document.
FlipImage This method vertically flips the image with the specified index.
FontEmbedStyle This property gets or sets the style for embedded fonts in the current document.
GenerateInMemoryFile This property gets or sets the value indicating where a PDF document should be written (in memory or elsewhere).
GetCurrentPageIndex This method returns the index of the current page.
GetImageCount This method retrieves the number of images in the current PDF document.
GetImageHeight This method retrieves the height of the image with the specified index.
GetImageResolution This method retrieves the resolution of the image with the specified index.
GetImageWidth This method retrieves the width of the image with the specified index.
GetUsedDC This method gets the handle of a device context (HDC) of a PDF document for use with EMF drawing functions.
GetUsedDCResolution This method returns the resolution (in DPI) of the PDF document's device context.
GlyphsToUnicodeStr This method translates a string containing an array of glyph indexes to a unicode string.
HDC This property gets a PDF document's device context handle for EMF drawing functions.
InitialZoom This property gets or sets the zoom level (in percent) to use when the document is opened.
InitialZoom2 This property gets or sets the zoom level to use when the document is opened.
JPEGQuality This property gets or sets the quality of JPEG images in a PDF document.
LastError This property gets the last error that occurred.
LoadICCProfile This method loads an ICC profile into a PDF document.
LogActionsAndErrors This property gets or sets a value indicating whether or not PDF Creator Pilot should log all actions and errors.
LogTextOperation This method enables or disables the logging of all text operations.
MakeImageGrayScale This method converts image colors to shades of gray.
MakeImageNegative This method inverts the colors in an image.
MemoryFileSize This property returns the size (in bytes) of a PDF file generated in memory.
MetafileImagesCompressionType This property gets or sets the value indicating the image compression type of EMF files.
MetafileImagesJpegCompression This property gets or sets the value indicating the quality of JPEG image compression in EMF files.
NewPage This method creates a new PDF page.
NonEmbeddedFonts This property gets or sets a list of non-embedded fonts.
NonEmbeddedFonts_Add This method adds a font to the list of non-embedded fonts.
NotEmbedAnyFonts This (deprecated) method prohibits embedding any font in a PDF document.
OnePass This property is deprecated and does nothing. Do not use it.
OutputByteStream This property returns a generated PDF document as a string.
OwnerPassword This property gets or sets a password for edit-protection of the PDF document.
PageCount This property gets the number of pages in the current PDF document.
PageHeight This property gets the height (in pixels) of the current page.
PageLayout This property get or sets the value indicating how the document is viewed when opened.
PageMode This property gets or sets viewing modes when the document is opened.
PageNumber This property gets the number of an active PDF page.
PageWidth This property gets the width (in pixels) of the current page.
PlaceImageToCurrentPage This method draws an image in a PDF document.
PlayEMF This method adds a metafile to a PDF document.
PrinterForVirtualDC This property gets or sets the name of the printer to use for virtual DC creation.
Printing This property gets the value indicating whether document generation is in progress or not.
ProducePDFA This property gets or sets the value indicating whether to produce a PDF/A compatible output file.
ProtectionEnabled This property gets or sets the value indicating whether encryption of the PDF document is enabled.
ProtectionKeyLength This property gets or sets protection key length.
ProtectionOptions_coAssembly This property allows or prohibits assembling the document.
ProtectionOptions_coCopyInformation This property allows or prohibits copying content in a PDF document.
ProtectionOptions_coExtractInfo This property allows or prohibits extracting text and graphics in a PDF document.
ProtectionOptions_coFillAnnotation This property allows or prohibits filling in interactive form fields (including signature fields) in a PDF document, even if ProtectionOptions_coModifyAnnotation  is set to VARIANT_FALSE.
ProtectionOptions_coModifyAnnotation This property allows or prohibits interacting with text annotations and forms in a PDF document.
ProtectionOptions_coModifyStructure This property allows or prohibits modifying a PDF document.
ProtectionOptions_coPrint This property allows or prohibits printing a PDF document.
ProtectionOptions_coPrintHigh This property allows or prohibits printing the document to a representation from which a faithful digital copy of the PDF content could be generated.
Resolution This property gets or sets the resolution for new pages.
SetCurrentPage This method selects a specified page of the PDF document.
SetPDFAOutputIntent This method sets the specified ICC profile as a PDF/A compatible output intent of a PDF document.
SetPDFXOutputIntent This method sets the specified ICC profile as a PDF/X compatible output intent of a PDF document.
StartEngine This method starts the PDF engine.
SwitchedToWatermark This property gets or sets the watermark mode.
TransformColors This method sets the specified ICC profile which all colors will be transformed to.
UseCurrentDocumentResolutionForNextPages This method is deprecated and does nothing. Do not use it.
UserPassword This property gets or sets the password for view-protection of the PDF document.
UseScreenDC This property gets or sets the value indicating whether to use the screen DC for EMF drawings or not.
Version This property gets or sets the version of the PDF document format.
ViewerPreferences_vpCenterWindow This property gets or sets the value indicating whether the PDF reader should center the document on the screen.
ViewerPreferences_vpFitWindow This property gets or sets the value indicating whether the PDF reader should fit the first page to screen size.
ViewerPreferences_vpHideMenuBar This property gets or sets the value indicating whether the PDF reader should hide a menu.
ViewerPreferences_vpHideToolBar This property gets or sets the value indicating whether the PDF reader should hide toolbars.
ViewerPreferences_vpHideWindowUI This property gets or sets the value indicating whether the PDF reader should hide all user interface elements, except navigation elements.

See Also

Reference