SevenPDFComObject
Previous

Name
  convertToPdf

Parent
  TSevenPDFObjConverter

Visibility
  PROTECTED

Description
  Starts a conversion run.

Source code
  function convertToPdf ( inputFilepath , outputFilePath : PWideChar ; overwriteIfExists : Integer ) : SYSINT ; stdcall

Parameters
 
Parameter Description
inputFilepath : PWideChar The file that you would like to convert to PDF. You have
to use a absolut file path like C:\files\letter.doc
outputFilePath : PWideChar Where to store the converted PDF. Use and absolut path!
overwriteIfExists : INTEGER Possible is -> 0: Not overwrite, 1: overwrite pdf
files, if exists.

Return
 
Types Description
SYSINT The returncodes of the conversion run.
Possible is:
0 -> pdf creation engine failed.
1 -> pdf creation finished successfully.
99 -> Init methode not called before (necessary).
100 -> outputFilePath is empty or destination path not exists.
101 -> Fileextension of outputFilePath is not ".pdf".
102 -> Filetype of inputFilepath is empty.
103 -> Filetype of inputFilepath not supported.
104 -> inputFilepath is empty or not exists.
105 -> general error: conversion early aborted.

SevenPDFComObject
Previous


Copyright Thorsten Hodes, 7-PDF Germany (c) 2011
Created with DelphiCodeToDoc. To obtain the latest revision, please visit http://dephicodetodoc.sourceforge.net/