Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

9253 řádky
458KB

  1. // Debenu Quick PDF Library
  2. // DLL Edition
  3. // Version 10.13
  4. // Copyright © 1999 - 2014 Debenu Pty Ltd
  5. // DebenuPDFLibraryDLL1013.cpp
  6. // C# import header for .NET
  7. // This file was generated by an automated process on 27 February 2014
  8. // http://www.debenu.com/
  9. using System;
  10. using System.Text;
  11. using System.Reflection;
  12. using System.Collections.Generic;
  13. using System.Runtime.InteropServices;
  14. namespace DebenuPDFLibraryDLL1013
  15. {
  16. class DLL
  17. {
  18. public IntPtr dllHandle = IntPtr.Zero;
  19. private List<int> shutDownList = new List<int>();
  20. public void RegisterForShutdown(int instanceID)
  21. {
  22. shutDownList.Add(instanceID);
  23. }
  24. public DLL(string dllFileName)
  25. {
  26. dllHandle = LoadLibrary(dllFileName);
  27. if (dllHandle != IntPtr.Zero)
  28. {
  29. DebenuPDFLibraryAddArcToPath = (DelegateIIDDD)Marshal.GetDelegateForFunctionPointer(
  30. GetProcAddress(dllHandle, "DPLAddArcToPath"), typeof(DelegateIIDDD));
  31. DebenuPDFLibraryAddBoxToPath = (DelegateIIDDDD)Marshal.GetDelegateForFunctionPointer(
  32. GetProcAddress(dllHandle, "DPLAddBoxToPath"), typeof(DelegateIIDDDD));
  33. DebenuPDFLibraryAddCJKFont = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  34. GetProcAddress(dllHandle, "DPLAddCJKFont"), typeof(DelegateIII));
  35. DebenuPDFLibraryAddCurveToPath = (DelegateIIDDDDDD)Marshal.GetDelegateForFunctionPointer(
  36. GetProcAddress(dllHandle, "DPLAddCurveToPath"), typeof(DelegateIIDDDDDD));
  37. DebenuPDFLibraryAddEmbeddedFile = (DelegateIIWW)Marshal.GetDelegateForFunctionPointer(
  38. GetProcAddress(dllHandle, "DPLAddEmbeddedFile"), typeof(DelegateIIWW));
  39. DebenuPDFLibraryAddFileAttachment = (DelegateIIWI)Marshal.GetDelegateForFunctionPointer(
  40. GetProcAddress(dllHandle, "DPLAddFileAttachment"), typeof(DelegateIIWI));
  41. DebenuPDFLibraryAddFormFieldChoiceSub = (DelegateIIIWW)Marshal.GetDelegateForFunctionPointer(
  42. GetProcAddress(dllHandle, "DPLAddFormFieldChoiceSub"), typeof(DelegateIIIWW));
  43. DebenuPDFLibraryAddFormFieldSub = (DelegateIIIW)Marshal.GetDelegateForFunctionPointer(
  44. GetProcAddress(dllHandle, "DPLAddFormFieldSub"), typeof(DelegateIIIW));
  45. DebenuPDFLibraryAddFormFont = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  46. GetProcAddress(dllHandle, "DPLAddFormFont"), typeof(DelegateIII));
  47. DebenuPDFLibraryAddFreeTextAnnotation = (DelegateIIDDDDWII)Marshal.GetDelegateForFunctionPointer(
  48. GetProcAddress(dllHandle, "DPLAddFreeTextAnnotation"), typeof(DelegateIIDDDDWII));
  49. DebenuPDFLibraryAddGlobalJavaScript = (DelegateIIWW)Marshal.GetDelegateForFunctionPointer(
  50. GetProcAddress(dllHandle, "DPLAddGlobalJavaScript"), typeof(DelegateIIWW));
  51. DebenuPDFLibraryAddImageFromFile = (DelegateIIWI)Marshal.GetDelegateForFunctionPointer(
  52. GetProcAddress(dllHandle, "DPLAddImageFromFile"), typeof(DelegateIIWI));
  53. DebenuPDFLibraryAddImageFromFileOffset = (DelegateIIWIII)Marshal.GetDelegateForFunctionPointer(
  54. GetProcAddress(dllHandle, "DPLAddImageFromFileOffset"), typeof(DelegateIIWIII));
  55. DebenuPDFLibraryAddImageFromString = (DelegateIIBI)Marshal.GetDelegateForFunctionPointer(
  56. GetProcAddress(dllHandle, "DPLAddImageFromString"), typeof(DelegateIIBI));
  57. DebenuPDFLibraryAddLGIDictToPage = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  58. GetProcAddress(dllHandle, "DPLAddLGIDictToPage"), typeof(DelegateIIW));
  59. DebenuPDFLibraryAddLineToPath = (DelegateIIDD)Marshal.GetDelegateForFunctionPointer(
  60. GetProcAddress(dllHandle, "DPLAddLineToPath"), typeof(DelegateIIDD));
  61. DebenuPDFLibraryAddLinkToDestination = (DelegateIIDDDDII)Marshal.GetDelegateForFunctionPointer(
  62. GetProcAddress(dllHandle, "DPLAddLinkToDestination"), typeof(DelegateIIDDDDII));
  63. DebenuPDFLibraryAddLinkToEmbeddedFile = (DelegateIIDDDDIWWII)Marshal.GetDelegateForFunctionPointer(
  64. GetProcAddress(dllHandle, "DPLAddLinkToEmbeddedFile"), typeof(DelegateIIDDDDIWWII));
  65. DebenuPDFLibraryAddLinkToFile = (DelegateIIDDDDWIDII)Marshal.GetDelegateForFunctionPointer(
  66. GetProcAddress(dllHandle, "DPLAddLinkToFile"), typeof(DelegateIIDDDDWIDII));
  67. DebenuPDFLibraryAddLinkToFileDest = (DelegateIIDDDDWWDII)Marshal.GetDelegateForFunctionPointer(
  68. GetProcAddress(dllHandle, "DPLAddLinkToFileDest"), typeof(DelegateIIDDDDWWDII));
  69. DebenuPDFLibraryAddLinkToFileEx = (DelegateIIDDDDWIIIIIDDDD)Marshal.GetDelegateForFunctionPointer(
  70. GetProcAddress(dllHandle, "DPLAddLinkToFileEx"), typeof(DelegateIIDDDDWIIIIIDDDD));
  71. DebenuPDFLibraryAddLinkToJavaScript = (DelegateIIDDDDWI)Marshal.GetDelegateForFunctionPointer(
  72. GetProcAddress(dllHandle, "DPLAddLinkToJavaScript"), typeof(DelegateIIDDDDWI));
  73. DebenuPDFLibraryAddLinkToLocalFile = (DelegateIIDDDDWI)Marshal.GetDelegateForFunctionPointer(
  74. GetProcAddress(dllHandle, "DPLAddLinkToLocalFile"), typeof(DelegateIIDDDDWI));
  75. DebenuPDFLibraryAddLinkToPage = (DelegateIIDDDDIDI)Marshal.GetDelegateForFunctionPointer(
  76. GetProcAddress(dllHandle, "DPLAddLinkToPage"), typeof(DelegateIIDDDDIDI));
  77. DebenuPDFLibraryAddLinkToWeb = (DelegateIIDDDDWI)Marshal.GetDelegateForFunctionPointer(
  78. GetProcAddress(dllHandle, "DPLAddLinkToWeb"), typeof(DelegateIIDDDDWI));
  79. DebenuPDFLibraryAddNoteAnnotation = (DelegateIIDDIDDDDWWDDDI)Marshal.GetDelegateForFunctionPointer(
  80. GetProcAddress(dllHandle, "DPLAddNoteAnnotation"), typeof(DelegateIIDDIDDDDWWDDDI));
  81. DebenuPDFLibraryAddOpenTypeFontFromFile = (DelegateIIWI)Marshal.GetDelegateForFunctionPointer(
  82. GetProcAddress(dllHandle, "DPLAddOpenTypeFontFromFile"), typeof(DelegateIIWI));
  83. DebenuPDFLibraryAddPageLabels = (DelegateIIIIIW)Marshal.GetDelegateForFunctionPointer(
  84. GetProcAddress(dllHandle, "DPLAddPageLabels"), typeof(DelegateIIIIIW));
  85. DebenuPDFLibraryAddSVGAnnotationFromFile = (DelegateIIDDDDWI)Marshal.GetDelegateForFunctionPointer(
  86. GetProcAddress(dllHandle, "DPLAddSVGAnnotationFromFile"), typeof(DelegateIIDDDDWI));
  87. DebenuPDFLibraryAddSWFAnnotationFromFile = (DelegateIIDDDDWWI)Marshal.GetDelegateForFunctionPointer(
  88. GetProcAddress(dllHandle, "DPLAddSWFAnnotationFromFile"), typeof(DelegateIIDDDDWWI));
  89. DebenuPDFLibraryAddSeparationColor = (DelegateIIWDDDDI)Marshal.GetDelegateForFunctionPointer(
  90. GetProcAddress(dllHandle, "DPLAddSeparationColor"), typeof(DelegateIIWDDDDI));
  91. DebenuPDFLibraryAddStampAnnotation = (DelegateIIDDDDIWWDDDI)Marshal.GetDelegateForFunctionPointer(
  92. GetProcAddress(dllHandle, "DPLAddStampAnnotation"), typeof(DelegateIIDDDDIWWDDDI));
  93. DebenuPDFLibraryAddStampAnnotationFromImage = (DelegateIIDDDDWWWDDDI)Marshal.GetDelegateForFunctionPointer(
  94. GetProcAddress(dllHandle, "DPLAddStampAnnotationFromImage"), typeof(DelegateIIDDDDWWWDDDI));
  95. DebenuPDFLibraryAddStandardFont = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  96. GetProcAddress(dllHandle, "DPLAddStandardFont"), typeof(DelegateIII));
  97. DebenuPDFLibraryAddSubsettedFont = (DelegateIIWIW)Marshal.GetDelegateForFunctionPointer(
  98. GetProcAddress(dllHandle, "DPLAddSubsettedFont"), typeof(DelegateIIWIW));
  99. DebenuPDFLibraryAddTextMarkupAnnotation = (DelegateIIIDDDD)Marshal.GetDelegateForFunctionPointer(
  100. GetProcAddress(dllHandle, "DPLAddTextMarkupAnnotation"), typeof(DelegateIIIDDDD));
  101. DebenuPDFLibraryAddToBuffer = (DelegateIIBBI)Marshal.GetDelegateForFunctionPointer(
  102. GetProcAddress(dllHandle, "DPLAddToBuffer"), typeof(DelegateIIBBI));
  103. DebenuPDFLibraryAddToFileList = (DelegateIIWW)Marshal.GetDelegateForFunctionPointer(
  104. GetProcAddress(dllHandle, "DPLAddToFileList"), typeof(DelegateIIWW));
  105. DebenuPDFLibraryAddTrueTypeFont = (DelegateIIWI)Marshal.GetDelegateForFunctionPointer(
  106. GetProcAddress(dllHandle, "DPLAddTrueTypeFont"), typeof(DelegateIIWI));
  107. DebenuPDFLibraryAddTrueTypeFontFromFile = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  108. GetProcAddress(dllHandle, "DPLAddTrueTypeFontFromFile"), typeof(DelegateIIW));
  109. DebenuPDFLibraryAddTrueTypeSubsettedFont = (DelegateIIWWI)Marshal.GetDelegateForFunctionPointer(
  110. GetProcAddress(dllHandle, "DPLAddTrueTypeSubsettedFont"), typeof(DelegateIIWWI));
  111. DebenuPDFLibraryAddType1Font = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  112. GetProcAddress(dllHandle, "DPLAddType1Font"), typeof(DelegateIIW));
  113. DebenuPDFLibraryAddU3DAnnotationFromFile = (DelegateIIDDDDWI)Marshal.GetDelegateForFunctionPointer(
  114. GetProcAddress(dllHandle, "DPLAddU3DAnnotationFromFile"), typeof(DelegateIIDDDDWI));
  115. DebenuPDFLibraryAnalyseFile = (DelegateIIWW)Marshal.GetDelegateForFunctionPointer(
  116. GetProcAddress(dllHandle, "DPLAnalyseFile"), typeof(DelegateIIWW));
  117. DebenuPDFLibraryAnnotationCount = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  118. GetProcAddress(dllHandle, "DPLAnnotationCount"), typeof(DelegateII));
  119. DebenuPDFLibraryAnsiStringResultLength = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  120. GetProcAddress(dllHandle, "DPLAnsiStringResultLength"), typeof(DelegateII));
  121. DebenuPDFLibraryAppendSpace = (DelegateIID)Marshal.GetDelegateForFunctionPointer(
  122. GetProcAddress(dllHandle, "DPLAppendSpace"), typeof(DelegateIID));
  123. DebenuPDFLibraryAppendTableColumns = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  124. GetProcAddress(dllHandle, "DPLAppendTableColumns"), typeof(DelegateIIII));
  125. DebenuPDFLibraryAppendTableRows = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  126. GetProcAddress(dllHandle, "DPLAppendTableRows"), typeof(DelegateIIII));
  127. DebenuPDFLibraryAppendText = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  128. GetProcAddress(dllHandle, "DPLAppendText"), typeof(DelegateIIW));
  129. DebenuPDFLibraryAppendToFile = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  130. GetProcAddress(dllHandle, "DPLAppendToFile"), typeof(DelegateIIW));
  131. DebenuPDFLibraryApplyStyle = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  132. GetProcAddress(dllHandle, "DPLApplyStyle"), typeof(DelegateIIW));
  133. DebenuPDFLibraryAttachAnnotToForm = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  134. GetProcAddress(dllHandle, "DPLAttachAnnotToForm"), typeof(DelegateIII));
  135. DebenuPDFLibraryBalanceContentStream = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  136. GetProcAddress(dllHandle, "DPLBalanceContentStream"), typeof(DelegateII));
  137. DebenuPDFLibraryBalancePageTree = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  138. GetProcAddress(dllHandle, "DPLBalancePageTree"), typeof(DelegateIII));
  139. DebenuPDFLibraryBeginPageUpdate = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  140. GetProcAddress(dllHandle, "DPLBeginPageUpdate"), typeof(DelegateII));
  141. DebenuPDFLibraryCapturePage = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  142. GetProcAddress(dllHandle, "DPLCapturePage"), typeof(DelegateIII));
  143. DebenuPDFLibraryCapturePageEx = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  144. GetProcAddress(dllHandle, "DPLCapturePageEx"), typeof(DelegateIIII));
  145. DebenuPDFLibraryCharWidth = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  146. GetProcAddress(dllHandle, "DPLCharWidth"), typeof(DelegateIII));
  147. DebenuPDFLibraryCheckFileCompliance = (DelegateIIWWII)Marshal.GetDelegateForFunctionPointer(
  148. GetProcAddress(dllHandle, "DPLCheckFileCompliance"), typeof(DelegateIIWWII));
  149. DebenuPDFLibraryCheckObjects = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  150. GetProcAddress(dllHandle, "DPLCheckObjects"), typeof(DelegateII));
  151. DebenuPDFLibraryCheckPageAnnots = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  152. GetProcAddress(dllHandle, "DPLCheckPageAnnots"), typeof(DelegateII));
  153. DebenuPDFLibraryCheckPassword = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  154. GetProcAddress(dllHandle, "DPLCheckPassword"), typeof(DelegateIIW));
  155. DebenuPDFLibraryClearFileList = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  156. GetProcAddress(dllHandle, "DPLClearFileList"), typeof(DelegateIIW));
  157. DebenuPDFLibraryClearImage = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  158. GetProcAddress(dllHandle, "DPLClearImage"), typeof(DelegateIII));
  159. DebenuPDFLibraryClearPageLabels = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  160. GetProcAddress(dllHandle, "DPLClearPageLabels"), typeof(DelegateII));
  161. DebenuPDFLibraryClearTextFormatting = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  162. GetProcAddress(dllHandle, "DPLClearTextFormatting"), typeof(DelegateII));
  163. DebenuPDFLibraryCloneOutlineAction = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  164. GetProcAddress(dllHandle, "DPLCloneOutlineAction"), typeof(DelegateIII));
  165. DebenuPDFLibraryClonePages = (DelegateIIIII)Marshal.GetDelegateForFunctionPointer(
  166. GetProcAddress(dllHandle, "DPLClonePages"), typeof(DelegateIIIII));
  167. DebenuPDFLibraryCloseOutline = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  168. GetProcAddress(dllHandle, "DPLCloseOutline"), typeof(DelegateIII));
  169. DebenuPDFLibraryClosePath = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  170. GetProcAddress(dllHandle, "DPLClosePath"), typeof(DelegateII));
  171. DebenuPDFLibraryCombineContentStreams = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  172. GetProcAddress(dllHandle, "DPLCombineContentStreams"), typeof(DelegateII));
  173. DebenuPDFLibraryCompareOutlines = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  174. GetProcAddress(dllHandle, "DPLCompareOutlines"), typeof(DelegateIIII));
  175. DebenuPDFLibraryCompressContent = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  176. GetProcAddress(dllHandle, "DPLCompressContent"), typeof(DelegateII));
  177. DebenuPDFLibraryCompressFonts = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  178. GetProcAddress(dllHandle, "DPLCompressFonts"), typeof(DelegateIII));
  179. DebenuPDFLibraryCompressImages = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  180. GetProcAddress(dllHandle, "DPLCompressImages"), typeof(DelegateIII));
  181. DebenuPDFLibraryCompressPage = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  182. GetProcAddress(dllHandle, "DPLCompressPage"), typeof(DelegateII));
  183. DebenuPDFLibraryContentStreamCount = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  184. GetProcAddress(dllHandle, "DPLContentStreamCount"), typeof(DelegateII));
  185. DebenuPDFLibraryContentStreamSafe = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  186. GetProcAddress(dllHandle, "DPLContentStreamSafe"), typeof(DelegateII));
  187. DebenuPDFLibraryCopyPageRanges = (DelegateIIIW)Marshal.GetDelegateForFunctionPointer(
  188. GetProcAddress(dllHandle, "DPLCopyPageRanges"), typeof(DelegateIIIW));
  189. DebenuPDFLibraryCopyPageRangesEx = (DelegateIIIWI)Marshal.GetDelegateForFunctionPointer(
  190. GetProcAddress(dllHandle, "DPLCopyPageRangesEx"), typeof(DelegateIIIWI));
  191. DebenuPDFLibraryCreateBuffer = (DelegateBII)Marshal.GetDelegateForFunctionPointer(
  192. GetProcAddress(dllHandle, "DPLCreateBuffer"), typeof(DelegateBII));
  193. DebenuPDFLibraryCreateLibrary = (DelegateI)Marshal.GetDelegateForFunctionPointer(
  194. GetProcAddress(dllHandle, "DPLCreateLibrary"), typeof(DelegateI));
  195. DebenuPDFLibraryCreateNewObject = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  196. GetProcAddress(dllHandle, "DPLCreateNewObject"), typeof(DelegateII));
  197. DebenuPDFLibraryCreateTable = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  198. GetProcAddress(dllHandle, "DPLCreateTable"), typeof(DelegateIIII));
  199. DebenuPDFLibraryDAAppendFile = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  200. GetProcAddress(dllHandle, "DPLDAAppendFile"), typeof(DelegateIII));
  201. DebenuPDFLibraryDACapturePage = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  202. GetProcAddress(dllHandle, "DPLDACapturePage"), typeof(DelegateIIII));
  203. DebenuPDFLibraryDACapturePageEx = (DelegateIIIII)Marshal.GetDelegateForFunctionPointer(
  204. GetProcAddress(dllHandle, "DPLDACapturePageEx"), typeof(DelegateIIIII));
  205. DebenuPDFLibraryDACloseFile = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  206. GetProcAddress(dllHandle, "DPLDACloseFile"), typeof(DelegateIII));
  207. DebenuPDFLibraryDADrawCapturedPage = (DelegateIIIIIDDDD)Marshal.GetDelegateForFunctionPointer(
  208. GetProcAddress(dllHandle, "DPLDADrawCapturedPage"), typeof(DelegateIIIIIDDDD));
  209. DebenuPDFLibraryDADrawRotatedCapturedPage = (DelegateIIIIIDDDDD)Marshal.GetDelegateForFunctionPointer(
  210. GetProcAddress(dllHandle, "DPLDADrawRotatedCapturedPage"), typeof(DelegateIIIIIDDDDD));
  211. DebenuPDFLibraryDAEmbedFileStreams = (DelegateIIIW)Marshal.GetDelegateForFunctionPointer(
  212. GetProcAddress(dllHandle, "DPLDAEmbedFileStreams"), typeof(DelegateIIIW));
  213. DebenuPDFLibraryDAExtractPageText = (DelegateWIIII)Marshal.GetDelegateForFunctionPointer(
  214. GetProcAddress(dllHandle, "DPLDAExtractPageText"), typeof(DelegateWIIII));
  215. DebenuPDFLibraryDAExtractPageTextBlocks = (DelegateIIIII)Marshal.GetDelegateForFunctionPointer(
  216. GetProcAddress(dllHandle, "DPLDAExtractPageTextBlocks"), typeof(DelegateIIIII));
  217. DebenuPDFLibraryDAFindPage = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  218. GetProcAddress(dllHandle, "DPLDAFindPage"), typeof(DelegateIIII));
  219. DebenuPDFLibraryDAGetAnnotationCount = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  220. GetProcAddress(dllHandle, "DPLDAGetAnnotationCount"), typeof(DelegateIIII));
  221. DebenuPDFLibraryDAGetFormFieldCount = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  222. GetProcAddress(dllHandle, "DPLDAGetFormFieldCount"), typeof(DelegateIII));
  223. DebenuPDFLibraryDAGetFormFieldTitle = (DelegateWIII)Marshal.GetDelegateForFunctionPointer(
  224. GetProcAddress(dllHandle, "DPLDAGetFormFieldTitle"), typeof(DelegateWIII));
  225. DebenuPDFLibraryDAGetFormFieldValue = (DelegateWIII)Marshal.GetDelegateForFunctionPointer(
  226. GetProcAddress(dllHandle, "DPLDAGetFormFieldValue"), typeof(DelegateWIII));
  227. DebenuPDFLibraryDAGetImageDataToString = (DelegateBIIII)Marshal.GetDelegateForFunctionPointer(
  228. GetProcAddress(dllHandle, "DPLDAGetImageDataToString"), typeof(DelegateBIIII));
  229. DebenuPDFLibraryDAGetImageDblProperty = (DelegateDIIIII)Marshal.GetDelegateForFunctionPointer(
  230. GetProcAddress(dllHandle, "DPLDAGetImageDblProperty"), typeof(DelegateDIIIII));
  231. DebenuPDFLibraryDAGetImageIntProperty = (DelegateIIIIII)Marshal.GetDelegateForFunctionPointer(
  232. GetProcAddress(dllHandle, "DPLDAGetImageIntProperty"), typeof(DelegateIIIIII));
  233. DebenuPDFLibraryDAGetImageListCount = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  234. GetProcAddress(dllHandle, "DPLDAGetImageListCount"), typeof(DelegateIIII));
  235. DebenuPDFLibraryDAGetInformation = (DelegateWIIW)Marshal.GetDelegateForFunctionPointer(
  236. GetProcAddress(dllHandle, "DPLDAGetInformation"), typeof(DelegateWIIW));
  237. DebenuPDFLibraryDAGetObjectCount = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  238. GetProcAddress(dllHandle, "DPLDAGetObjectCount"), typeof(DelegateIII));
  239. DebenuPDFLibraryDAGetObjectToString = (DelegateBIII)Marshal.GetDelegateForFunctionPointer(
  240. GetProcAddress(dllHandle, "DPLDAGetObjectToString"), typeof(DelegateBIII));
  241. DebenuPDFLibraryDAGetPageBox = (DelegateDIIIII)Marshal.GetDelegateForFunctionPointer(
  242. GetProcAddress(dllHandle, "DPLDAGetPageBox"), typeof(DelegateDIIIII));
  243. DebenuPDFLibraryDAGetPageContentToString = (DelegateBIII)Marshal.GetDelegateForFunctionPointer(
  244. GetProcAddress(dllHandle, "DPLDAGetPageContentToString"), typeof(DelegateBIII));
  245. DebenuPDFLibraryDAGetPageCount = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  246. GetProcAddress(dllHandle, "DPLDAGetPageCount"), typeof(DelegateIII));
  247. DebenuPDFLibraryDAGetPageHeight = (DelegateDIII)Marshal.GetDelegateForFunctionPointer(
  248. GetProcAddress(dllHandle, "DPLDAGetPageHeight"), typeof(DelegateDIII));
  249. DebenuPDFLibraryDAGetPageImageList = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  250. GetProcAddress(dllHandle, "DPLDAGetPageImageList"), typeof(DelegateIIII));
  251. DebenuPDFLibraryDAGetPageWidth = (DelegateDIII)Marshal.GetDelegateForFunctionPointer(
  252. GetProcAddress(dllHandle, "DPLDAGetPageWidth"), typeof(DelegateDIII));
  253. DebenuPDFLibraryDAGetTextBlockBound = (DelegateDIIII)Marshal.GetDelegateForFunctionPointer(
  254. GetProcAddress(dllHandle, "DPLDAGetTextBlockBound"), typeof(DelegateDIIII));
  255. DebenuPDFLibraryDAGetTextBlockCharWidth = (DelegateDIIII)Marshal.GetDelegateForFunctionPointer(
  256. GetProcAddress(dllHandle, "DPLDAGetTextBlockCharWidth"), typeof(DelegateDIIII));
  257. DebenuPDFLibraryDAGetTextBlockColor = (DelegateDIIII)Marshal.GetDelegateForFunctionPointer(
  258. GetProcAddress(dllHandle, "DPLDAGetTextBlockColor"), typeof(DelegateDIIII));
  259. DebenuPDFLibraryDAGetTextBlockColorType = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  260. GetProcAddress(dllHandle, "DPLDAGetTextBlockColorType"), typeof(DelegateIIII));
  261. DebenuPDFLibraryDAGetTextBlockCount = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  262. GetProcAddress(dllHandle, "DPLDAGetTextBlockCount"), typeof(DelegateIII));
  263. DebenuPDFLibraryDAGetTextBlockFontName = (DelegateWIII)Marshal.GetDelegateForFunctionPointer(
  264. GetProcAddress(dllHandle, "DPLDAGetTextBlockFontName"), typeof(DelegateWIII));
  265. DebenuPDFLibraryDAGetTextBlockFontSize = (DelegateDIII)Marshal.GetDelegateForFunctionPointer(
  266. GetProcAddress(dllHandle, "DPLDAGetTextBlockFontSize"), typeof(DelegateDIII));
  267. DebenuPDFLibraryDAGetTextBlockText = (DelegateWIII)Marshal.GetDelegateForFunctionPointer(
  268. GetProcAddress(dllHandle, "DPLDAGetTextBlockText"), typeof(DelegateWIII));
  269. DebenuPDFLibraryDAHasPageBox = (DelegateIIIII)Marshal.GetDelegateForFunctionPointer(
  270. GetProcAddress(dllHandle, "DPLDAHasPageBox"), typeof(DelegateIIIII));
  271. DebenuPDFLibraryDAHidePage = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  272. GetProcAddress(dllHandle, "DPLDAHidePage"), typeof(DelegateIIII));
  273. DebenuPDFLibraryDAMovePage = (DelegateIIIIII)Marshal.GetDelegateForFunctionPointer(
  274. GetProcAddress(dllHandle, "DPLDAMovePage"), typeof(DelegateIIIIII));
  275. DebenuPDFLibraryDANewPage = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  276. GetProcAddress(dllHandle, "DPLDANewPage"), typeof(DelegateIII));
  277. DebenuPDFLibraryDANewPages = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  278. GetProcAddress(dllHandle, "DPLDANewPages"), typeof(DelegateIIII));
  279. DebenuPDFLibraryDAOpenFile = (DelegateIIWW)Marshal.GetDelegateForFunctionPointer(
  280. GetProcAddress(dllHandle, "DPLDAOpenFile"), typeof(DelegateIIWW));
  281. DebenuPDFLibraryDAOpenFileReadOnly = (DelegateIIWW)Marshal.GetDelegateForFunctionPointer(
  282. GetProcAddress(dllHandle, "DPLDAOpenFileReadOnly"), typeof(DelegateIIWW));
  283. DebenuPDFLibraryDAPageRotation = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  284. GetProcAddress(dllHandle, "DPLDAPageRotation"), typeof(DelegateIIII));
  285. DebenuPDFLibraryDAReleaseImageList = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  286. GetProcAddress(dllHandle, "DPLDAReleaseImageList"), typeof(DelegateIIII));
  287. DebenuPDFLibraryDAReleaseTextBlocks = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  288. GetProcAddress(dllHandle, "DPLDAReleaseTextBlocks"), typeof(DelegateIII));
  289. DebenuPDFLibraryDARemoveUsageRights = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  290. GetProcAddress(dllHandle, "DPLDARemoveUsageRights"), typeof(DelegateIII));
  291. DebenuPDFLibraryDARenderPageToDC = (DelegateIIIIDC)Marshal.GetDelegateForFunctionPointer(
  292. GetProcAddress(dllHandle, "DPLDARenderPageToDC"), typeof(DelegateIIIIDC));
  293. DebenuPDFLibraryDARenderPageToFile = (DelegateIIIIIDW)Marshal.GetDelegateForFunctionPointer(
  294. GetProcAddress(dllHandle, "DPLDARenderPageToFile"), typeof(DelegateIIIIIDW));
  295. DebenuPDFLibraryDARenderPageToString = (DelegateBIIIID)Marshal.GetDelegateForFunctionPointer(
  296. GetProcAddress(dllHandle, "DPLDARenderPageToString"), typeof(DelegateBIIIID));
  297. DebenuPDFLibraryDARotatePage = (DelegateIIIIII)Marshal.GetDelegateForFunctionPointer(
  298. GetProcAddress(dllHandle, "DPLDARotatePage"), typeof(DelegateIIIIII));
  299. DebenuPDFLibraryDASaveAsFile = (DelegateIIIW)Marshal.GetDelegateForFunctionPointer(
  300. GetProcAddress(dllHandle, "DPLDASaveAsFile"), typeof(DelegateIIIW));
  301. DebenuPDFLibraryDASaveImageDataToFile = (DelegateIIIIIW)Marshal.GetDelegateForFunctionPointer(
  302. GetProcAddress(dllHandle, "DPLDASaveImageDataToFile"), typeof(DelegateIIIIIW));
  303. DebenuPDFLibraryDASetInformation = (DelegateIIIWW)Marshal.GetDelegateForFunctionPointer(
  304. GetProcAddress(dllHandle, "DPLDASetInformation"), typeof(DelegateIIIWW));
  305. DebenuPDFLibraryDASetPageBox = (DelegateIIIIIDDDD)Marshal.GetDelegateForFunctionPointer(
  306. GetProcAddress(dllHandle, "DPLDASetPageBox"), typeof(DelegateIIIIIDDDD));
  307. DebenuPDFLibraryDASetPageSize = (DelegateIIIIDD)Marshal.GetDelegateForFunctionPointer(
  308. GetProcAddress(dllHandle, "DPLDASetPageSize"), typeof(DelegateIIIIDD));
  309. DebenuPDFLibraryDASetTextExtractionArea = (DelegateIIDDDD)Marshal.GetDelegateForFunctionPointer(
  310. GetProcAddress(dllHandle, "DPLDASetTextExtractionArea"), typeof(DelegateIIDDDD));
  311. DebenuPDFLibraryDASetTextExtractionOptions = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  312. GetProcAddress(dllHandle, "DPLDASetTextExtractionOptions"), typeof(DelegateIIII));
  313. DebenuPDFLibraryDASetTextExtractionScaling = (DelegateIIIDD)Marshal.GetDelegateForFunctionPointer(
  314. GetProcAddress(dllHandle, "DPLDASetTextExtractionScaling"), typeof(DelegateIIIDD));
  315. DebenuPDFLibraryDASetTextExtractionWordGap = (DelegateIID)Marshal.GetDelegateForFunctionPointer(
  316. GetProcAddress(dllHandle, "DPLDASetTextExtractionWordGap"), typeof(DelegateIID));
  317. DebenuPDFLibraryDAShiftedHeader = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  318. GetProcAddress(dllHandle, "DPLDAShiftedHeader"), typeof(DelegateIII));
  319. DebenuPDFLibraryDecrypt = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  320. GetProcAddress(dllHandle, "DPLDecrypt"), typeof(DelegateII));
  321. DebenuPDFLibraryDecryptFile = (DelegateIIWWW)Marshal.GetDelegateForFunctionPointer(
  322. GetProcAddress(dllHandle, "DPLDecryptFile"), typeof(DelegateIIWWW));
  323. DebenuPDFLibraryDeleteAnalysis = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  324. GetProcAddress(dllHandle, "DPLDeleteAnalysis"), typeof(DelegateIII));
  325. DebenuPDFLibraryDeleteAnnotation = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  326. GetProcAddress(dllHandle, "DPLDeleteAnnotation"), typeof(DelegateIII));
  327. DebenuPDFLibraryDeleteContentStream = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  328. GetProcAddress(dllHandle, "DPLDeleteContentStream"), typeof(DelegateII));
  329. DebenuPDFLibraryDeleteFormField = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  330. GetProcAddress(dllHandle, "DPLDeleteFormField"), typeof(DelegateIII));
  331. DebenuPDFLibraryDeleteOptionalContentGroup = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  332. GetProcAddress(dllHandle, "DPLDeleteOptionalContentGroup"), typeof(DelegateIII));
  333. DebenuPDFLibraryDeletePageLGIDict = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  334. GetProcAddress(dllHandle, "DPLDeletePageLGIDict"), typeof(DelegateIII));
  335. DebenuPDFLibraryDeletePages = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  336. GetProcAddress(dllHandle, "DPLDeletePages"), typeof(DelegateIIII));
  337. DebenuPDFLibraryDocJavaScriptAction = (DelegateIIWW)Marshal.GetDelegateForFunctionPointer(
  338. GetProcAddress(dllHandle, "DPLDocJavaScriptAction"), typeof(DelegateIIWW));
  339. DebenuPDFLibraryDocumentCount = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  340. GetProcAddress(dllHandle, "DPLDocumentCount"), typeof(DelegateII));
  341. DebenuPDFLibraryDrawArc = (DelegateIIDDDDDII)Marshal.GetDelegateForFunctionPointer(
  342. GetProcAddress(dllHandle, "DPLDrawArc"), typeof(DelegateIIDDDDDII));
  343. DebenuPDFLibraryDrawBarcode = (DelegateIIDDDDWII)Marshal.GetDelegateForFunctionPointer(
  344. GetProcAddress(dllHandle, "DPLDrawBarcode"), typeof(DelegateIIDDDDWII));
  345. DebenuPDFLibraryDrawBox = (DelegateIIDDDDI)Marshal.GetDelegateForFunctionPointer(
  346. GetProcAddress(dllHandle, "DPLDrawBox"), typeof(DelegateIIDDDDI));
  347. DebenuPDFLibraryDrawCapturedPage = (DelegateIIIDDDD)Marshal.GetDelegateForFunctionPointer(
  348. GetProcAddress(dllHandle, "DPLDrawCapturedPage"), typeof(DelegateIIIDDDD));
  349. DebenuPDFLibraryDrawCapturedPageMatrix = (DelegateIIIDDDDDD)Marshal.GetDelegateForFunctionPointer(
  350. GetProcAddress(dllHandle, "DPLDrawCapturedPageMatrix"), typeof(DelegateIIIDDDDDD));
  351. DebenuPDFLibraryDrawCircle = (DelegateIIDDDI)Marshal.GetDelegateForFunctionPointer(
  352. GetProcAddress(dllHandle, "DPLDrawCircle"), typeof(DelegateIIDDDI));
  353. DebenuPDFLibraryDrawDataMatrixSymbol = (DelegateIIDDDWIII)Marshal.GetDelegateForFunctionPointer(
  354. GetProcAddress(dllHandle, "DPLDrawDataMatrixSymbol"), typeof(DelegateIIDDDWIII));
  355. DebenuPDFLibraryDrawEllipse = (DelegateIIDDDDI)Marshal.GetDelegateForFunctionPointer(
  356. GetProcAddress(dllHandle, "DPLDrawEllipse"), typeof(DelegateIIDDDDI));
  357. DebenuPDFLibraryDrawEllipticArc = (DelegateIIDDDDDDII)Marshal.GetDelegateForFunctionPointer(
  358. GetProcAddress(dllHandle, "DPLDrawEllipticArc"), typeof(DelegateIIDDDDDDII));
  359. DebenuPDFLibraryDrawHTMLText = (DelegateIIDDDW)Marshal.GetDelegateForFunctionPointer(
  360. GetProcAddress(dllHandle, "DPLDrawHTMLText"), typeof(DelegateIIDDDW));
  361. DebenuPDFLibraryDrawHTMLTextBox = (DelegateWIDDDDW)Marshal.GetDelegateForFunctionPointer(
  362. GetProcAddress(dllHandle, "DPLDrawHTMLTextBox"), typeof(DelegateWIDDDDW));
  363. DebenuPDFLibraryDrawHTMLTextBoxMatrix = (DelegateWIDDWDDDDDD)Marshal.GetDelegateForFunctionPointer(
  364. GetProcAddress(dllHandle, "DPLDrawHTMLTextBoxMatrix"), typeof(DelegateWIDDWDDDDDD));
  365. DebenuPDFLibraryDrawHTMLTextMatrix = (DelegateIIDWDDDDDD)Marshal.GetDelegateForFunctionPointer(
  366. GetProcAddress(dllHandle, "DPLDrawHTMLTextMatrix"), typeof(DelegateIIDWDDDDDD));
  367. DebenuPDFLibraryDrawImage = (DelegateIIDDDD)Marshal.GetDelegateForFunctionPointer(
  368. GetProcAddress(dllHandle, "DPLDrawImage"), typeof(DelegateIIDDDD));
  369. DebenuPDFLibraryDrawImageMatrix = (DelegateIIDDDDDD)Marshal.GetDelegateForFunctionPointer(
  370. GetProcAddress(dllHandle, "DPLDrawImageMatrix"), typeof(DelegateIIDDDDDD));
  371. DebenuPDFLibraryDrawIntelligentMailBarcode = (DelegateIIDDDDDDWI)Marshal.GetDelegateForFunctionPointer(
  372. GetProcAddress(dllHandle, "DPLDrawIntelligentMailBarcode"), typeof(DelegateIIDDDDDDWI));
  373. DebenuPDFLibraryDrawLine = (DelegateIIDDDD)Marshal.GetDelegateForFunctionPointer(
  374. GetProcAddress(dllHandle, "DPLDrawLine"), typeof(DelegateIIDDDD));
  375. DebenuPDFLibraryDrawMultiLineText = (DelegateIIDDWW)Marshal.GetDelegateForFunctionPointer(
  376. GetProcAddress(dllHandle, "DPLDrawMultiLineText"), typeof(DelegateIIDDWW));
  377. DebenuPDFLibraryDrawPDF417Symbol = (DelegateIIDDWI)Marshal.GetDelegateForFunctionPointer(
  378. GetProcAddress(dllHandle, "DPLDrawPDF417Symbol"), typeof(DelegateIIDDWI));
  379. DebenuPDFLibraryDrawPDF417SymbolEx = (DelegateIIDDWIIIIDD)Marshal.GetDelegateForFunctionPointer(
  380. GetProcAddress(dllHandle, "DPLDrawPDF417SymbolEx"), typeof(DelegateIIDDWIIIIDD));
  381. DebenuPDFLibraryDrawPath = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  382. GetProcAddress(dllHandle, "DPLDrawPath"), typeof(DelegateIII));
  383. DebenuPDFLibraryDrawPathEvenOdd = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  384. GetProcAddress(dllHandle, "DPLDrawPathEvenOdd"), typeof(DelegateIII));
  385. DebenuPDFLibraryDrawPostScriptXObject = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  386. GetProcAddress(dllHandle, "DPLDrawPostScriptXObject"), typeof(DelegateIII));
  387. DebenuPDFLibraryDrawQRCode = (DelegateIIDDDWII)Marshal.GetDelegateForFunctionPointer(
  388. GetProcAddress(dllHandle, "DPLDrawQRCode"), typeof(DelegateIIDDDWII));
  389. DebenuPDFLibraryDrawRotatedBox = (DelegateIIDDDDDI)Marshal.GetDelegateForFunctionPointer(
  390. GetProcAddress(dllHandle, "DPLDrawRotatedBox"), typeof(DelegateIIDDDDDI));
  391. DebenuPDFLibraryDrawRotatedCapturedPage = (DelegateIIIDDDDD)Marshal.GetDelegateForFunctionPointer(
  392. GetProcAddress(dllHandle, "DPLDrawRotatedCapturedPage"), typeof(DelegateIIIDDDDD));
  393. DebenuPDFLibraryDrawRotatedImage = (DelegateIIDDDDD)Marshal.GetDelegateForFunctionPointer(
  394. GetProcAddress(dllHandle, "DPLDrawRotatedImage"), typeof(DelegateIIDDDDD));
  395. DebenuPDFLibraryDrawRotatedMultiLineText = (DelegateIIDDDWW)Marshal.GetDelegateForFunctionPointer(
  396. GetProcAddress(dllHandle, "DPLDrawRotatedMultiLineText"), typeof(DelegateIIDDDWW));
  397. DebenuPDFLibraryDrawRotatedText = (DelegateIIDDDW)Marshal.GetDelegateForFunctionPointer(
  398. GetProcAddress(dllHandle, "DPLDrawRotatedText"), typeof(DelegateIIDDDW));
  399. DebenuPDFLibraryDrawRotatedTextBox = (DelegateIIDDDDDWI)Marshal.GetDelegateForFunctionPointer(
  400. GetProcAddress(dllHandle, "DPLDrawRotatedTextBox"), typeof(DelegateIIDDDDDWI));
  401. DebenuPDFLibraryDrawRotatedTextBoxEx = (DelegateIIDDDDDWIIII)Marshal.GetDelegateForFunctionPointer(
  402. GetProcAddress(dllHandle, "DPLDrawRotatedTextBoxEx"), typeof(DelegateIIDDDDDWIIII));
  403. DebenuPDFLibraryDrawRoundedBox = (DelegateIIDDDDDI)Marshal.GetDelegateForFunctionPointer(
  404. GetProcAddress(dllHandle, "DPLDrawRoundedBox"), typeof(DelegateIIDDDDDI));
  405. DebenuPDFLibraryDrawRoundedRotatedBox = (DelegateIIDDDDDDI)Marshal.GetDelegateForFunctionPointer(
  406. GetProcAddress(dllHandle, "DPLDrawRoundedRotatedBox"), typeof(DelegateIIDDDDDDI));
  407. DebenuPDFLibraryDrawScaledImage = (DelegateIIDDD)Marshal.GetDelegateForFunctionPointer(
  408. GetProcAddress(dllHandle, "DPLDrawScaledImage"), typeof(DelegateIIDDD));
  409. DebenuPDFLibraryDrawSpacedText = (DelegateIIDDDW)Marshal.GetDelegateForFunctionPointer(
  410. GetProcAddress(dllHandle, "DPLDrawSpacedText"), typeof(DelegateIIDDDW));
  411. DebenuPDFLibraryDrawTableRows = (DelegateDIIDDDII)Marshal.GetDelegateForFunctionPointer(
  412. GetProcAddress(dllHandle, "DPLDrawTableRows"), typeof(DelegateDIIDDDII));
  413. DebenuPDFLibraryDrawText = (DelegateIIDDW)Marshal.GetDelegateForFunctionPointer(
  414. GetProcAddress(dllHandle, "DPLDrawText"), typeof(DelegateIIDDW));
  415. DebenuPDFLibraryDrawTextArc = (DelegateIIDDDDWI)Marshal.GetDelegateForFunctionPointer(
  416. GetProcAddress(dllHandle, "DPLDrawTextArc"), typeof(DelegateIIDDDDWI));
  417. DebenuPDFLibraryDrawTextBox = (DelegateIIDDDDWI)Marshal.GetDelegateForFunctionPointer(
  418. GetProcAddress(dllHandle, "DPLDrawTextBox"), typeof(DelegateIIDDDDWI));
  419. DebenuPDFLibraryDrawTextBoxMatrix = (DelegateIIDDWIDDDDDD)Marshal.GetDelegateForFunctionPointer(
  420. GetProcAddress(dllHandle, "DPLDrawTextBoxMatrix"), typeof(DelegateIIDDWIDDDDDD));
  421. DebenuPDFLibraryDrawWrappedText = (DelegateIIDDDW)Marshal.GetDelegateForFunctionPointer(
  422. GetProcAddress(dllHandle, "DPLDrawWrappedText"), typeof(DelegateIIDDDW));
  423. DebenuPDFLibraryEditableContentStream = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  424. GetProcAddress(dllHandle, "DPLEditableContentStream"), typeof(DelegateII));
  425. DebenuPDFLibraryEmbedFile = (DelegateIIWWW)Marshal.GetDelegateForFunctionPointer(
  426. GetProcAddress(dllHandle, "DPLEmbedFile"), typeof(DelegateIIWWW));
  427. DebenuPDFLibraryEmbeddedFileCount = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  428. GetProcAddress(dllHandle, "DPLEmbeddedFileCount"), typeof(DelegateII));
  429. DebenuPDFLibraryEncapsulateContentStream = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  430. GetProcAddress(dllHandle, "DPLEncapsulateContentStream"), typeof(DelegateII));
  431. DebenuPDFLibraryEncodePermissions = (DelegateIIIIIIIIII)Marshal.GetDelegateForFunctionPointer(
  432. GetProcAddress(dllHandle, "DPLEncodePermissions"), typeof(DelegateIIIIIIIIII));
  433. DebenuPDFLibraryEncrypt = (DelegateIIWWII)Marshal.GetDelegateForFunctionPointer(
  434. GetProcAddress(dllHandle, "DPLEncrypt"), typeof(DelegateIIWWII));
  435. DebenuPDFLibraryEncryptFile = (DelegateIIWWWWII)Marshal.GetDelegateForFunctionPointer(
  436. GetProcAddress(dllHandle, "DPLEncryptFile"), typeof(DelegateIIWWWWII));
  437. DebenuPDFLibraryEncryptWithFingerprint = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  438. GetProcAddress(dllHandle, "DPLEncryptWithFingerprint"), typeof(DelegateIIW));
  439. DebenuPDFLibraryEncryptionAlgorithm = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  440. GetProcAddress(dllHandle, "DPLEncryptionAlgorithm"), typeof(DelegateII));
  441. DebenuPDFLibraryEncryptionStatus = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  442. GetProcAddress(dllHandle, "DPLEncryptionStatus"), typeof(DelegateII));
  443. DebenuPDFLibraryEncryptionStrength = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  444. GetProcAddress(dllHandle, "DPLEncryptionStrength"), typeof(DelegateII));
  445. DebenuPDFLibraryEndPageUpdate = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  446. GetProcAddress(dllHandle, "DPLEndPageUpdate"), typeof(DelegateII));
  447. DebenuPDFLibraryEndSignProcessToFile = (DelegateIIIW)Marshal.GetDelegateForFunctionPointer(
  448. GetProcAddress(dllHandle, "DPLEndSignProcessToFile"), typeof(DelegateIIIW));
  449. DebenuPDFLibraryEndSignProcessToString = (DelegateBII)Marshal.GetDelegateForFunctionPointer(
  450. GetProcAddress(dllHandle, "DPLEndSignProcessToString"), typeof(DelegateBII));
  451. DebenuPDFLibraryExtractFilePageContentToString = (DelegateBIWWI)Marshal.GetDelegateForFunctionPointer(
  452. GetProcAddress(dllHandle, "DPLExtractFilePageContentToString"), typeof(DelegateBIWWI));
  453. DebenuPDFLibraryExtractFilePageText = (DelegateWIWWII)Marshal.GetDelegateForFunctionPointer(
  454. GetProcAddress(dllHandle, "DPLExtractFilePageText"), typeof(DelegateWIWWII));
  455. DebenuPDFLibraryExtractFilePageTextBlocks = (DelegateIIWWII)Marshal.GetDelegateForFunctionPointer(
  456. GetProcAddress(dllHandle, "DPLExtractFilePageTextBlocks"), typeof(DelegateIIWWII));
  457. DebenuPDFLibraryExtractFilePages = (DelegateIIWWWW)Marshal.GetDelegateForFunctionPointer(
  458. GetProcAddress(dllHandle, "DPLExtractFilePages"), typeof(DelegateIIWWWW));
  459. DebenuPDFLibraryExtractFilePagesEx = (DelegateIIWWWWI)Marshal.GetDelegateForFunctionPointer(
  460. GetProcAddress(dllHandle, "DPLExtractFilePagesEx"), typeof(DelegateIIWWWWI));
  461. DebenuPDFLibraryExtractPageRanges = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  462. GetProcAddress(dllHandle, "DPLExtractPageRanges"), typeof(DelegateIIW));
  463. DebenuPDFLibraryExtractPageTextBlocks = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  464. GetProcAddress(dllHandle, "DPLExtractPageTextBlocks"), typeof(DelegateIII));
  465. DebenuPDFLibraryExtractPages = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  466. GetProcAddress(dllHandle, "DPLExtractPages"), typeof(DelegateIIII));
  467. DebenuPDFLibraryFileListCount = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  468. GetProcAddress(dllHandle, "DPLFileListCount"), typeof(DelegateIIW));
  469. DebenuPDFLibraryFileListItem = (DelegateWIWI)Marshal.GetDelegateForFunctionPointer(
  470. GetProcAddress(dllHandle, "DPLFileListItem"), typeof(DelegateWIWI));
  471. DebenuPDFLibraryFindFonts = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  472. GetProcAddress(dllHandle, "DPLFindFonts"), typeof(DelegateII));
  473. DebenuPDFLibraryFindFormFieldByTitle = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  474. GetProcAddress(dllHandle, "DPLFindFormFieldByTitle"), typeof(DelegateIIW));
  475. DebenuPDFLibraryFindImages = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  476. GetProcAddress(dllHandle, "DPLFindImages"), typeof(DelegateII));
  477. DebenuPDFLibraryFitImage = (DelegateIIDDDDIII)Marshal.GetDelegateForFunctionPointer(
  478. GetProcAddress(dllHandle, "DPLFitImage"), typeof(DelegateIIDDDDIII));
  479. DebenuPDFLibraryFitRotatedTextBox = (DelegateIIDDDDDWI)Marshal.GetDelegateForFunctionPointer(
  480. GetProcAddress(dllHandle, "DPLFitRotatedTextBox"), typeof(DelegateIIDDDDDWI));
  481. DebenuPDFLibraryFitTextBox = (DelegateIIDDDDWI)Marshal.GetDelegateForFunctionPointer(
  482. GetProcAddress(dllHandle, "DPLFitTextBox"), typeof(DelegateIIDDDDWI));
  483. DebenuPDFLibraryFlattenAnnot = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  484. GetProcAddress(dllHandle, "DPLFlattenAnnot"), typeof(DelegateIIII));
  485. DebenuPDFLibraryFlattenFormField = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  486. GetProcAddress(dllHandle, "DPLFlattenFormField"), typeof(DelegateIII));
  487. DebenuPDFLibraryFontCount = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  488. GetProcAddress(dllHandle, "DPLFontCount"), typeof(DelegateII));
  489. DebenuPDFLibraryFontFamily = (DelegateWI)Marshal.GetDelegateForFunctionPointer(
  490. GetProcAddress(dllHandle, "DPLFontFamily"), typeof(DelegateWI));
  491. DebenuPDFLibraryFontHasKerning = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  492. GetProcAddress(dllHandle, "DPLFontHasKerning"), typeof(DelegateII));
  493. DebenuPDFLibraryFontName = (DelegateWI)Marshal.GetDelegateForFunctionPointer(
  494. GetProcAddress(dllHandle, "DPLFontName"), typeof(DelegateWI));
  495. DebenuPDFLibraryFontReference = (DelegateWI)Marshal.GetDelegateForFunctionPointer(
  496. GetProcAddress(dllHandle, "DPLFontReference"), typeof(DelegateWI));
  497. DebenuPDFLibraryFontSize = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  498. GetProcAddress(dllHandle, "DPLFontSize"), typeof(DelegateII));
  499. DebenuPDFLibraryFontType = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  500. GetProcAddress(dllHandle, "DPLFontType"), typeof(DelegateII));
  501. DebenuPDFLibraryFormFieldCount = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  502. GetProcAddress(dllHandle, "DPLFormFieldCount"), typeof(DelegateII));
  503. DebenuPDFLibraryFormFieldHasParent = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  504. GetProcAddress(dllHandle, "DPLFormFieldHasParent"), typeof(DelegateIII));
  505. DebenuPDFLibraryFormFieldJavaScriptAction = (DelegateIIIWW)Marshal.GetDelegateForFunctionPointer(
  506. GetProcAddress(dllHandle, "DPLFormFieldJavaScriptAction"), typeof(DelegateIIIWW));
  507. DebenuPDFLibraryFormFieldWebLinkAction = (DelegateIIIWW)Marshal.GetDelegateForFunctionPointer(
  508. GetProcAddress(dllHandle, "DPLFormFieldWebLinkAction"), typeof(DelegateIIIWW));
  509. DebenuPDFLibraryGetActionDest = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  510. GetProcAddress(dllHandle, "DPLGetActionDest"), typeof(DelegateIII));
  511. DebenuPDFLibraryGetActionType = (DelegateWII)Marshal.GetDelegateForFunctionPointer(
  512. GetProcAddress(dllHandle, "DPLGetActionType"), typeof(DelegateWII));
  513. DebenuPDFLibraryGetActionURL = (DelegateWII)Marshal.GetDelegateForFunctionPointer(
  514. GetProcAddress(dllHandle, "DPLGetActionURL"), typeof(DelegateWII));
  515. DebenuPDFLibraryGetAnalysisInfo = (DelegateWIII)Marshal.GetDelegateForFunctionPointer(
  516. GetProcAddress(dllHandle, "DPLGetAnalysisInfo"), typeof(DelegateWIII));
  517. DebenuPDFLibraryGetAnnotActionID = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  518. GetProcAddress(dllHandle, "DPLGetAnnotActionID"), typeof(DelegateIII));
  519. DebenuPDFLibraryGetAnnotDblProperty = (DelegateDIII)Marshal.GetDelegateForFunctionPointer(
  520. GetProcAddress(dllHandle, "DPLGetAnnotDblProperty"), typeof(DelegateDIII));
  521. DebenuPDFLibraryGetAnnotDest = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  522. GetProcAddress(dllHandle, "DPLGetAnnotDest"), typeof(DelegateIII));
  523. DebenuPDFLibraryGetAnnotIntProperty = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  524. GetProcAddress(dllHandle, "DPLGetAnnotIntProperty"), typeof(DelegateIIII));
  525. DebenuPDFLibraryGetAnnotQuadCount = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  526. GetProcAddress(dllHandle, "DPLGetAnnotQuadCount"), typeof(DelegateIII));
  527. DebenuPDFLibraryGetAnnotQuadPoints = (DelegateDIIII)Marshal.GetDelegateForFunctionPointer(
  528. GetProcAddress(dllHandle, "DPLGetAnnotQuadPoints"), typeof(DelegateDIIII));
  529. DebenuPDFLibraryGetAnnotSoundToFile = (DelegateIIIIW)Marshal.GetDelegateForFunctionPointer(
  530. GetProcAddress(dllHandle, "DPLGetAnnotSoundToFile"), typeof(DelegateIIIIW));
  531. DebenuPDFLibraryGetAnnotSoundToString = (DelegateBIII)Marshal.GetDelegateForFunctionPointer(
  532. GetProcAddress(dllHandle, "DPLGetAnnotSoundToString"), typeof(DelegateBIII));
  533. DebenuPDFLibraryGetAnnotStrProperty = (DelegateWIII)Marshal.GetDelegateForFunctionPointer(
  534. GetProcAddress(dllHandle, "DPLGetAnnotStrProperty"), typeof(DelegateWIII));
  535. DebenuPDFLibraryGetBarcodeWidth = (DelegateDIDWI)Marshal.GetDelegateForFunctionPointer(
  536. GetProcAddress(dllHandle, "DPLGetBarcodeWidth"), typeof(DelegateDIDWI));
  537. DebenuPDFLibraryGetBaseURL = (DelegateWI)Marshal.GetDelegateForFunctionPointer(
  538. GetProcAddress(dllHandle, "DPLGetBaseURL"), typeof(DelegateWI));
  539. DebenuPDFLibraryGetCSDictEPSG = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  540. GetProcAddress(dllHandle, "DPLGetCSDictEPSG"), typeof(DelegateIII));
  541. DebenuPDFLibraryGetCSDictType = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  542. GetProcAddress(dllHandle, "DPLGetCSDictType"), typeof(DelegateIII));
  543. DebenuPDFLibraryGetCSDictWKT = (DelegateWII)Marshal.GetDelegateForFunctionPointer(
  544. GetProcAddress(dllHandle, "DPLGetCSDictWKT"), typeof(DelegateWII));
  545. DebenuPDFLibraryGetCanvasDC = (DelegateCIII)Marshal.GetDelegateForFunctionPointer(
  546. GetProcAddress(dllHandle, "DPLGetCanvasDC"), typeof(DelegateCIII));
  547. DebenuPDFLibraryGetCatalogInformation = (DelegateWIW)Marshal.GetDelegateForFunctionPointer(
  548. GetProcAddress(dllHandle, "DPLGetCatalogInformation"), typeof(DelegateWIW));
  549. DebenuPDFLibraryGetContentStreamToString = (DelegateBI)Marshal.GetDelegateForFunctionPointer(
  550. GetProcAddress(dllHandle, "DPLGetContentStreamToString"), typeof(DelegateBI));
  551. DebenuPDFLibraryGetCustomInformation = (DelegateWIW)Marshal.GetDelegateForFunctionPointer(
  552. GetProcAddress(dllHandle, "DPLGetCustomInformation"), typeof(DelegateWIW));
  553. DebenuPDFLibraryGetCustomKeys = (DelegateWII)Marshal.GetDelegateForFunctionPointer(
  554. GetProcAddress(dllHandle, "DPLGetCustomKeys"), typeof(DelegateWII));
  555. DebenuPDFLibraryGetDefaultPrinterName = (DelegateWI)Marshal.GetDelegateForFunctionPointer(
  556. GetProcAddress(dllHandle, "DPLGetDefaultPrinterName"), typeof(DelegateWI));
  557. DebenuPDFLibraryGetDestName = (DelegateWII)Marshal.GetDelegateForFunctionPointer(
  558. GetProcAddress(dllHandle, "DPLGetDestName"), typeof(DelegateWII));
  559. DebenuPDFLibraryGetDestPage = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  560. GetProcAddress(dllHandle, "DPLGetDestPage"), typeof(DelegateIII));
  561. DebenuPDFLibraryGetDestType = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  562. GetProcAddress(dllHandle, "DPLGetDestType"), typeof(DelegateIII));
  563. DebenuPDFLibraryGetDestValue = (DelegateDIII)Marshal.GetDelegateForFunctionPointer(
  564. GetProcAddress(dllHandle, "DPLGetDestValue"), typeof(DelegateDIII));
  565. DebenuPDFLibraryGetDocJavaScript = (DelegateWIW)Marshal.GetDelegateForFunctionPointer(
  566. GetProcAddress(dllHandle, "DPLGetDocJavaScript"), typeof(DelegateWIW));
  567. DebenuPDFLibraryGetDocumentFileName = (DelegateWI)Marshal.GetDelegateForFunctionPointer(
  568. GetProcAddress(dllHandle, "DPLGetDocumentFileName"), typeof(DelegateWI));
  569. DebenuPDFLibraryGetDocumentFileSize = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  570. GetProcAddress(dllHandle, "DPLGetDocumentFileSize"), typeof(DelegateII));
  571. DebenuPDFLibraryGetDocumentID = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  572. GetProcAddress(dllHandle, "DPLGetDocumentID"), typeof(DelegateIII));
  573. DebenuPDFLibraryGetDocumentIdentifier = (DelegateWIII)Marshal.GetDelegateForFunctionPointer(
  574. GetProcAddress(dllHandle, "DPLGetDocumentIdentifier"), typeof(DelegateWIII));
  575. DebenuPDFLibraryGetDocumentMetadata = (DelegateWI)Marshal.GetDelegateForFunctionPointer(
  576. GetProcAddress(dllHandle, "DPLGetDocumentMetadata"), typeof(DelegateWI));
  577. DebenuPDFLibraryGetDocumentRepaired = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  578. GetProcAddress(dllHandle, "DPLGetDocumentRepaired"), typeof(DelegateII));
  579. DebenuPDFLibraryGetDocumentResourceList = (DelegateWI)Marshal.GetDelegateForFunctionPointer(
  580. GetProcAddress(dllHandle, "DPLGetDocumentResourceList"), typeof(DelegateWI));
  581. DebenuPDFLibraryGetEmbeddedFileContentToFile = (DelegateIIIW)Marshal.GetDelegateForFunctionPointer(
  582. GetProcAddress(dllHandle, "DPLGetEmbeddedFileContentToFile"), typeof(DelegateIIIW));
  583. DebenuPDFLibraryGetEmbeddedFileContentToString = (DelegateBII)Marshal.GetDelegateForFunctionPointer(
  584. GetProcAddress(dllHandle, "DPLGetEmbeddedFileContentToString"), typeof(DelegateBII));
  585. DebenuPDFLibraryGetEmbeddedFileID = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  586. GetProcAddress(dllHandle, "DPLGetEmbeddedFileID"), typeof(DelegateIII));
  587. DebenuPDFLibraryGetEmbeddedFileIntProperty = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  588. GetProcAddress(dllHandle, "DPLGetEmbeddedFileIntProperty"), typeof(DelegateIIII));
  589. DebenuPDFLibraryGetEmbeddedFileStrProperty = (DelegateWIII)Marshal.GetDelegateForFunctionPointer(
  590. GetProcAddress(dllHandle, "DPLGetEmbeddedFileStrProperty"), typeof(DelegateWIII));
  591. DebenuPDFLibraryGetEncryptionFingerprint = (DelegateWI)Marshal.GetDelegateForFunctionPointer(
  592. GetProcAddress(dllHandle, "DPLGetEncryptionFingerprint"), typeof(DelegateWI));
  593. DebenuPDFLibraryGetFileMetadata = (DelegateWIWW)Marshal.GetDelegateForFunctionPointer(
  594. GetProcAddress(dllHandle, "DPLGetFileMetadata"), typeof(DelegateWIWW));
  595. DebenuPDFLibraryGetFirstChildOutline = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  596. GetProcAddress(dllHandle, "DPLGetFirstChildOutline"), typeof(DelegateIII));
  597. DebenuPDFLibraryGetFirstOutline = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  598. GetProcAddress(dllHandle, "DPLGetFirstOutline"), typeof(DelegateII));
  599. DebenuPDFLibraryGetFontEncoding = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  600. GetProcAddress(dllHandle, "DPLGetFontEncoding"), typeof(DelegateII));
  601. DebenuPDFLibraryGetFontFlags = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  602. GetProcAddress(dllHandle, "DPLGetFontFlags"), typeof(DelegateIII));
  603. DebenuPDFLibraryGetFontID = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  604. GetProcAddress(dllHandle, "DPLGetFontID"), typeof(DelegateIII));
  605. DebenuPDFLibraryGetFontIsEmbedded = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  606. GetProcAddress(dllHandle, "DPLGetFontIsEmbedded"), typeof(DelegateII));
  607. DebenuPDFLibraryGetFontIsSubsetted = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  608. GetProcAddress(dllHandle, "DPLGetFontIsSubsetted"), typeof(DelegateII));
  609. DebenuPDFLibraryGetFontMetrics = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  610. GetProcAddress(dllHandle, "DPLGetFontMetrics"), typeof(DelegateIII));
  611. DebenuPDFLibraryGetFontObjectNumber = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  612. GetProcAddress(dllHandle, "DPLGetFontObjectNumber"), typeof(DelegateII));
  613. DebenuPDFLibraryGetFormFieldActionID = (DelegateIIIW)Marshal.GetDelegateForFunctionPointer(
  614. GetProcAddress(dllHandle, "DPLGetFormFieldActionID"), typeof(DelegateIIIW));
  615. DebenuPDFLibraryGetFormFieldAlignment = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  616. GetProcAddress(dllHandle, "DPLGetFormFieldAlignment"), typeof(DelegateIII));
  617. DebenuPDFLibraryGetFormFieldAnnotFlags = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  618. GetProcAddress(dllHandle, "DPLGetFormFieldAnnotFlags"), typeof(DelegateIII));
  619. DebenuPDFLibraryGetFormFieldBackgroundColor = (DelegateDIII)Marshal.GetDelegateForFunctionPointer(
  620. GetProcAddress(dllHandle, "DPLGetFormFieldBackgroundColor"), typeof(DelegateDIII));
  621. DebenuPDFLibraryGetFormFieldBackgroundColorType = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  622. GetProcAddress(dllHandle, "DPLGetFormFieldBackgroundColorType"), typeof(DelegateIII));
  623. DebenuPDFLibraryGetFormFieldBorderColor = (DelegateDIII)Marshal.GetDelegateForFunctionPointer(
  624. GetProcAddress(dllHandle, "DPLGetFormFieldBorderColor"), typeof(DelegateDIII));
  625. DebenuPDFLibraryGetFormFieldBorderColorType = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  626. GetProcAddress(dllHandle, "DPLGetFormFieldBorderColorType"), typeof(DelegateIII));
  627. DebenuPDFLibraryGetFormFieldBorderProperty = (DelegateDIII)Marshal.GetDelegateForFunctionPointer(
  628. GetProcAddress(dllHandle, "DPLGetFormFieldBorderProperty"), typeof(DelegateDIII));
  629. DebenuPDFLibraryGetFormFieldBorderStyle = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  630. GetProcAddress(dllHandle, "DPLGetFormFieldBorderStyle"), typeof(DelegateIII));
  631. DebenuPDFLibraryGetFormFieldBound = (DelegateDIII)Marshal.GetDelegateForFunctionPointer(
  632. GetProcAddress(dllHandle, "DPLGetFormFieldBound"), typeof(DelegateDIII));
  633. DebenuPDFLibraryGetFormFieldCaption = (DelegateWII)Marshal.GetDelegateForFunctionPointer(
  634. GetProcAddress(dllHandle, "DPLGetFormFieldCaption"), typeof(DelegateWII));
  635. DebenuPDFLibraryGetFormFieldCheckStyle = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  636. GetProcAddress(dllHandle, "DPLGetFormFieldCheckStyle"), typeof(DelegateIII));
  637. DebenuPDFLibraryGetFormFieldChildTitle = (DelegateWII)Marshal.GetDelegateForFunctionPointer(
  638. GetProcAddress(dllHandle, "DPLGetFormFieldChildTitle"), typeof(DelegateWII));
  639. DebenuPDFLibraryGetFormFieldChoiceType = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  640. GetProcAddress(dllHandle, "DPLGetFormFieldChoiceType"), typeof(DelegateIII));
  641. DebenuPDFLibraryGetFormFieldColor = (DelegateDIII)Marshal.GetDelegateForFunctionPointer(
  642. GetProcAddress(dllHandle, "DPLGetFormFieldColor"), typeof(DelegateDIII));
  643. DebenuPDFLibraryGetFormFieldComb = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  644. GetProcAddress(dllHandle, "DPLGetFormFieldComb"), typeof(DelegateIII));
  645. DebenuPDFLibraryGetFormFieldDefaultValue = (DelegateWII)Marshal.GetDelegateForFunctionPointer(
  646. GetProcAddress(dllHandle, "DPLGetFormFieldDefaultValue"), typeof(DelegateWII));
  647. DebenuPDFLibraryGetFormFieldDescription = (DelegateWII)Marshal.GetDelegateForFunctionPointer(
  648. GetProcAddress(dllHandle, "DPLGetFormFieldDescription"), typeof(DelegateWII));
  649. DebenuPDFLibraryGetFormFieldFlags = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  650. GetProcAddress(dllHandle, "DPLGetFormFieldFlags"), typeof(DelegateIII));
  651. DebenuPDFLibraryGetFormFieldFontName = (DelegateWII)Marshal.GetDelegateForFunctionPointer(
  652. GetProcAddress(dllHandle, "DPLGetFormFieldFontName"), typeof(DelegateWII));
  653. DebenuPDFLibraryGetFormFieldJavaScript = (DelegateWIIW)Marshal.GetDelegateForFunctionPointer(
  654. GetProcAddress(dllHandle, "DPLGetFormFieldJavaScript"), typeof(DelegateWIIW));
  655. DebenuPDFLibraryGetFormFieldKidCount = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  656. GetProcAddress(dllHandle, "DPLGetFormFieldKidCount"), typeof(DelegateIII));
  657. DebenuPDFLibraryGetFormFieldKidTempIndex = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  658. GetProcAddress(dllHandle, "DPLGetFormFieldKidTempIndex"), typeof(DelegateIIII));
  659. DebenuPDFLibraryGetFormFieldMaxLen = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  660. GetProcAddress(dllHandle, "DPLGetFormFieldMaxLen"), typeof(DelegateIII));
  661. DebenuPDFLibraryGetFormFieldNoExport = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  662. GetProcAddress(dllHandle, "DPLGetFormFieldNoExport"), typeof(DelegateIII));
  663. DebenuPDFLibraryGetFormFieldPage = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  664. GetProcAddress(dllHandle, "DPLGetFormFieldPage"), typeof(DelegateIII));
  665. DebenuPDFLibraryGetFormFieldPrintable = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  666. GetProcAddress(dllHandle, "DPLGetFormFieldPrintable"), typeof(DelegateIII));
  667. DebenuPDFLibraryGetFormFieldReadOnly = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  668. GetProcAddress(dllHandle, "DPLGetFormFieldReadOnly"), typeof(DelegateIII));
  669. DebenuPDFLibraryGetFormFieldRequired = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  670. GetProcAddress(dllHandle, "DPLGetFormFieldRequired"), typeof(DelegateIII));
  671. DebenuPDFLibraryGetFormFieldRichTextString = (DelegateWIIW)Marshal.GetDelegateForFunctionPointer(
  672. GetProcAddress(dllHandle, "DPLGetFormFieldRichTextString"), typeof(DelegateWIIW));
  673. DebenuPDFLibraryGetFormFieldRotation = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  674. GetProcAddress(dllHandle, "DPLGetFormFieldRotation"), typeof(DelegateIII));
  675. DebenuPDFLibraryGetFormFieldSubCount = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  676. GetProcAddress(dllHandle, "DPLGetFormFieldSubCount"), typeof(DelegateIII));
  677. DebenuPDFLibraryGetFormFieldSubDisplayName = (DelegateWIII)Marshal.GetDelegateForFunctionPointer(
  678. GetProcAddress(dllHandle, "DPLGetFormFieldSubDisplayName"), typeof(DelegateWIII));
  679. DebenuPDFLibraryGetFormFieldSubName = (DelegateWIII)Marshal.GetDelegateForFunctionPointer(
  680. GetProcAddress(dllHandle, "DPLGetFormFieldSubName"), typeof(DelegateWIII));
  681. DebenuPDFLibraryGetFormFieldTabOrder = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  682. GetProcAddress(dllHandle, "DPLGetFormFieldTabOrder"), typeof(DelegateIII));
  683. DebenuPDFLibraryGetFormFieldTabOrderEx = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  684. GetProcAddress(dllHandle, "DPLGetFormFieldTabOrderEx"), typeof(DelegateIIII));
  685. DebenuPDFLibraryGetFormFieldTextFlags = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  686. GetProcAddress(dllHandle, "DPLGetFormFieldTextFlags"), typeof(DelegateIIII));
  687. DebenuPDFLibraryGetFormFieldTextSize = (DelegateDII)Marshal.GetDelegateForFunctionPointer(
  688. GetProcAddress(dllHandle, "DPLGetFormFieldTextSize"), typeof(DelegateDII));
  689. DebenuPDFLibraryGetFormFieldTitle = (DelegateWII)Marshal.GetDelegateForFunctionPointer(
  690. GetProcAddress(dllHandle, "DPLGetFormFieldTitle"), typeof(DelegateWII));
  691. DebenuPDFLibraryGetFormFieldType = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  692. GetProcAddress(dllHandle, "DPLGetFormFieldType"), typeof(DelegateIII));
  693. DebenuPDFLibraryGetFormFieldValue = (DelegateWII)Marshal.GetDelegateForFunctionPointer(
  694. GetProcAddress(dllHandle, "DPLGetFormFieldValue"), typeof(DelegateWII));
  695. DebenuPDFLibraryGetFormFieldValueByTitle = (DelegateWIW)Marshal.GetDelegateForFunctionPointer(
  696. GetProcAddress(dllHandle, "DPLGetFormFieldValueByTitle"), typeof(DelegateWIW));
  697. DebenuPDFLibraryGetFormFieldVisible = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  698. GetProcAddress(dllHandle, "DPLGetFormFieldVisible"), typeof(DelegateIII));
  699. DebenuPDFLibraryGetFormFieldWebLink = (DelegateWIIW)Marshal.GetDelegateForFunctionPointer(
  700. GetProcAddress(dllHandle, "DPLGetFormFieldWebLink"), typeof(DelegateWIIW));
  701. DebenuPDFLibraryGetFormFontCount = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  702. GetProcAddress(dllHandle, "DPLGetFormFontCount"), typeof(DelegateII));
  703. DebenuPDFLibraryGetFormFontName = (DelegateWII)Marshal.GetDelegateForFunctionPointer(
  704. GetProcAddress(dllHandle, "DPLGetFormFontName"), typeof(DelegateWII));
  705. DebenuPDFLibraryGetGlobalJavaScript = (DelegateWIW)Marshal.GetDelegateForFunctionPointer(
  706. GetProcAddress(dllHandle, "DPLGetGlobalJavaScript"), typeof(DelegateWIW));
  707. DebenuPDFLibraryGetHTMLTextHeight = (DelegateDIDW)Marshal.GetDelegateForFunctionPointer(
  708. GetProcAddress(dllHandle, "DPLGetHTMLTextHeight"), typeof(DelegateDIDW));
  709. DebenuPDFLibraryGetHTMLTextLineCount = (DelegateIIDW)Marshal.GetDelegateForFunctionPointer(
  710. GetProcAddress(dllHandle, "DPLGetHTMLTextLineCount"), typeof(DelegateIIDW));
  711. DebenuPDFLibraryGetHTMLTextWidth = (DelegateDIDW)Marshal.GetDelegateForFunctionPointer(
  712. GetProcAddress(dllHandle, "DPLGetHTMLTextWidth"), typeof(DelegateDIDW));
  713. DebenuPDFLibraryGetImageID = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  714. GetProcAddress(dllHandle, "DPLGetImageID"), typeof(DelegateIII));
  715. DebenuPDFLibraryGetImageListCount = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  716. GetProcAddress(dllHandle, "DPLGetImageListCount"), typeof(DelegateIII));
  717. DebenuPDFLibraryGetImageListItemDataToString = (DelegateBIIII)Marshal.GetDelegateForFunctionPointer(
  718. GetProcAddress(dllHandle, "DPLGetImageListItemDataToString"), typeof(DelegateBIIII));
  719. DebenuPDFLibraryGetImageListItemDblProperty = (DelegateDIIII)Marshal.GetDelegateForFunctionPointer(
  720. GetProcAddress(dllHandle, "DPLGetImageListItemDblProperty"), typeof(DelegateDIIII));
  721. DebenuPDFLibraryGetImageListItemIntProperty = (DelegateIIIII)Marshal.GetDelegateForFunctionPointer(
  722. GetProcAddress(dllHandle, "DPLGetImageListItemIntProperty"), typeof(DelegateIIIII));
  723. DebenuPDFLibraryGetImageMeasureDict = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  724. GetProcAddress(dllHandle, "DPLGetImageMeasureDict"), typeof(DelegateII));
  725. DebenuPDFLibraryGetImagePageCount = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  726. GetProcAddress(dllHandle, "DPLGetImagePageCount"), typeof(DelegateIIW));
  727. DebenuPDFLibraryGetImagePageCountFromString = (DelegateIIB)Marshal.GetDelegateForFunctionPointer(
  728. GetProcAddress(dllHandle, "DPLGetImagePageCountFromString"), typeof(DelegateIIB));
  729. DebenuPDFLibraryGetImagePtDataDict = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  730. GetProcAddress(dllHandle, "DPLGetImagePtDataDict"), typeof(DelegateII));
  731. DebenuPDFLibraryGetInformation = (DelegateWII)Marshal.GetDelegateForFunctionPointer(
  732. GetProcAddress(dllHandle, "DPLGetInformation"), typeof(DelegateWII));
  733. DebenuPDFLibraryGetInstalledFontsByCharset = (DelegateWIII)Marshal.GetDelegateForFunctionPointer(
  734. GetProcAddress(dllHandle, "DPLGetInstalledFontsByCharset"), typeof(DelegateWIII));
  735. DebenuPDFLibraryGetInstalledFontsByCodePage = (DelegateWIII)Marshal.GetDelegateForFunctionPointer(
  736. GetProcAddress(dllHandle, "DPLGetInstalledFontsByCodePage"), typeof(DelegateWIII));
  737. DebenuPDFLibraryGetKerning = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  738. GetProcAddress(dllHandle, "DPLGetKerning"), typeof(DelegateIIW));
  739. DebenuPDFLibraryGetLatestPrinterNames = (DelegateWI)Marshal.GetDelegateForFunctionPointer(
  740. GetProcAddress(dllHandle, "DPLGetLatestPrinterNames"), typeof(DelegateWI));
  741. DebenuPDFLibraryGetMaxObjectNumber = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  742. GetProcAddress(dllHandle, "DPLGetMaxObjectNumber"), typeof(DelegateII));
  743. DebenuPDFLibraryGetMeasureDictBoundsCount = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  744. GetProcAddress(dllHandle, "DPLGetMeasureDictBoundsCount"), typeof(DelegateIII));
  745. DebenuPDFLibraryGetMeasureDictBoundsItem = (DelegateDIII)Marshal.GetDelegateForFunctionPointer(
  746. GetProcAddress(dllHandle, "DPLGetMeasureDictBoundsItem"), typeof(DelegateDIII));
  747. DebenuPDFLibraryGetMeasureDictCoordinateSystem = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  748. GetProcAddress(dllHandle, "DPLGetMeasureDictCoordinateSystem"), typeof(DelegateIII));
  749. DebenuPDFLibraryGetMeasureDictDCSDict = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  750. GetProcAddress(dllHandle, "DPLGetMeasureDictDCSDict"), typeof(DelegateIII));
  751. DebenuPDFLibraryGetMeasureDictGCSDict = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  752. GetProcAddress(dllHandle, "DPLGetMeasureDictGCSDict"), typeof(DelegateIII));
  753. DebenuPDFLibraryGetMeasureDictGPTSCount = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  754. GetProcAddress(dllHandle, "DPLGetMeasureDictGPTSCount"), typeof(DelegateIII));
  755. DebenuPDFLibraryGetMeasureDictGPTSItem = (DelegateDIII)Marshal.GetDelegateForFunctionPointer(
  756. GetProcAddress(dllHandle, "DPLGetMeasureDictGPTSItem"), typeof(DelegateDIII));
  757. DebenuPDFLibraryGetMeasureDictLPTSCount = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  758. GetProcAddress(dllHandle, "DPLGetMeasureDictLPTSCount"), typeof(DelegateIII));
  759. DebenuPDFLibraryGetMeasureDictLPTSItem = (DelegateDIII)Marshal.GetDelegateForFunctionPointer(
  760. GetProcAddress(dllHandle, "DPLGetMeasureDictLPTSItem"), typeof(DelegateDIII));
  761. DebenuPDFLibraryGetMeasureDictPDU = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  762. GetProcAddress(dllHandle, "DPLGetMeasureDictPDU"), typeof(DelegateIIII));
  763. DebenuPDFLibraryGetNamedDestination = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  764. GetProcAddress(dllHandle, "DPLGetNamedDestination"), typeof(DelegateIIW));
  765. DebenuPDFLibraryGetNextOutline = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  766. GetProcAddress(dllHandle, "DPLGetNextOutline"), typeof(DelegateIII));
  767. DebenuPDFLibraryGetObjectCount = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  768. GetProcAddress(dllHandle, "DPLGetObjectCount"), typeof(DelegateII));
  769. DebenuPDFLibraryGetObjectDecodeError = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  770. GetProcAddress(dllHandle, "DPLGetObjectDecodeError"), typeof(DelegateIII));
  771. DebenuPDFLibraryGetObjectToString = (DelegateBII)Marshal.GetDelegateForFunctionPointer(
  772. GetProcAddress(dllHandle, "DPLGetObjectToString"), typeof(DelegateBII));
  773. DebenuPDFLibraryGetOpenActionDestination = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  774. GetProcAddress(dllHandle, "DPLGetOpenActionDestination"), typeof(DelegateII));
  775. DebenuPDFLibraryGetOpenActionJavaScript = (DelegateWI)Marshal.GetDelegateForFunctionPointer(
  776. GetProcAddress(dllHandle, "DPLGetOpenActionJavaScript"), typeof(DelegateWI));
  777. DebenuPDFLibraryGetOptionalContentConfigCount = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  778. GetProcAddress(dllHandle, "DPLGetOptionalContentConfigCount"), typeof(DelegateII));
  779. DebenuPDFLibraryGetOptionalContentConfigLocked = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  780. GetProcAddress(dllHandle, "DPLGetOptionalContentConfigLocked"), typeof(DelegateIIII));
  781. DebenuPDFLibraryGetOptionalContentConfigOrderCount = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  782. GetProcAddress(dllHandle, "DPLGetOptionalContentConfigOrderCount"), typeof(DelegateIII));
  783. DebenuPDFLibraryGetOptionalContentConfigOrderItemID = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  784. GetProcAddress(dllHandle, "DPLGetOptionalContentConfigOrderItemID"), typeof(DelegateIIII));
  785. DebenuPDFLibraryGetOptionalContentConfigOrderItemLabel = (DelegateWIII)Marshal.GetDelegateForFunctionPointer(
  786. GetProcAddress(dllHandle, "DPLGetOptionalContentConfigOrderItemLabel"), typeof(DelegateWIII));
  787. DebenuPDFLibraryGetOptionalContentConfigOrderItemLevel = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  788. GetProcAddress(dllHandle, "DPLGetOptionalContentConfigOrderItemLevel"), typeof(DelegateIIII));
  789. DebenuPDFLibraryGetOptionalContentConfigOrderItemType = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  790. GetProcAddress(dllHandle, "DPLGetOptionalContentConfigOrderItemType"), typeof(DelegateIIII));
  791. DebenuPDFLibraryGetOptionalContentConfigState = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  792. GetProcAddress(dllHandle, "DPLGetOptionalContentConfigState"), typeof(DelegateIIII));
  793. DebenuPDFLibraryGetOptionalContentGroupID = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  794. GetProcAddress(dllHandle, "DPLGetOptionalContentGroupID"), typeof(DelegateIII));
  795. DebenuPDFLibraryGetOptionalContentGroupName = (DelegateWII)Marshal.GetDelegateForFunctionPointer(
  796. GetProcAddress(dllHandle, "DPLGetOptionalContentGroupName"), typeof(DelegateWII));
  797. DebenuPDFLibraryGetOptionalContentGroupPrintable = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  798. GetProcAddress(dllHandle, "DPLGetOptionalContentGroupPrintable"), typeof(DelegateIII));
  799. DebenuPDFLibraryGetOptionalContentGroupVisible = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  800. GetProcAddress(dllHandle, "DPLGetOptionalContentGroupVisible"), typeof(DelegateIII));
  801. DebenuPDFLibraryGetOrigin = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  802. GetProcAddress(dllHandle, "DPLGetOrigin"), typeof(DelegateII));
  803. DebenuPDFLibraryGetOutlineActionID = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  804. GetProcAddress(dllHandle, "DPLGetOutlineActionID"), typeof(DelegateIII));
  805. DebenuPDFLibraryGetOutlineColor = (DelegateDIII)Marshal.GetDelegateForFunctionPointer(
  806. GetProcAddress(dllHandle, "DPLGetOutlineColor"), typeof(DelegateDIII));
  807. DebenuPDFLibraryGetOutlineDest = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  808. GetProcAddress(dllHandle, "DPLGetOutlineDest"), typeof(DelegateIII));
  809. DebenuPDFLibraryGetOutlineID = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  810. GetProcAddress(dllHandle, "DPLGetOutlineID"), typeof(DelegateIII));
  811. DebenuPDFLibraryGetOutlineJavaScript = (DelegateWII)Marshal.GetDelegateForFunctionPointer(
  812. GetProcAddress(dllHandle, "DPLGetOutlineJavaScript"), typeof(DelegateWII));
  813. DebenuPDFLibraryGetOutlineObjectNumber = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  814. GetProcAddress(dllHandle, "DPLGetOutlineObjectNumber"), typeof(DelegateIII));
  815. DebenuPDFLibraryGetOutlineOpenFile = (DelegateWII)Marshal.GetDelegateForFunctionPointer(
  816. GetProcAddress(dllHandle, "DPLGetOutlineOpenFile"), typeof(DelegateWII));
  817. DebenuPDFLibraryGetOutlinePage = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  818. GetProcAddress(dllHandle, "DPLGetOutlinePage"), typeof(DelegateIII));
  819. DebenuPDFLibraryGetOutlineStyle = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  820. GetProcAddress(dllHandle, "DPLGetOutlineStyle"), typeof(DelegateIII));
  821. DebenuPDFLibraryGetOutlineWebLink = (DelegateWII)Marshal.GetDelegateForFunctionPointer(
  822. GetProcAddress(dllHandle, "DPLGetOutlineWebLink"), typeof(DelegateWII));
  823. DebenuPDFLibraryGetPageBox = (DelegateDIII)Marshal.GetDelegateForFunctionPointer(
  824. GetProcAddress(dllHandle, "DPLGetPageBox"), typeof(DelegateDIII));
  825. DebenuPDFLibraryGetPageColorSpaces = (DelegateWII)Marshal.GetDelegateForFunctionPointer(
  826. GetProcAddress(dllHandle, "DPLGetPageColorSpaces"), typeof(DelegateWII));
  827. DebenuPDFLibraryGetPageContentToString = (DelegateBI)Marshal.GetDelegateForFunctionPointer(
  828. GetProcAddress(dllHandle, "DPLGetPageContentToString"), typeof(DelegateBI));
  829. DebenuPDFLibraryGetPageImageList = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  830. GetProcAddress(dllHandle, "DPLGetPageImageList"), typeof(DelegateIII));
  831. DebenuPDFLibraryGetPageJavaScript = (DelegateWIW)Marshal.GetDelegateForFunctionPointer(
  832. GetProcAddress(dllHandle, "DPLGetPageJavaScript"), typeof(DelegateWIW));
  833. DebenuPDFLibraryGetPageLGIDictContent = (DelegateWII)Marshal.GetDelegateForFunctionPointer(
  834. GetProcAddress(dllHandle, "DPLGetPageLGIDictContent"), typeof(DelegateWII));
  835. DebenuPDFLibraryGetPageLGIDictCount = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  836. GetProcAddress(dllHandle, "DPLGetPageLGIDictCount"), typeof(DelegateII));
  837. DebenuPDFLibraryGetPageLabel = (DelegateWII)Marshal.GetDelegateForFunctionPointer(
  838. GetProcAddress(dllHandle, "DPLGetPageLabel"), typeof(DelegateWII));
  839. DebenuPDFLibraryGetPageLayout = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  840. GetProcAddress(dllHandle, "DPLGetPageLayout"), typeof(DelegateII));
  841. DebenuPDFLibraryGetPageMetricsToString = (DelegateBIIII)Marshal.GetDelegateForFunctionPointer(
  842. GetProcAddress(dllHandle, "DPLGetPageMetricsToString"), typeof(DelegateBIIII));
  843. DebenuPDFLibraryGetPageMode = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  844. GetProcAddress(dllHandle, "DPLGetPageMode"), typeof(DelegateII));
  845. DebenuPDFLibraryGetPageText = (DelegateWII)Marshal.GetDelegateForFunctionPointer(
  846. GetProcAddress(dllHandle, "DPLGetPageText"), typeof(DelegateWII));
  847. DebenuPDFLibraryGetPageViewPortCount = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  848. GetProcAddress(dllHandle, "DPLGetPageViewPortCount"), typeof(DelegateII));
  849. DebenuPDFLibraryGetPageViewPortID = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  850. GetProcAddress(dllHandle, "DPLGetPageViewPortID"), typeof(DelegateIII));
  851. DebenuPDFLibraryGetParentOutline = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  852. GetProcAddress(dllHandle, "DPLGetParentOutline"), typeof(DelegateIII));
  853. DebenuPDFLibraryGetPrevOutline = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  854. GetProcAddress(dllHandle, "DPLGetPrevOutline"), typeof(DelegateIII));
  855. DebenuPDFLibraryGetPrintPreviewBitmapToString = (DelegateBIWIIII)Marshal.GetDelegateForFunctionPointer(
  856. GetProcAddress(dllHandle, "DPLGetPrintPreviewBitmapToString"), typeof(DelegateBIWIIII));
  857. DebenuPDFLibraryGetPrinterBins = (DelegateWIW)Marshal.GetDelegateForFunctionPointer(
  858. GetProcAddress(dllHandle, "DPLGetPrinterBins"), typeof(DelegateWIW));
  859. DebenuPDFLibraryGetPrinterDevModeToString = (DelegateBIW)Marshal.GetDelegateForFunctionPointer(
  860. GetProcAddress(dllHandle, "DPLGetPrinterDevModeToString"), typeof(DelegateBIW));
  861. DebenuPDFLibraryGetPrinterMediaTypes = (DelegateWIW)Marshal.GetDelegateForFunctionPointer(
  862. GetProcAddress(dllHandle, "DPLGetPrinterMediaTypes"), typeof(DelegateWIW));
  863. DebenuPDFLibraryGetPrinterNames = (DelegateWI)Marshal.GetDelegateForFunctionPointer(
  864. GetProcAddress(dllHandle, "DPLGetPrinterNames"), typeof(DelegateWI));
  865. DebenuPDFLibraryGetRenderScale = (DelegateDI)Marshal.GetDelegateForFunctionPointer(
  866. GetProcAddress(dllHandle, "DPLGetRenderScale"), typeof(DelegateDI));
  867. DebenuPDFLibraryGetSignProcessByteRange = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  868. GetProcAddress(dllHandle, "DPLGetSignProcessByteRange"), typeof(DelegateIIII));
  869. DebenuPDFLibraryGetSignProcessResult = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  870. GetProcAddress(dllHandle, "DPLGetSignProcessResult"), typeof(DelegateIII));
  871. DebenuPDFLibraryGetStringListCount = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  872. GetProcAddress(dllHandle, "DPLGetStringListCount"), typeof(DelegateIII));
  873. DebenuPDFLibraryGetStringListItem = (DelegateWIII)Marshal.GetDelegateForFunctionPointer(
  874. GetProcAddress(dllHandle, "DPLGetStringListItem"), typeof(DelegateWIII));
  875. DebenuPDFLibraryGetTabOrderMode = (DelegateWI)Marshal.GetDelegateForFunctionPointer(
  876. GetProcAddress(dllHandle, "DPLGetTabOrderMode"), typeof(DelegateWI));
  877. DebenuPDFLibraryGetTableCellDblProperty = (DelegateDIIIII)Marshal.GetDelegateForFunctionPointer(
  878. GetProcAddress(dllHandle, "DPLGetTableCellDblProperty"), typeof(DelegateDIIIII));
  879. DebenuPDFLibraryGetTableCellIntProperty = (DelegateIIIIII)Marshal.GetDelegateForFunctionPointer(
  880. GetProcAddress(dllHandle, "DPLGetTableCellIntProperty"), typeof(DelegateIIIIII));
  881. DebenuPDFLibraryGetTableCellStrProperty = (DelegateWIIIII)Marshal.GetDelegateForFunctionPointer(
  882. GetProcAddress(dllHandle, "DPLGetTableCellStrProperty"), typeof(DelegateWIIIII));
  883. DebenuPDFLibraryGetTableColumnCount = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  884. GetProcAddress(dllHandle, "DPLGetTableColumnCount"), typeof(DelegateIII));
  885. DebenuPDFLibraryGetTableLastDrawnRow = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  886. GetProcAddress(dllHandle, "DPLGetTableLastDrawnRow"), typeof(DelegateIII));
  887. DebenuPDFLibraryGetTableRowCount = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  888. GetProcAddress(dllHandle, "DPLGetTableRowCount"), typeof(DelegateIII));
  889. DebenuPDFLibraryGetTempPath = (DelegateWI)Marshal.GetDelegateForFunctionPointer(
  890. GetProcAddress(dllHandle, "DPLGetTempPath"), typeof(DelegateWI));
  891. DebenuPDFLibraryGetTextAscent = (DelegateDI)Marshal.GetDelegateForFunctionPointer(
  892. GetProcAddress(dllHandle, "DPLGetTextAscent"), typeof(DelegateDI));
  893. DebenuPDFLibraryGetTextBlockBound = (DelegateDIIII)Marshal.GetDelegateForFunctionPointer(
  894. GetProcAddress(dllHandle, "DPLGetTextBlockBound"), typeof(DelegateDIIII));
  895. DebenuPDFLibraryGetTextBlockCharWidth = (DelegateDIIII)Marshal.GetDelegateForFunctionPointer(
  896. GetProcAddress(dllHandle, "DPLGetTextBlockCharWidth"), typeof(DelegateDIIII));
  897. DebenuPDFLibraryGetTextBlockColor = (DelegateDIIII)Marshal.GetDelegateForFunctionPointer(
  898. GetProcAddress(dllHandle, "DPLGetTextBlockColor"), typeof(DelegateDIIII));
  899. DebenuPDFLibraryGetTextBlockColorType = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  900. GetProcAddress(dllHandle, "DPLGetTextBlockColorType"), typeof(DelegateIIII));
  901. DebenuPDFLibraryGetTextBlockCount = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  902. GetProcAddress(dllHandle, "DPLGetTextBlockCount"), typeof(DelegateIII));
  903. DebenuPDFLibraryGetTextBlockFontName = (DelegateWIII)Marshal.GetDelegateForFunctionPointer(
  904. GetProcAddress(dllHandle, "DPLGetTextBlockFontName"), typeof(DelegateWIII));
  905. DebenuPDFLibraryGetTextBlockFontSize = (DelegateDIII)Marshal.GetDelegateForFunctionPointer(
  906. GetProcAddress(dllHandle, "DPLGetTextBlockFontSize"), typeof(DelegateDIII));
  907. DebenuPDFLibraryGetTextBlockText = (DelegateWIII)Marshal.GetDelegateForFunctionPointer(
  908. GetProcAddress(dllHandle, "DPLGetTextBlockText"), typeof(DelegateWIII));
  909. DebenuPDFLibraryGetTextBound = (DelegateDII)Marshal.GetDelegateForFunctionPointer(
  910. GetProcAddress(dllHandle, "DPLGetTextBound"), typeof(DelegateDII));
  911. DebenuPDFLibraryGetTextDescent = (DelegateDI)Marshal.GetDelegateForFunctionPointer(
  912. GetProcAddress(dllHandle, "DPLGetTextDescent"), typeof(DelegateDI));
  913. DebenuPDFLibraryGetTextHeight = (DelegateDI)Marshal.GetDelegateForFunctionPointer(
  914. GetProcAddress(dllHandle, "DPLGetTextHeight"), typeof(DelegateDI));
  915. DebenuPDFLibraryGetTextSize = (DelegateDI)Marshal.GetDelegateForFunctionPointer(
  916. GetProcAddress(dllHandle, "DPLGetTextSize"), typeof(DelegateDI));
  917. DebenuPDFLibraryGetTextWidth = (DelegateDIW)Marshal.GetDelegateForFunctionPointer(
  918. GetProcAddress(dllHandle, "DPLGetTextWidth"), typeof(DelegateDIW));
  919. DebenuPDFLibraryGetUnicodeCharactersFromEncoding = (DelegateWII)Marshal.GetDelegateForFunctionPointer(
  920. GetProcAddress(dllHandle, "DPLGetUnicodeCharactersFromEncoding"), typeof(DelegateWII));
  921. DebenuPDFLibraryGetViewPortBBox = (DelegateDIII)Marshal.GetDelegateForFunctionPointer(
  922. GetProcAddress(dllHandle, "DPLGetViewPortBBox"), typeof(DelegateDIII));
  923. DebenuPDFLibraryGetViewPortMeasureDict = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  924. GetProcAddress(dllHandle, "DPLGetViewPortMeasureDict"), typeof(DelegateIII));
  925. DebenuPDFLibraryGetViewPortName = (DelegateWII)Marshal.GetDelegateForFunctionPointer(
  926. GetProcAddress(dllHandle, "DPLGetViewPortName"), typeof(DelegateWII));
  927. DebenuPDFLibraryGetViewPortPtDataDict = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  928. GetProcAddress(dllHandle, "DPLGetViewPortPtDataDict"), typeof(DelegateIII));
  929. DebenuPDFLibraryGetViewerPreferences = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  930. GetProcAddress(dllHandle, "DPLGetViewerPreferences"), typeof(DelegateIII));
  931. DebenuPDFLibraryGetWrappedText = (DelegateWIDWW)Marshal.GetDelegateForFunctionPointer(
  932. GetProcAddress(dllHandle, "DPLGetWrappedText"), typeof(DelegateWIDWW));
  933. DebenuPDFLibraryGetWrappedTextBreakString = (DelegateWIDWW)Marshal.GetDelegateForFunctionPointer(
  934. GetProcAddress(dllHandle, "DPLGetWrappedTextBreakString"), typeof(DelegateWIDWW));
  935. DebenuPDFLibraryGetWrappedTextHeight = (DelegateDIDW)Marshal.GetDelegateForFunctionPointer(
  936. GetProcAddress(dllHandle, "DPLGetWrappedTextHeight"), typeof(DelegateDIDW));
  937. DebenuPDFLibraryGetWrappedTextLineCount = (DelegateIIDW)Marshal.GetDelegateForFunctionPointer(
  938. GetProcAddress(dllHandle, "DPLGetWrappedTextLineCount"), typeof(DelegateIIDW));
  939. DebenuPDFLibraryGetXFAFormFieldCount = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  940. GetProcAddress(dllHandle, "DPLGetXFAFormFieldCount"), typeof(DelegateII));
  941. DebenuPDFLibraryGetXFAFormFieldName = (DelegateWII)Marshal.GetDelegateForFunctionPointer(
  942. GetProcAddress(dllHandle, "DPLGetXFAFormFieldName"), typeof(DelegateWII));
  943. DebenuPDFLibraryGetXFAFormFieldNames = (DelegateWIW)Marshal.GetDelegateForFunctionPointer(
  944. GetProcAddress(dllHandle, "DPLGetXFAFormFieldNames"), typeof(DelegateWIW));
  945. DebenuPDFLibraryGetXFAFormFieldValue = (DelegateWIW)Marshal.GetDelegateForFunctionPointer(
  946. GetProcAddress(dllHandle, "DPLGetXFAFormFieldValue"), typeof(DelegateWIW));
  947. DebenuPDFLibraryGetXFAToString = (DelegateBII)Marshal.GetDelegateForFunctionPointer(
  948. GetProcAddress(dllHandle, "DPLGetXFAToString"), typeof(DelegateBII));
  949. DebenuPDFLibraryGlobalJavaScriptCount = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  950. GetProcAddress(dllHandle, "DPLGlobalJavaScriptCount"), typeof(DelegateII));
  951. DebenuPDFLibraryGlobalJavaScriptPackageName = (DelegateWII)Marshal.GetDelegateForFunctionPointer(
  952. GetProcAddress(dllHandle, "DPLGlobalJavaScriptPackageName"), typeof(DelegateWII));
  953. DebenuPDFLibraryHasFontResources = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  954. GetProcAddress(dllHandle, "DPLHasFontResources"), typeof(DelegateII));
  955. DebenuPDFLibraryHasPageBox = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  956. GetProcAddress(dllHandle, "DPLHasPageBox"), typeof(DelegateIII));
  957. DebenuPDFLibraryHidePage = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  958. GetProcAddress(dllHandle, "DPLHidePage"), typeof(DelegateII));
  959. DebenuPDFLibraryImageCount = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  960. GetProcAddress(dllHandle, "DPLImageCount"), typeof(DelegateII));
  961. DebenuPDFLibraryImageFillColor = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  962. GetProcAddress(dllHandle, "DPLImageFillColor"), typeof(DelegateII));
  963. DebenuPDFLibraryImageHeight = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  964. GetProcAddress(dllHandle, "DPLImageHeight"), typeof(DelegateII));
  965. DebenuPDFLibraryImageHorizontalResolution = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  966. GetProcAddress(dllHandle, "DPLImageHorizontalResolution"), typeof(DelegateII));
  967. DebenuPDFLibraryImageResolutionUnits = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  968. GetProcAddress(dllHandle, "DPLImageResolutionUnits"), typeof(DelegateII));
  969. DebenuPDFLibraryImageType = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  970. GetProcAddress(dllHandle, "DPLImageType"), typeof(DelegateII));
  971. DebenuPDFLibraryImageVerticalResolution = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  972. GetProcAddress(dllHandle, "DPLImageVerticalResolution"), typeof(DelegateII));
  973. DebenuPDFLibraryImageWidth = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  974. GetProcAddress(dllHandle, "DPLImageWidth"), typeof(DelegateII));
  975. DebenuPDFLibraryImportEMFFromFile = (DelegateIIWII)Marshal.GetDelegateForFunctionPointer(
  976. GetProcAddress(dllHandle, "DPLImportEMFFromFile"), typeof(DelegateIIWII));
  977. DebenuPDFLibraryInsertPages = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  978. GetProcAddress(dllHandle, "DPLInsertPages"), typeof(DelegateIIII));
  979. DebenuPDFLibraryInsertTableColumns = (DelegateIIIII)Marshal.GetDelegateForFunctionPointer(
  980. GetProcAddress(dllHandle, "DPLInsertTableColumns"), typeof(DelegateIIIII));
  981. DebenuPDFLibraryInsertTableRows = (DelegateIIIII)Marshal.GetDelegateForFunctionPointer(
  982. GetProcAddress(dllHandle, "DPLInsertTableRows"), typeof(DelegateIIIII));
  983. DebenuPDFLibraryIsAnnotFormField = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  984. GetProcAddress(dllHandle, "DPLIsAnnotFormField"), typeof(DelegateIII));
  985. DebenuPDFLibraryIsTaggedPDF = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  986. GetProcAddress(dllHandle, "DPLIsTaggedPDF"), typeof(DelegateII));
  987. DebenuPDFLibraryLastErrorCode = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  988. GetProcAddress(dllHandle, "DPLLastErrorCode"), typeof(DelegateII));
  989. DebenuPDFLibraryLastRenderError = (DelegateWI)Marshal.GetDelegateForFunctionPointer(
  990. GetProcAddress(dllHandle, "DPLLastRenderError"), typeof(DelegateWI));
  991. DebenuPDFLibraryLibraryVersion = (DelegateWI)Marshal.GetDelegateForFunctionPointer(
  992. GetProcAddress(dllHandle, "DPLLibraryVersion"), typeof(DelegateWI));
  993. DebenuPDFLibraryLicenseInfo = (DelegateWI)Marshal.GetDelegateForFunctionPointer(
  994. GetProcAddress(dllHandle, "DPLLicenseInfo"), typeof(DelegateWI));
  995. DebenuPDFLibraryLinearized = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  996. GetProcAddress(dllHandle, "DPLLinearized"), typeof(DelegateII));
  997. DebenuPDFLibraryLoadFromCanvasDC = (DelegateIIDI)Marshal.GetDelegateForFunctionPointer(
  998. GetProcAddress(dllHandle, "DPLLoadFromCanvasDC"), typeof(DelegateIIDI));
  999. DebenuPDFLibraryLoadFromFile = (DelegateIIWW)Marshal.GetDelegateForFunctionPointer(
  1000. GetProcAddress(dllHandle, "DPLLoadFromFile"), typeof(DelegateIIWW));
  1001. DebenuPDFLibraryLoadFromString = (DelegateIIBW)Marshal.GetDelegateForFunctionPointer(
  1002. GetProcAddress(dllHandle, "DPLLoadFromString"), typeof(DelegateIIBW));
  1003. DebenuPDFLibraryLoadState = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  1004. GetProcAddress(dllHandle, "DPLLoadState"), typeof(DelegateII));
  1005. DebenuPDFLibraryMergeDocument = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1006. GetProcAddress(dllHandle, "DPLMergeDocument"), typeof(DelegateIII));
  1007. DebenuPDFLibraryMergeFileList = (DelegateIIWW)Marshal.GetDelegateForFunctionPointer(
  1008. GetProcAddress(dllHandle, "DPLMergeFileList"), typeof(DelegateIIWW));
  1009. DebenuPDFLibraryMergeFileListFast = (DelegateIIWW)Marshal.GetDelegateForFunctionPointer(
  1010. GetProcAddress(dllHandle, "DPLMergeFileListFast"), typeof(DelegateIIWW));
  1011. DebenuPDFLibraryMergeFiles = (DelegateIIWWW)Marshal.GetDelegateForFunctionPointer(
  1012. GetProcAddress(dllHandle, "DPLMergeFiles"), typeof(DelegateIIWWW));
  1013. DebenuPDFLibraryMergeTableCells = (DelegateIIIIIII)Marshal.GetDelegateForFunctionPointer(
  1014. GetProcAddress(dllHandle, "DPLMergeTableCells"), typeof(DelegateIIIIIII));
  1015. DebenuPDFLibraryMoveContentStream = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1016. GetProcAddress(dllHandle, "DPLMoveContentStream"), typeof(DelegateIIII));
  1017. DebenuPDFLibraryMoveOutlineAfter = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1018. GetProcAddress(dllHandle, "DPLMoveOutlineAfter"), typeof(DelegateIIII));
  1019. DebenuPDFLibraryMoveOutlineBefore = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1020. GetProcAddress(dllHandle, "DPLMoveOutlineBefore"), typeof(DelegateIIII));
  1021. DebenuPDFLibraryMovePage = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1022. GetProcAddress(dllHandle, "DPLMovePage"), typeof(DelegateIII));
  1023. DebenuPDFLibraryMovePath = (DelegateIIDD)Marshal.GetDelegateForFunctionPointer(
  1024. GetProcAddress(dllHandle, "DPLMovePath"), typeof(DelegateIIDD));
  1025. DebenuPDFLibraryMultiplyScale = (DelegateIID)Marshal.GetDelegateForFunctionPointer(
  1026. GetProcAddress(dllHandle, "DPLMultiplyScale"), typeof(DelegateIID));
  1027. DebenuPDFLibraryNewChildFormField = (DelegateIIIWI)Marshal.GetDelegateForFunctionPointer(
  1028. GetProcAddress(dllHandle, "DPLNewChildFormField"), typeof(DelegateIIIWI));
  1029. DebenuPDFLibraryNewContentStream = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  1030. GetProcAddress(dllHandle, "DPLNewContentStream"), typeof(DelegateII));
  1031. DebenuPDFLibraryNewCustomPrinter = (DelegateWIW)Marshal.GetDelegateForFunctionPointer(
  1032. GetProcAddress(dllHandle, "DPLNewCustomPrinter"), typeof(DelegateWIW));
  1033. DebenuPDFLibraryNewDestination = (DelegateIIIIIDDDD)Marshal.GetDelegateForFunctionPointer(
  1034. GetProcAddress(dllHandle, "DPLNewDestination"), typeof(DelegateIIIIIDDDD));
  1035. DebenuPDFLibraryNewDocument = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  1036. GetProcAddress(dllHandle, "DPLNewDocument"), typeof(DelegateII));
  1037. DebenuPDFLibraryNewFormField = (DelegateIIWI)Marshal.GetDelegateForFunctionPointer(
  1038. GetProcAddress(dllHandle, "DPLNewFormField"), typeof(DelegateIIWI));
  1039. DebenuPDFLibraryNewInternalPrinterObject = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1040. GetProcAddress(dllHandle, "DPLNewInternalPrinterObject"), typeof(DelegateIII));
  1041. DebenuPDFLibraryNewNamedDestination = (DelegateIIWI)Marshal.GetDelegateForFunctionPointer(
  1042. GetProcAddress(dllHandle, "DPLNewNamedDestination"), typeof(DelegateIIWI));
  1043. DebenuPDFLibraryNewOptionalContentGroup = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  1044. GetProcAddress(dllHandle, "DPLNewOptionalContentGroup"), typeof(DelegateIIW));
  1045. DebenuPDFLibraryNewOutline = (DelegateIIIWID)Marshal.GetDelegateForFunctionPointer(
  1046. GetProcAddress(dllHandle, "DPLNewOutline"), typeof(DelegateIIIWID));
  1047. DebenuPDFLibraryNewPage = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  1048. GetProcAddress(dllHandle, "DPLNewPage"), typeof(DelegateII));
  1049. DebenuPDFLibraryNewPageFromCanvasDC = (DelegateIIDI)Marshal.GetDelegateForFunctionPointer(
  1050. GetProcAddress(dllHandle, "DPLNewPageFromCanvasDC"), typeof(DelegateIIDI));
  1051. DebenuPDFLibraryNewPages = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1052. GetProcAddress(dllHandle, "DPLNewPages"), typeof(DelegateIII));
  1053. DebenuPDFLibraryNewPostScriptXObject = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  1054. GetProcAddress(dllHandle, "DPLNewPostScriptXObject"), typeof(DelegateIIW));
  1055. DebenuPDFLibraryNewRGBAxialShader = (DelegateIIWDDDDDDDDDDI)Marshal.GetDelegateForFunctionPointer(
  1056. GetProcAddress(dllHandle, "DPLNewRGBAxialShader"), typeof(DelegateIIWDDDDDDDDDDI));
  1057. DebenuPDFLibraryNewSignProcessFromFile = (DelegateIIWW)Marshal.GetDelegateForFunctionPointer(
  1058. GetProcAddress(dllHandle, "DPLNewSignProcessFromFile"), typeof(DelegateIIWW));
  1059. DebenuPDFLibraryNewSignProcessFromString = (DelegateIIBW)Marshal.GetDelegateForFunctionPointer(
  1060. GetProcAddress(dllHandle, "DPLNewSignProcessFromString"), typeof(DelegateIIBW));
  1061. DebenuPDFLibraryNewStaticOutline = (DelegateIIIW)Marshal.GetDelegateForFunctionPointer(
  1062. GetProcAddress(dllHandle, "DPLNewStaticOutline"), typeof(DelegateIIIW));
  1063. DebenuPDFLibraryNewTilingPatternFromCapturedPage = (DelegateIIWI)Marshal.GetDelegateForFunctionPointer(
  1064. GetProcAddress(dllHandle, "DPLNewTilingPatternFromCapturedPage"), typeof(DelegateIIWI));
  1065. DebenuPDFLibraryNoEmbedFontListAdd = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  1066. GetProcAddress(dllHandle, "DPLNoEmbedFontListAdd"), typeof(DelegateIIW));
  1067. DebenuPDFLibraryNoEmbedFontListCount = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  1068. GetProcAddress(dllHandle, "DPLNoEmbedFontListCount"), typeof(DelegateII));
  1069. DebenuPDFLibraryNoEmbedFontListGet = (DelegateWII)Marshal.GetDelegateForFunctionPointer(
  1070. GetProcAddress(dllHandle, "DPLNoEmbedFontListGet"), typeof(DelegateWII));
  1071. DebenuPDFLibraryNoEmbedFontListRemoveAll = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  1072. GetProcAddress(dllHandle, "DPLNoEmbedFontListRemoveAll"), typeof(DelegateII));
  1073. DebenuPDFLibraryNoEmbedFontListRemoveIndex = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1074. GetProcAddress(dllHandle, "DPLNoEmbedFontListRemoveIndex"), typeof(DelegateIII));
  1075. DebenuPDFLibraryNoEmbedFontListRemoveName = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  1076. GetProcAddress(dllHandle, "DPLNoEmbedFontListRemoveName"), typeof(DelegateIIW));
  1077. DebenuPDFLibraryNormalizePage = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1078. GetProcAddress(dllHandle, "DPLNormalizePage"), typeof(DelegateIII));
  1079. DebenuPDFLibraryOpenOutline = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1080. GetProcAddress(dllHandle, "DPLOpenOutline"), typeof(DelegateIII));
  1081. DebenuPDFLibraryOptionalContentGroupCount = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  1082. GetProcAddress(dllHandle, "DPLOptionalContentGroupCount"), typeof(DelegateII));
  1083. DebenuPDFLibraryOutlineCount = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  1084. GetProcAddress(dllHandle, "DPLOutlineCount"), typeof(DelegateII));
  1085. DebenuPDFLibraryOutlineTitle = (DelegateWII)Marshal.GetDelegateForFunctionPointer(
  1086. GetProcAddress(dllHandle, "DPLOutlineTitle"), typeof(DelegateWII));
  1087. DebenuPDFLibraryPageCount = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  1088. GetProcAddress(dllHandle, "DPLPageCount"), typeof(DelegateII));
  1089. DebenuPDFLibraryPageHasFontResources = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1090. GetProcAddress(dllHandle, "DPLPageHasFontResources"), typeof(DelegateIII));
  1091. DebenuPDFLibraryPageHeight = (DelegateDI)Marshal.GetDelegateForFunctionPointer(
  1092. GetProcAddress(dllHandle, "DPLPageHeight"), typeof(DelegateDI));
  1093. DebenuPDFLibraryPageJavaScriptAction = (DelegateIIWW)Marshal.GetDelegateForFunctionPointer(
  1094. GetProcAddress(dllHandle, "DPLPageJavaScriptAction"), typeof(DelegateIIWW));
  1095. DebenuPDFLibraryPageRotation = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  1096. GetProcAddress(dllHandle, "DPLPageRotation"), typeof(DelegateII));
  1097. DebenuPDFLibraryPageWidth = (DelegateDI)Marshal.GetDelegateForFunctionPointer(
  1098. GetProcAddress(dllHandle, "DPLPageWidth"), typeof(DelegateDI));
  1099. DebenuPDFLibraryPrintDocument = (DelegateIIWIII)Marshal.GetDelegateForFunctionPointer(
  1100. GetProcAddress(dllHandle, "DPLPrintDocument"), typeof(DelegateIIWIII));
  1101. DebenuPDFLibraryPrintDocumentToFile = (DelegateIIWIIIW)Marshal.GetDelegateForFunctionPointer(
  1102. GetProcAddress(dllHandle, "DPLPrintDocumentToFile"), typeof(DelegateIIWIIIW));
  1103. DebenuPDFLibraryPrintOptions = (DelegateIIIIW)Marshal.GetDelegateForFunctionPointer(
  1104. GetProcAddress(dllHandle, "DPLPrintOptions"), typeof(DelegateIIIIW));
  1105. DebenuPDFLibraryPrintPages = (DelegateIIWWI)Marshal.GetDelegateForFunctionPointer(
  1106. GetProcAddress(dllHandle, "DPLPrintPages"), typeof(DelegateIIWWI));
  1107. DebenuPDFLibraryPrintPagesToFile = (DelegateIIWWIW)Marshal.GetDelegateForFunctionPointer(
  1108. GetProcAddress(dllHandle, "DPLPrintPagesToFile"), typeof(DelegateIIWWIW));
  1109. DebenuPDFLibraryReleaseBuffer = (DelegateIIB)Marshal.GetDelegateForFunctionPointer(
  1110. GetProcAddress(dllHandle, "DPLReleaseBuffer"), typeof(DelegateIIB));
  1111. DebenuPDFLibraryReleaseImage = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1112. GetProcAddress(dllHandle, "DPLReleaseImage"), typeof(DelegateIII));
  1113. DebenuPDFLibraryReleaseImageList = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1114. GetProcAddress(dllHandle, "DPLReleaseImageList"), typeof(DelegateIII));
  1115. DebenuPDFLibraryReleaseLibrary = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  1116. GetProcAddress(dllHandle, "DPLReleaseLibrary"), typeof(DelegateII));
  1117. DebenuPDFLibraryReleaseSignProcess = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1118. GetProcAddress(dllHandle, "DPLReleaseSignProcess"), typeof(DelegateIII));
  1119. DebenuPDFLibraryReleaseStringList = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1120. GetProcAddress(dllHandle, "DPLReleaseStringList"), typeof(DelegateIII));
  1121. DebenuPDFLibraryReleaseTextBlocks = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1122. GetProcAddress(dllHandle, "DPLReleaseTextBlocks"), typeof(DelegateIII));
  1123. DebenuPDFLibraryRemoveAppearanceStream = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1124. GetProcAddress(dllHandle, "DPLRemoveAppearanceStream"), typeof(DelegateIII));
  1125. DebenuPDFLibraryRemoveCustomInformation = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  1126. GetProcAddress(dllHandle, "DPLRemoveCustomInformation"), typeof(DelegateIIW));
  1127. DebenuPDFLibraryRemoveDocument = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1128. GetProcAddress(dllHandle, "DPLRemoveDocument"), typeof(DelegateIII));
  1129. DebenuPDFLibraryRemoveEmbeddedFile = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1130. GetProcAddress(dllHandle, "DPLRemoveEmbeddedFile"), typeof(DelegateIII));
  1131. DebenuPDFLibraryRemoveFormFieldBackgroundColor = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1132. GetProcAddress(dllHandle, "DPLRemoveFormFieldBackgroundColor"), typeof(DelegateIII));
  1133. DebenuPDFLibraryRemoveFormFieldBorderColor = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1134. GetProcAddress(dllHandle, "DPLRemoveFormFieldBorderColor"), typeof(DelegateIII));
  1135. DebenuPDFLibraryRemoveFormFieldChoiceSub = (DelegateIIIW)Marshal.GetDelegateForFunctionPointer(
  1136. GetProcAddress(dllHandle, "DPLRemoveFormFieldChoiceSub"), typeof(DelegateIIIW));
  1137. DebenuPDFLibraryRemoveGlobalJavaScript = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  1138. GetProcAddress(dllHandle, "DPLRemoveGlobalJavaScript"), typeof(DelegateIIW));
  1139. DebenuPDFLibraryRemoveOpenAction = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  1140. GetProcAddress(dllHandle, "DPLRemoveOpenAction"), typeof(DelegateII));
  1141. DebenuPDFLibraryRemoveOutline = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1142. GetProcAddress(dllHandle, "DPLRemoveOutline"), typeof(DelegateIII));
  1143. DebenuPDFLibraryRemovePageBox = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1144. GetProcAddress(dllHandle, "DPLRemovePageBox"), typeof(DelegateIII));
  1145. DebenuPDFLibraryRemoveSharedContentStreams = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  1146. GetProcAddress(dllHandle, "DPLRemoveSharedContentStreams"), typeof(DelegateII));
  1147. DebenuPDFLibraryRemoveStyle = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  1148. GetProcAddress(dllHandle, "DPLRemoveStyle"), typeof(DelegateIIW));
  1149. DebenuPDFLibraryRemoveUsageRights = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  1150. GetProcAddress(dllHandle, "DPLRemoveUsageRights"), typeof(DelegateII));
  1151. DebenuPDFLibraryRemoveXFAEntries = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1152. GetProcAddress(dllHandle, "DPLRemoveXFAEntries"), typeof(DelegateIII));
  1153. DebenuPDFLibraryRenderAsMultipageTIFFToFile = (DelegateIIDWIIW)Marshal.GetDelegateForFunctionPointer(
  1154. GetProcAddress(dllHandle, "DPLRenderAsMultipageTIFFToFile"), typeof(DelegateIIDWIIW));
  1155. DebenuPDFLibraryRenderDocumentToFile = (DelegateIIDIIIW)Marshal.GetDelegateForFunctionPointer(
  1156. GetProcAddress(dllHandle, "DPLRenderDocumentToFile"), typeof(DelegateIIDIIIW));
  1157. DebenuPDFLibraryRenderPageToDC = (DelegateIIDIC)Marshal.GetDelegateForFunctionPointer(
  1158. GetProcAddress(dllHandle, "DPLRenderPageToDC"), typeof(DelegateIIDIC));
  1159. DebenuPDFLibraryRenderPageToFile = (DelegateIIDIIW)Marshal.GetDelegateForFunctionPointer(
  1160. GetProcAddress(dllHandle, "DPLRenderPageToFile"), typeof(DelegateIIDIIW));
  1161. DebenuPDFLibraryRenderPageToString = (DelegateBIDII)Marshal.GetDelegateForFunctionPointer(
  1162. GetProcAddress(dllHandle, "DPLRenderPageToString"), typeof(DelegateBIDII));
  1163. DebenuPDFLibraryReplaceFonts = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  1164. GetProcAddress(dllHandle, "DPLReplaceFonts"), typeof(DelegateII));
  1165. DebenuPDFLibraryReplaceImage = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1166. GetProcAddress(dllHandle, "DPLReplaceImage"), typeof(DelegateIIII));
  1167. DebenuPDFLibraryReplaceTag = (DelegateIIWW)Marshal.GetDelegateForFunctionPointer(
  1168. GetProcAddress(dllHandle, "DPLReplaceTag"), typeof(DelegateIIWW));
  1169. DebenuPDFLibraryRequestPrinterStatus = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1170. GetProcAddress(dllHandle, "DPLRequestPrinterStatus"), typeof(DelegateIII));
  1171. DebenuPDFLibraryRetrieveCustomDataToFile = (DelegateIIWWI)Marshal.GetDelegateForFunctionPointer(
  1172. GetProcAddress(dllHandle, "DPLRetrieveCustomDataToFile"), typeof(DelegateIIWWI));
  1173. DebenuPDFLibraryRetrieveCustomDataToString = (DelegateBISI)Marshal.GetDelegateForFunctionPointer(
  1174. GetProcAddress(dllHandle, "DPLRetrieveCustomDataToString"), typeof(DelegateBISI));
  1175. DebenuPDFLibraryReverseImage = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1176. GetProcAddress(dllHandle, "DPLReverseImage"), typeof(DelegateIII));
  1177. DebenuPDFLibraryRotatePage = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1178. GetProcAddress(dllHandle, "DPLRotatePage"), typeof(DelegateIII));
  1179. DebenuPDFLibrarySaveFontToFile = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  1180. GetProcAddress(dllHandle, "DPLSaveFontToFile"), typeof(DelegateIIW));
  1181. DebenuPDFLibrarySaveImageListItemDataToFile = (DelegateIIIIIW)Marshal.GetDelegateForFunctionPointer(
  1182. GetProcAddress(dllHandle, "DPLSaveImageListItemDataToFile"), typeof(DelegateIIIIIW));
  1183. DebenuPDFLibrarySaveImageToFile = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  1184. GetProcAddress(dllHandle, "DPLSaveImageToFile"), typeof(DelegateIIW));
  1185. DebenuPDFLibrarySaveImageToString = (DelegateBI)Marshal.GetDelegateForFunctionPointer(
  1186. GetProcAddress(dllHandle, "DPLSaveImageToString"), typeof(DelegateBI));
  1187. DebenuPDFLibrarySaveState = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  1188. GetProcAddress(dllHandle, "DPLSaveState"), typeof(DelegateII));
  1189. DebenuPDFLibrarySaveStyle = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  1190. GetProcAddress(dllHandle, "DPLSaveStyle"), typeof(DelegateIIW));
  1191. DebenuPDFLibrarySaveToFile = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  1192. GetProcAddress(dllHandle, "DPLSaveToFile"), typeof(DelegateIIW));
  1193. DebenuPDFLibrarySaveToString = (DelegateBI)Marshal.GetDelegateForFunctionPointer(
  1194. GetProcAddress(dllHandle, "DPLSaveToString"), typeof(DelegateBI));
  1195. DebenuPDFLibrarySecurityInfo = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1196. GetProcAddress(dllHandle, "DPLSecurityInfo"), typeof(DelegateIII));
  1197. DebenuPDFLibrarySelectContentStream = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1198. GetProcAddress(dllHandle, "DPLSelectContentStream"), typeof(DelegateIII));
  1199. DebenuPDFLibrarySelectDocument = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1200. GetProcAddress(dllHandle, "DPLSelectDocument"), typeof(DelegateIII));
  1201. DebenuPDFLibrarySelectFont = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1202. GetProcAddress(dllHandle, "DPLSelectFont"), typeof(DelegateIII));
  1203. DebenuPDFLibrarySelectImage = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1204. GetProcAddress(dllHandle, "DPLSelectImage"), typeof(DelegateIII));
  1205. DebenuPDFLibrarySelectPage = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1206. GetProcAddress(dllHandle, "DPLSelectPage"), typeof(DelegateIII));
  1207. DebenuPDFLibrarySelectRenderer = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1208. GetProcAddress(dllHandle, "DPLSelectRenderer"), typeof(DelegateIII));
  1209. DebenuPDFLibrarySelectedDocument = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  1210. GetProcAddress(dllHandle, "DPLSelectedDocument"), typeof(DelegateII));
  1211. DebenuPDFLibrarySelectedFont = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  1212. GetProcAddress(dllHandle, "DPLSelectedFont"), typeof(DelegateII));
  1213. DebenuPDFLibrarySelectedImage = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  1214. GetProcAddress(dllHandle, "DPLSelectedImage"), typeof(DelegateII));
  1215. DebenuPDFLibrarySelectedPage = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  1216. GetProcAddress(dllHandle, "DPLSelectedPage"), typeof(DelegateII));
  1217. DebenuPDFLibrarySetActionURL = (DelegateIIIW)Marshal.GetDelegateForFunctionPointer(
  1218. GetProcAddress(dllHandle, "DPLSetActionURL"), typeof(DelegateIIIW));
  1219. DebenuPDFLibrarySetAnnotBorderColor = (DelegateIIIDDD)Marshal.GetDelegateForFunctionPointer(
  1220. GetProcAddress(dllHandle, "DPLSetAnnotBorderColor"), typeof(DelegateIIIDDD));
  1221. DebenuPDFLibrarySetAnnotBorderStyle = (DelegateIIIDIDD)Marshal.GetDelegateForFunctionPointer(
  1222. GetProcAddress(dllHandle, "DPLSetAnnotBorderStyle"), typeof(DelegateIIIDIDD));
  1223. DebenuPDFLibrarySetAnnotContents = (DelegateIIIW)Marshal.GetDelegateForFunctionPointer(
  1224. GetProcAddress(dllHandle, "DPLSetAnnotContents"), typeof(DelegateIIIW));
  1225. DebenuPDFLibrarySetAnnotDblProperty = (DelegateIIIID)Marshal.GetDelegateForFunctionPointer(
  1226. GetProcAddress(dllHandle, "DPLSetAnnotDblProperty"), typeof(DelegateIIIID));
  1227. DebenuPDFLibrarySetAnnotIntProperty = (DelegateIIIII)Marshal.GetDelegateForFunctionPointer(
  1228. GetProcAddress(dllHandle, "DPLSetAnnotIntProperty"), typeof(DelegateIIIII));
  1229. DebenuPDFLibrarySetAnnotQuadPoints = (DelegateIIIIDDDDDDDD)Marshal.GetDelegateForFunctionPointer(
  1230. GetProcAddress(dllHandle, "DPLSetAnnotQuadPoints"), typeof(DelegateIIIIDDDDDDDD));
  1231. DebenuPDFLibrarySetAnnotRect = (DelegateIIIDDDD)Marshal.GetDelegateForFunctionPointer(
  1232. GetProcAddress(dllHandle, "DPLSetAnnotRect"), typeof(DelegateIIIDDDD));
  1233. DebenuPDFLibrarySetAnnotStrProperty = (DelegateIIIIW)Marshal.GetDelegateForFunctionPointer(
  1234. GetProcAddress(dllHandle, "DPLSetAnnotStrProperty"), typeof(DelegateIIIIW));
  1235. DebenuPDFLibrarySetAnsiMode = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1236. GetProcAddress(dllHandle, "DPLSetAnsiMode"), typeof(DelegateIII));
  1237. DebenuPDFLibrarySetBaseURL = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  1238. GetProcAddress(dllHandle, "DPLSetBaseURL"), typeof(DelegateIIW));
  1239. DebenuPDFLibrarySetBlendMode = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1240. GetProcAddress(dllHandle, "DPLSetBlendMode"), typeof(DelegateIII));
  1241. DebenuPDFLibrarySetBreakString = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  1242. GetProcAddress(dllHandle, "DPLSetBreakString"), typeof(DelegateIIW));
  1243. DebenuPDFLibrarySetCSDictEPSG = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1244. GetProcAddress(dllHandle, "DPLSetCSDictEPSG"), typeof(DelegateIIII));
  1245. DebenuPDFLibrarySetCSDictType = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1246. GetProcAddress(dllHandle, "DPLSetCSDictType"), typeof(DelegateIIII));
  1247. DebenuPDFLibrarySetCSDictWKT = (DelegateIIIW)Marshal.GetDelegateForFunctionPointer(
  1248. GetProcAddress(dllHandle, "DPLSetCSDictWKT"), typeof(DelegateIIIW));
  1249. DebenuPDFLibrarySetCairoFileName = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  1250. GetProcAddress(dllHandle, "DPLSetCairoFileName"), typeof(DelegateIIW));
  1251. DebenuPDFLibrarySetCapturedPageOptional = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1252. GetProcAddress(dllHandle, "DPLSetCapturedPageOptional"), typeof(DelegateIIII));
  1253. DebenuPDFLibrarySetCapturedPageTransparencyGroup = (DelegateIIIIII)Marshal.GetDelegateForFunctionPointer(
  1254. GetProcAddress(dllHandle, "DPLSetCapturedPageTransparencyGroup"), typeof(DelegateIIIIII));
  1255. DebenuPDFLibrarySetCatalogInformation = (DelegateIIWW)Marshal.GetDelegateForFunctionPointer(
  1256. GetProcAddress(dllHandle, "DPLSetCatalogInformation"), typeof(DelegateIIWW));
  1257. DebenuPDFLibrarySetCharWidth = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1258. GetProcAddress(dllHandle, "DPLSetCharWidth"), typeof(DelegateIIII));
  1259. DebenuPDFLibrarySetClippingPath = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  1260. GetProcAddress(dllHandle, "DPLSetClippingPath"), typeof(DelegateII));
  1261. DebenuPDFLibrarySetClippingPathEvenOdd = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  1262. GetProcAddress(dllHandle, "DPLSetClippingPathEvenOdd"), typeof(DelegateII));
  1263. DebenuPDFLibrarySetCompatibility = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1264. GetProcAddress(dllHandle, "DPLSetCompatibility"), typeof(DelegateIIII));
  1265. DebenuPDFLibrarySetContentStreamFromString = (DelegateIIB)Marshal.GetDelegateForFunctionPointer(
  1266. GetProcAddress(dllHandle, "DPLSetContentStreamFromString"), typeof(DelegateIIB));
  1267. DebenuPDFLibrarySetContentStreamOptional = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1268. GetProcAddress(dllHandle, "DPLSetContentStreamOptional"), typeof(DelegateIII));
  1269. DebenuPDFLibrarySetCropBox = (DelegateIIDDDD)Marshal.GetDelegateForFunctionPointer(
  1270. GetProcAddress(dllHandle, "DPLSetCropBox"), typeof(DelegateIIDDDD));
  1271. DebenuPDFLibrarySetCustomInformation = (DelegateIIWW)Marshal.GetDelegateForFunctionPointer(
  1272. GetProcAddress(dllHandle, "DPLSetCustomInformation"), typeof(DelegateIIWW));
  1273. DebenuPDFLibrarySetCustomLineDash = (DelegateIIWD)Marshal.GetDelegateForFunctionPointer(
  1274. GetProcAddress(dllHandle, "DPLSetCustomLineDash"), typeof(DelegateIIWD));
  1275. DebenuPDFLibrarySetDPLRFileName = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  1276. GetProcAddress(dllHandle, "DPLSetDPLRFileName"), typeof(DelegateIIW));
  1277. DebenuPDFLibrarySetDestProperties = (DelegateIIIIIDDDD)Marshal.GetDelegateForFunctionPointer(
  1278. GetProcAddress(dllHandle, "DPLSetDestProperties"), typeof(DelegateIIIIIDDDD));
  1279. DebenuPDFLibrarySetDestValue = (DelegateIIIID)Marshal.GetDelegateForFunctionPointer(
  1280. GetProcAddress(dllHandle, "DPLSetDestValue"), typeof(DelegateIIIID));
  1281. DebenuPDFLibrarySetDocumentMetadata = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  1282. GetProcAddress(dllHandle, "DPLSetDocumentMetadata"), typeof(DelegateIIW));
  1283. DebenuPDFLibrarySetEmbeddedFileStrProperty = (DelegateIIIIW)Marshal.GetDelegateForFunctionPointer(
  1284. GetProcAddress(dllHandle, "DPLSetEmbeddedFileStrProperty"), typeof(DelegateIIIIW));
  1285. DebenuPDFLibrarySetFillColor = (DelegateIIDDD)Marshal.GetDelegateForFunctionPointer(
  1286. GetProcAddress(dllHandle, "DPLSetFillColor"), typeof(DelegateIIDDD));
  1287. DebenuPDFLibrarySetFillColorCMYK = (DelegateIIDDDD)Marshal.GetDelegateForFunctionPointer(
  1288. GetProcAddress(dllHandle, "DPLSetFillColorCMYK"), typeof(DelegateIIDDDD));
  1289. DebenuPDFLibrarySetFillColorSep = (DelegateIIWD)Marshal.GetDelegateForFunctionPointer(
  1290. GetProcAddress(dllHandle, "DPLSetFillColorSep"), typeof(DelegateIIWD));
  1291. DebenuPDFLibrarySetFillShader = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  1292. GetProcAddress(dllHandle, "DPLSetFillShader"), typeof(DelegateIIW));
  1293. DebenuPDFLibrarySetFillTilingPattern = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  1294. GetProcAddress(dllHandle, "DPLSetFillTilingPattern"), typeof(DelegateIIW));
  1295. DebenuPDFLibrarySetFindImagesMode = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1296. GetProcAddress(dllHandle, "DPLSetFindImagesMode"), typeof(DelegateIII));
  1297. DebenuPDFLibrarySetFontEncoding = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1298. GetProcAddress(dllHandle, "DPLSetFontEncoding"), typeof(DelegateIII));
  1299. DebenuPDFLibrarySetFontFlags = (DelegateIIIIIIIIII)Marshal.GetDelegateForFunctionPointer(
  1300. GetProcAddress(dllHandle, "DPLSetFontFlags"), typeof(DelegateIIIIIIIIII));
  1301. DebenuPDFLibrarySetFormFieldAlignment = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1302. GetProcAddress(dllHandle, "DPLSetFormFieldAlignment"), typeof(DelegateIIII));
  1303. DebenuPDFLibrarySetFormFieldAnnotFlags = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1304. GetProcAddress(dllHandle, "DPLSetFormFieldAnnotFlags"), typeof(DelegateIIII));
  1305. DebenuPDFLibrarySetFormFieldBackgroundColor = (DelegateIIIDDD)Marshal.GetDelegateForFunctionPointer(
  1306. GetProcAddress(dllHandle, "DPLSetFormFieldBackgroundColor"), typeof(DelegateIIIDDD));
  1307. DebenuPDFLibrarySetFormFieldBackgroundColorCMYK = (DelegateIIIDDDD)Marshal.GetDelegateForFunctionPointer(
  1308. GetProcAddress(dllHandle, "DPLSetFormFieldBackgroundColorCMYK"), typeof(DelegateIIIDDDD));
  1309. DebenuPDFLibrarySetFormFieldBackgroundColorGray = (DelegateIIID)Marshal.GetDelegateForFunctionPointer(
  1310. GetProcAddress(dllHandle, "DPLSetFormFieldBackgroundColorGray"), typeof(DelegateIIID));
  1311. DebenuPDFLibrarySetFormFieldBackgroundColorSep = (DelegateIIIWD)Marshal.GetDelegateForFunctionPointer(
  1312. GetProcAddress(dllHandle, "DPLSetFormFieldBackgroundColorSep"), typeof(DelegateIIIWD));
  1313. DebenuPDFLibrarySetFormFieldBorderColor = (DelegateIIIDDD)Marshal.GetDelegateForFunctionPointer(
  1314. GetProcAddress(dllHandle, "DPLSetFormFieldBorderColor"), typeof(DelegateIIIDDD));
  1315. DebenuPDFLibrarySetFormFieldBorderColorCMYK = (DelegateIIIDDDD)Marshal.GetDelegateForFunctionPointer(
  1316. GetProcAddress(dllHandle, "DPLSetFormFieldBorderColorCMYK"), typeof(DelegateIIIDDDD));
  1317. DebenuPDFLibrarySetFormFieldBorderColorGray = (DelegateIIID)Marshal.GetDelegateForFunctionPointer(
  1318. GetProcAddress(dllHandle, "DPLSetFormFieldBorderColorGray"), typeof(DelegateIIID));
  1319. DebenuPDFLibrarySetFormFieldBorderColorSep = (DelegateIIIWD)Marshal.GetDelegateForFunctionPointer(
  1320. GetProcAddress(dllHandle, "DPLSetFormFieldBorderColorSep"), typeof(DelegateIIIWD));
  1321. DebenuPDFLibrarySetFormFieldBorderStyle = (DelegateIIIDIDD)Marshal.GetDelegateForFunctionPointer(
  1322. GetProcAddress(dllHandle, "DPLSetFormFieldBorderStyle"), typeof(DelegateIIIDIDD));
  1323. DebenuPDFLibrarySetFormFieldBounds = (DelegateIIIDDDD)Marshal.GetDelegateForFunctionPointer(
  1324. GetProcAddress(dllHandle, "DPLSetFormFieldBounds"), typeof(DelegateIIIDDDD));
  1325. DebenuPDFLibrarySetFormFieldCalcOrder = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1326. GetProcAddress(dllHandle, "DPLSetFormFieldCalcOrder"), typeof(DelegateIIII));
  1327. DebenuPDFLibrarySetFormFieldCaption = (DelegateIIIW)Marshal.GetDelegateForFunctionPointer(
  1328. GetProcAddress(dllHandle, "DPLSetFormFieldCaption"), typeof(DelegateIIIW));
  1329. DebenuPDFLibrarySetFormFieldCheckStyle = (DelegateIIIII)Marshal.GetDelegateForFunctionPointer(
  1330. GetProcAddress(dllHandle, "DPLSetFormFieldCheckStyle"), typeof(DelegateIIIII));
  1331. DebenuPDFLibrarySetFormFieldChildTitle = (DelegateIIIW)Marshal.GetDelegateForFunctionPointer(
  1332. GetProcAddress(dllHandle, "DPLSetFormFieldChildTitle"), typeof(DelegateIIIW));
  1333. DebenuPDFLibrarySetFormFieldChoiceSub = (DelegateIIIIWW)Marshal.GetDelegateForFunctionPointer(
  1334. GetProcAddress(dllHandle, "DPLSetFormFieldChoiceSub"), typeof(DelegateIIIIWW));
  1335. DebenuPDFLibrarySetFormFieldChoiceType = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1336. GetProcAddress(dllHandle, "DPLSetFormFieldChoiceType"), typeof(DelegateIIII));
  1337. DebenuPDFLibrarySetFormFieldColor = (DelegateIIIDDD)Marshal.GetDelegateForFunctionPointer(
  1338. GetProcAddress(dllHandle, "DPLSetFormFieldColor"), typeof(DelegateIIIDDD));
  1339. DebenuPDFLibrarySetFormFieldColorCMYK = (DelegateIIIDDDD)Marshal.GetDelegateForFunctionPointer(
  1340. GetProcAddress(dllHandle, "DPLSetFormFieldColorCMYK"), typeof(DelegateIIIDDDD));
  1341. DebenuPDFLibrarySetFormFieldColorSep = (DelegateIIIWD)Marshal.GetDelegateForFunctionPointer(
  1342. GetProcAddress(dllHandle, "DPLSetFormFieldColorSep"), typeof(DelegateIIIWD));
  1343. DebenuPDFLibrarySetFormFieldComb = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1344. GetProcAddress(dllHandle, "DPLSetFormFieldComb"), typeof(DelegateIIII));
  1345. DebenuPDFLibrarySetFormFieldDefaultValue = (DelegateIIIW)Marshal.GetDelegateForFunctionPointer(
  1346. GetProcAddress(dllHandle, "DPLSetFormFieldDefaultValue"), typeof(DelegateIIIW));
  1347. DebenuPDFLibrarySetFormFieldDescription = (DelegateIIIW)Marshal.GetDelegateForFunctionPointer(
  1348. GetProcAddress(dllHandle, "DPLSetFormFieldDescription"), typeof(DelegateIIIW));
  1349. DebenuPDFLibrarySetFormFieldFlags = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1350. GetProcAddress(dllHandle, "DPLSetFormFieldFlags"), typeof(DelegateIIII));
  1351. DebenuPDFLibrarySetFormFieldFont = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1352. GetProcAddress(dllHandle, "DPLSetFormFieldFont"), typeof(DelegateIIII));
  1353. DebenuPDFLibrarySetFormFieldHighlightMode = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1354. GetProcAddress(dllHandle, "DPLSetFormFieldHighlightMode"), typeof(DelegateIIII));
  1355. DebenuPDFLibrarySetFormFieldIcon = (DelegateIIIII)Marshal.GetDelegateForFunctionPointer(
  1356. GetProcAddress(dllHandle, "DPLSetFormFieldIcon"), typeof(DelegateIIIII));
  1357. DebenuPDFLibrarySetFormFieldIconStyle = (DelegateIIIIIIII)Marshal.GetDelegateForFunctionPointer(
  1358. GetProcAddress(dllHandle, "DPLSetFormFieldIconStyle"), typeof(DelegateIIIIIIII));
  1359. DebenuPDFLibrarySetFormFieldMaxLen = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1360. GetProcAddress(dllHandle, "DPLSetFormFieldMaxLen"), typeof(DelegateIIII));
  1361. DebenuPDFLibrarySetFormFieldNoExport = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1362. GetProcAddress(dllHandle, "DPLSetFormFieldNoExport"), typeof(DelegateIIII));
  1363. DebenuPDFLibrarySetFormFieldOptional = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1364. GetProcAddress(dllHandle, "DPLSetFormFieldOptional"), typeof(DelegateIIII));
  1365. DebenuPDFLibrarySetFormFieldPage = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1366. GetProcAddress(dllHandle, "DPLSetFormFieldPage"), typeof(DelegateIIII));
  1367. DebenuPDFLibrarySetFormFieldPrintable = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1368. GetProcAddress(dllHandle, "DPLSetFormFieldPrintable"), typeof(DelegateIIII));
  1369. DebenuPDFLibrarySetFormFieldReadOnly = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1370. GetProcAddress(dllHandle, "DPLSetFormFieldReadOnly"), typeof(DelegateIIII));
  1371. DebenuPDFLibrarySetFormFieldRequired = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1372. GetProcAddress(dllHandle, "DPLSetFormFieldRequired"), typeof(DelegateIIII));
  1373. DebenuPDFLibrarySetFormFieldResetAction = (DelegateIIIW)Marshal.GetDelegateForFunctionPointer(
  1374. GetProcAddress(dllHandle, "DPLSetFormFieldResetAction"), typeof(DelegateIIIW));
  1375. DebenuPDFLibrarySetFormFieldRichTextString = (DelegateIIIWW)Marshal.GetDelegateForFunctionPointer(
  1376. GetProcAddress(dllHandle, "DPLSetFormFieldRichTextString"), typeof(DelegateIIIWW));
  1377. DebenuPDFLibrarySetFormFieldRotation = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1378. GetProcAddress(dllHandle, "DPLSetFormFieldRotation"), typeof(DelegateIIII));
  1379. DebenuPDFLibrarySetFormFieldSignatureImage = (DelegateIIIII)Marshal.GetDelegateForFunctionPointer(
  1380. GetProcAddress(dllHandle, "DPLSetFormFieldSignatureImage"), typeof(DelegateIIIII));
  1381. DebenuPDFLibrarySetFormFieldStandardFont = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1382. GetProcAddress(dllHandle, "DPLSetFormFieldStandardFont"), typeof(DelegateIIII));
  1383. DebenuPDFLibrarySetFormFieldSubmitAction = (DelegateIIIWW)Marshal.GetDelegateForFunctionPointer(
  1384. GetProcAddress(dllHandle, "DPLSetFormFieldSubmitAction"), typeof(DelegateIIIWW));
  1385. DebenuPDFLibrarySetFormFieldSubmitActionEx = (DelegateIIIWWI)Marshal.GetDelegateForFunctionPointer(
  1386. GetProcAddress(dllHandle, "DPLSetFormFieldSubmitActionEx"), typeof(DelegateIIIWWI));
  1387. DebenuPDFLibrarySetFormFieldTabOrder = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1388. GetProcAddress(dllHandle, "DPLSetFormFieldTabOrder"), typeof(DelegateIIII));
  1389. DebenuPDFLibrarySetFormFieldTextFlags = (DelegateIIIIIIII)Marshal.GetDelegateForFunctionPointer(
  1390. GetProcAddress(dllHandle, "DPLSetFormFieldTextFlags"), typeof(DelegateIIIIIIII));
  1391. DebenuPDFLibrarySetFormFieldTextSize = (DelegateIIID)Marshal.GetDelegateForFunctionPointer(
  1392. GetProcAddress(dllHandle, "DPLSetFormFieldTextSize"), typeof(DelegateIIID));
  1393. DebenuPDFLibrarySetFormFieldTitle = (DelegateIIIW)Marshal.GetDelegateForFunctionPointer(
  1394. GetProcAddress(dllHandle, "DPLSetFormFieldTitle"), typeof(DelegateIIIW));
  1395. DebenuPDFLibrarySetFormFieldValue = (DelegateIIIW)Marshal.GetDelegateForFunctionPointer(
  1396. GetProcAddress(dllHandle, "DPLSetFormFieldValue"), typeof(DelegateIIIW));
  1397. DebenuPDFLibrarySetFormFieldValueByTitle = (DelegateIIWW)Marshal.GetDelegateForFunctionPointer(
  1398. GetProcAddress(dllHandle, "DPLSetFormFieldValueByTitle"), typeof(DelegateIIWW));
  1399. DebenuPDFLibrarySetFormFieldVisible = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1400. GetProcAddress(dllHandle, "DPLSetFormFieldVisible"), typeof(DelegateIIII));
  1401. DebenuPDFLibrarySetGDIPlusFileName = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  1402. GetProcAddress(dllHandle, "DPLSetGDIPlusFileName"), typeof(DelegateIIW));
  1403. DebenuPDFLibrarySetGDIPlusOptions = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1404. GetProcAddress(dllHandle, "DPLSetGDIPlusOptions"), typeof(DelegateIIII));
  1405. DebenuPDFLibrarySetHTMLBoldFont = (DelegateIIWI)Marshal.GetDelegateForFunctionPointer(
  1406. GetProcAddress(dllHandle, "DPLSetHTMLBoldFont"), typeof(DelegateIIWI));
  1407. DebenuPDFLibrarySetHTMLBoldItalicFont = (DelegateIIWI)Marshal.GetDelegateForFunctionPointer(
  1408. GetProcAddress(dllHandle, "DPLSetHTMLBoldItalicFont"), typeof(DelegateIIWI));
  1409. DebenuPDFLibrarySetHTMLItalicFont = (DelegateIIWI)Marshal.GetDelegateForFunctionPointer(
  1410. GetProcAddress(dllHandle, "DPLSetHTMLItalicFont"), typeof(DelegateIIWI));
  1411. DebenuPDFLibrarySetHTMLNormalFont = (DelegateIIWI)Marshal.GetDelegateForFunctionPointer(
  1412. GetProcAddress(dllHandle, "DPLSetHTMLNormalFont"), typeof(DelegateIIWI));
  1413. DebenuPDFLibrarySetHeaderCommentsFromString = (DelegateIIB)Marshal.GetDelegateForFunctionPointer(
  1414. GetProcAddress(dllHandle, "DPLSetHeaderCommentsFromString"), typeof(DelegateIIB));
  1415. DebenuPDFLibrarySetImageAsMask = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1416. GetProcAddress(dllHandle, "DPLSetImageAsMask"), typeof(DelegateIII));
  1417. DebenuPDFLibrarySetImageMask = (DelegateIIDDDDDD)Marshal.GetDelegateForFunctionPointer(
  1418. GetProcAddress(dllHandle, "DPLSetImageMask"), typeof(DelegateIIDDDDDD));
  1419. DebenuPDFLibrarySetImageMaskCMYK = (DelegateIIDDDDDDDD)Marshal.GetDelegateForFunctionPointer(
  1420. GetProcAddress(dllHandle, "DPLSetImageMaskCMYK"), typeof(DelegateIIDDDDDDDD));
  1421. DebenuPDFLibrarySetImageMaskFromImage = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1422. GetProcAddress(dllHandle, "DPLSetImageMaskFromImage"), typeof(DelegateIII));
  1423. DebenuPDFLibrarySetImageOptional = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1424. GetProcAddress(dllHandle, "DPLSetImageOptional"), typeof(DelegateIII));
  1425. DebenuPDFLibrarySetImageResolution = (DelegateIIIII)Marshal.GetDelegateForFunctionPointer(
  1426. GetProcAddress(dllHandle, "DPLSetImageResolution"), typeof(DelegateIIIII));
  1427. DebenuPDFLibrarySetInformation = (DelegateIIIW)Marshal.GetDelegateForFunctionPointer(
  1428. GetProcAddress(dllHandle, "DPLSetInformation"), typeof(DelegateIIIW));
  1429. DebenuPDFLibrarySetJPEGQuality = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1430. GetProcAddress(dllHandle, "DPLSetJPEGQuality"), typeof(DelegateIII));
  1431. DebenuPDFLibrarySetJavaScriptMode = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1432. GetProcAddress(dllHandle, "DPLSetJavaScriptMode"), typeof(DelegateIII));
  1433. DebenuPDFLibrarySetKerning = (DelegateIIWI)Marshal.GetDelegateForFunctionPointer(
  1434. GetProcAddress(dllHandle, "DPLSetKerning"), typeof(DelegateIIWI));
  1435. DebenuPDFLibrarySetLineCap = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1436. GetProcAddress(dllHandle, "DPLSetLineCap"), typeof(DelegateIII));
  1437. DebenuPDFLibrarySetLineColor = (DelegateIIDDD)Marshal.GetDelegateForFunctionPointer(
  1438. GetProcAddress(dllHandle, "DPLSetLineColor"), typeof(DelegateIIDDD));
  1439. DebenuPDFLibrarySetLineColorCMYK = (DelegateIIDDDD)Marshal.GetDelegateForFunctionPointer(
  1440. GetProcAddress(dllHandle, "DPLSetLineColorCMYK"), typeof(DelegateIIDDDD));
  1441. DebenuPDFLibrarySetLineColorSep = (DelegateIIWD)Marshal.GetDelegateForFunctionPointer(
  1442. GetProcAddress(dllHandle, "DPLSetLineColorSep"), typeof(DelegateIIWD));
  1443. DebenuPDFLibrarySetLineDash = (DelegateIIDD)Marshal.GetDelegateForFunctionPointer(
  1444. GetProcAddress(dllHandle, "DPLSetLineDash"), typeof(DelegateIIDD));
  1445. DebenuPDFLibrarySetLineDashEx = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  1446. GetProcAddress(dllHandle, "DPLSetLineDashEx"), typeof(DelegateIIW));
  1447. DebenuPDFLibrarySetLineJoin = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1448. GetProcAddress(dllHandle, "DPLSetLineJoin"), typeof(DelegateIII));
  1449. DebenuPDFLibrarySetLineShader = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  1450. GetProcAddress(dllHandle, "DPLSetLineShader"), typeof(DelegateIIW));
  1451. DebenuPDFLibrarySetLineWidth = (DelegateIID)Marshal.GetDelegateForFunctionPointer(
  1452. GetProcAddress(dllHandle, "DPLSetLineWidth"), typeof(DelegateIID));
  1453. DebenuPDFLibrarySetMarkupAnnotStyle = (DelegateIIIDDDD)Marshal.GetDelegateForFunctionPointer(
  1454. GetProcAddress(dllHandle, "DPLSetMarkupAnnotStyle"), typeof(DelegateIIIDDDD));
  1455. DebenuPDFLibrarySetMeasureDictBoundsCount = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1456. GetProcAddress(dllHandle, "DPLSetMeasureDictBoundsCount"), typeof(DelegateIIII));
  1457. DebenuPDFLibrarySetMeasureDictBoundsItem = (DelegateIIIID)Marshal.GetDelegateForFunctionPointer(
  1458. GetProcAddress(dllHandle, "DPLSetMeasureDictBoundsItem"), typeof(DelegateIIIID));
  1459. DebenuPDFLibrarySetMeasureDictCoordinateSystem = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1460. GetProcAddress(dllHandle, "DPLSetMeasureDictCoordinateSystem"), typeof(DelegateIIII));
  1461. DebenuPDFLibrarySetMeasureDictGPTSCount = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1462. GetProcAddress(dllHandle, "DPLSetMeasureDictGPTSCount"), typeof(DelegateIIII));
  1463. DebenuPDFLibrarySetMeasureDictGPTSItem = (DelegateIIIID)Marshal.GetDelegateForFunctionPointer(
  1464. GetProcAddress(dllHandle, "DPLSetMeasureDictGPTSItem"), typeof(DelegateIIIID));
  1465. DebenuPDFLibrarySetMeasureDictLPTSCount = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1466. GetProcAddress(dllHandle, "DPLSetMeasureDictLPTSCount"), typeof(DelegateIIII));
  1467. DebenuPDFLibrarySetMeasureDictLPTSItem = (DelegateIIIID)Marshal.GetDelegateForFunctionPointer(
  1468. GetProcAddress(dllHandle, "DPLSetMeasureDictLPTSItem"), typeof(DelegateIIIID));
  1469. DebenuPDFLibrarySetMeasureDictPDU = (DelegateIIIIII)Marshal.GetDelegateForFunctionPointer(
  1470. GetProcAddress(dllHandle, "DPLSetMeasureDictPDU"), typeof(DelegateIIIIII));
  1471. DebenuPDFLibrarySetMeasurementUnits = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1472. GetProcAddress(dllHandle, "DPLSetMeasurementUnits"), typeof(DelegateIII));
  1473. DebenuPDFLibrarySetNeedAppearances = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1474. GetProcAddress(dllHandle, "DPLSetNeedAppearances"), typeof(DelegateIII));
  1475. DebenuPDFLibrarySetObjectFromString = (DelegateIIIB)Marshal.GetDelegateForFunctionPointer(
  1476. GetProcAddress(dllHandle, "DPLSetObjectFromString"), typeof(DelegateIIIB));
  1477. DebenuPDFLibrarySetOpenActionDestination = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1478. GetProcAddress(dllHandle, "DPLSetOpenActionDestination"), typeof(DelegateIIII));
  1479. DebenuPDFLibrarySetOpenActionDestinationFull = (DelegateIIIIIDDDD)Marshal.GetDelegateForFunctionPointer(
  1480. GetProcAddress(dllHandle, "DPLSetOpenActionDestinationFull"), typeof(DelegateIIIIIDDDD));
  1481. DebenuPDFLibrarySetOpenActionJavaScript = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  1482. GetProcAddress(dllHandle, "DPLSetOpenActionJavaScript"), typeof(DelegateIIW));
  1483. DebenuPDFLibrarySetOpenActionMenu = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  1484. GetProcAddress(dllHandle, "DPLSetOpenActionMenu"), typeof(DelegateIIW));
  1485. DebenuPDFLibrarySetOptionalContentConfigLocked = (DelegateIIIII)Marshal.GetDelegateForFunctionPointer(
  1486. GetProcAddress(dllHandle, "DPLSetOptionalContentConfigLocked"), typeof(DelegateIIIII));
  1487. DebenuPDFLibrarySetOptionalContentConfigState = (DelegateIIIII)Marshal.GetDelegateForFunctionPointer(
  1488. GetProcAddress(dllHandle, "DPLSetOptionalContentConfigState"), typeof(DelegateIIIII));
  1489. DebenuPDFLibrarySetOptionalContentGroupName = (DelegateIIIW)Marshal.GetDelegateForFunctionPointer(
  1490. GetProcAddress(dllHandle, "DPLSetOptionalContentGroupName"), typeof(DelegateIIIW));
  1491. DebenuPDFLibrarySetOptionalContentGroupPrintable = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1492. GetProcAddress(dllHandle, "DPLSetOptionalContentGroupPrintable"), typeof(DelegateIIII));
  1493. DebenuPDFLibrarySetOptionalContentGroupVisible = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1494. GetProcAddress(dllHandle, "DPLSetOptionalContentGroupVisible"), typeof(DelegateIIII));
  1495. DebenuPDFLibrarySetOrigin = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1496. GetProcAddress(dllHandle, "DPLSetOrigin"), typeof(DelegateIII));
  1497. DebenuPDFLibrarySetOutlineColor = (DelegateIIIDDD)Marshal.GetDelegateForFunctionPointer(
  1498. GetProcAddress(dllHandle, "DPLSetOutlineColor"), typeof(DelegateIIIDDD));
  1499. DebenuPDFLibrarySetOutlineDestination = (DelegateIIIID)Marshal.GetDelegateForFunctionPointer(
  1500. GetProcAddress(dllHandle, "DPLSetOutlineDestination"), typeof(DelegateIIIID));
  1501. DebenuPDFLibrarySetOutlineDestinationFull = (DelegateIIIIIIDDDD)Marshal.GetDelegateForFunctionPointer(
  1502. GetProcAddress(dllHandle, "DPLSetOutlineDestinationFull"), typeof(DelegateIIIIIIDDDD));
  1503. DebenuPDFLibrarySetOutlineDestinationZoom = (DelegateIIIIDI)Marshal.GetDelegateForFunctionPointer(
  1504. GetProcAddress(dllHandle, "DPLSetOutlineDestinationZoom"), typeof(DelegateIIIIDI));
  1505. DebenuPDFLibrarySetOutlineJavaScript = (DelegateIIIW)Marshal.GetDelegateForFunctionPointer(
  1506. GetProcAddress(dllHandle, "DPLSetOutlineJavaScript"), typeof(DelegateIIIW));
  1507. DebenuPDFLibrarySetOutlineNamedDestination = (DelegateIIIW)Marshal.GetDelegateForFunctionPointer(
  1508. GetProcAddress(dllHandle, "DPLSetOutlineNamedDestination"), typeof(DelegateIIIW));
  1509. DebenuPDFLibrarySetOutlineOpenFile = (DelegateIIIW)Marshal.GetDelegateForFunctionPointer(
  1510. GetProcAddress(dllHandle, "DPLSetOutlineOpenFile"), typeof(DelegateIIIW));
  1511. DebenuPDFLibrarySetOutlineRemoteDestination = (DelegateIIIWIIIDDDDI)Marshal.GetDelegateForFunctionPointer(
  1512. GetProcAddress(dllHandle, "DPLSetOutlineRemoteDestination"), typeof(DelegateIIIWIIIDDDDI));
  1513. DebenuPDFLibrarySetOutlineStyle = (DelegateIIIII)Marshal.GetDelegateForFunctionPointer(
  1514. GetProcAddress(dllHandle, "DPLSetOutlineStyle"), typeof(DelegateIIIII));
  1515. DebenuPDFLibrarySetOutlineTitle = (DelegateIIIW)Marshal.GetDelegateForFunctionPointer(
  1516. GetProcAddress(dllHandle, "DPLSetOutlineTitle"), typeof(DelegateIIIW));
  1517. DebenuPDFLibrarySetOutlineWebLink = (DelegateIIIW)Marshal.GetDelegateForFunctionPointer(
  1518. GetProcAddress(dllHandle, "DPLSetOutlineWebLink"), typeof(DelegateIIIW));
  1519. DebenuPDFLibrarySetOverprint = (DelegateIIIII)Marshal.GetDelegateForFunctionPointer(
  1520. GetProcAddress(dllHandle, "DPLSetOverprint"), typeof(DelegateIIIII));
  1521. DebenuPDFLibrarySetPDFAMode = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1522. GetProcAddress(dllHandle, "DPLSetPDFAMode"), typeof(DelegateIII));
  1523. DebenuPDFLibrarySetPNGTransparencyColor = (DelegateIIIII)Marshal.GetDelegateForFunctionPointer(
  1524. GetProcAddress(dllHandle, "DPLSetPNGTransparencyColor"), typeof(DelegateIIIII));
  1525. DebenuPDFLibrarySetPageActionMenu = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  1526. GetProcAddress(dllHandle, "DPLSetPageActionMenu"), typeof(DelegateIIW));
  1527. DebenuPDFLibrarySetPageBox = (DelegateIIIDDDD)Marshal.GetDelegateForFunctionPointer(
  1528. GetProcAddress(dllHandle, "DPLSetPageBox"), typeof(DelegateIIIDDDD));
  1529. DebenuPDFLibrarySetPageContentFromString = (DelegateIIB)Marshal.GetDelegateForFunctionPointer(
  1530. GetProcAddress(dllHandle, "DPLSetPageContentFromString"), typeof(DelegateIIB));
  1531. DebenuPDFLibrarySetPageDimensions = (DelegateIIDD)Marshal.GetDelegateForFunctionPointer(
  1532. GetProcAddress(dllHandle, "DPLSetPageDimensions"), typeof(DelegateIIDD));
  1533. DebenuPDFLibrarySetPageLayout = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1534. GetProcAddress(dllHandle, "DPLSetPageLayout"), typeof(DelegateIII));
  1535. DebenuPDFLibrarySetPageMode = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1536. GetProcAddress(dllHandle, "DPLSetPageMode"), typeof(DelegateIII));
  1537. DebenuPDFLibrarySetPageSize = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  1538. GetProcAddress(dllHandle, "DPLSetPageSize"), typeof(DelegateIIW));
  1539. DebenuPDFLibrarySetPageThumbnail = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  1540. GetProcAddress(dllHandle, "DPLSetPageThumbnail"), typeof(DelegateII));
  1541. DebenuPDFLibrarySetPageTransparencyGroup = (DelegateIIIII)Marshal.GetDelegateForFunctionPointer(
  1542. GetProcAddress(dllHandle, "DPLSetPageTransparencyGroup"), typeof(DelegateIIIII));
  1543. DebenuPDFLibrarySetPrecision = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1544. GetProcAddress(dllHandle, "DPLSetPrecision"), typeof(DelegateIII));
  1545. DebenuPDFLibrarySetPrinterDevModeFromString = (DelegateIIB)Marshal.GetDelegateForFunctionPointer(
  1546. GetProcAddress(dllHandle, "DPLSetPrinterDevModeFromString"), typeof(DelegateIIB));
  1547. DebenuPDFLibrarySetRenderCropType = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1548. GetProcAddress(dllHandle, "DPLSetRenderCropType"), typeof(DelegateIII));
  1549. DebenuPDFLibrarySetRenderDCErasePage = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1550. GetProcAddress(dllHandle, "DPLSetRenderDCErasePage"), typeof(DelegateIII));
  1551. DebenuPDFLibrarySetRenderDCOffset = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1552. GetProcAddress(dllHandle, "DPLSetRenderDCOffset"), typeof(DelegateIIII));
  1553. DebenuPDFLibrarySetRenderOptions = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1554. GetProcAddress(dllHandle, "DPLSetRenderOptions"), typeof(DelegateIIII));
  1555. DebenuPDFLibrarySetRenderScale = (DelegateIID)Marshal.GetDelegateForFunctionPointer(
  1556. GetProcAddress(dllHandle, "DPLSetRenderScale"), typeof(DelegateIID));
  1557. DebenuPDFLibrarySetScale = (DelegateIID)Marshal.GetDelegateForFunctionPointer(
  1558. GetProcAddress(dllHandle, "DPLSetScale"), typeof(DelegateIID));
  1559. DebenuPDFLibrarySetSignProcessField = (DelegateIIIW)Marshal.GetDelegateForFunctionPointer(
  1560. GetProcAddress(dllHandle, "DPLSetSignProcessField"), typeof(DelegateIIIW));
  1561. DebenuPDFLibrarySetSignProcessFieldBounds = (DelegateIIIDDDD)Marshal.GetDelegateForFunctionPointer(
  1562. GetProcAddress(dllHandle, "DPLSetSignProcessFieldBounds"), typeof(DelegateIIIDDDD));
  1563. DebenuPDFLibrarySetSignProcessFieldImageFromFile = (DelegateIIIWI)Marshal.GetDelegateForFunctionPointer(
  1564. GetProcAddress(dllHandle, "DPLSetSignProcessFieldImageFromFile"), typeof(DelegateIIIWI));
  1565. DebenuPDFLibrarySetSignProcessFieldPage = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1566. GetProcAddress(dllHandle, "DPLSetSignProcessFieldPage"), typeof(DelegateIIII));
  1567. DebenuPDFLibrarySetSignProcessInfo = (DelegateIIIWWW)Marshal.GetDelegateForFunctionPointer(
  1568. GetProcAddress(dllHandle, "DPLSetSignProcessInfo"), typeof(DelegateIIIWWW));
  1569. DebenuPDFLibrarySetSignProcessKeyset = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1570. GetProcAddress(dllHandle, "DPLSetSignProcessKeyset"), typeof(DelegateIIII));
  1571. DebenuPDFLibrarySetSignProcessPFXFromFile = (DelegateIIIWW)Marshal.GetDelegateForFunctionPointer(
  1572. GetProcAddress(dllHandle, "DPLSetSignProcessPFXFromFile"), typeof(DelegateIIIWW));
  1573. DebenuPDFLibrarySetSignProcessPassthrough = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1574. GetProcAddress(dllHandle, "DPLSetSignProcessPassthrough"), typeof(DelegateIIII));
  1575. DebenuPDFLibrarySetSignProcessSubFilter = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1576. GetProcAddress(dllHandle, "DPLSetSignProcessSubFilter"), typeof(DelegateIIII));
  1577. DebenuPDFLibrarySetTabOrderMode = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  1578. GetProcAddress(dllHandle, "DPLSetTabOrderMode"), typeof(DelegateIIW));
  1579. DebenuPDFLibrarySetTableBorderColor = (DelegateIIIIDDD)Marshal.GetDelegateForFunctionPointer(
  1580. GetProcAddress(dllHandle, "DPLSetTableBorderColor"), typeof(DelegateIIIIDDD));
  1581. DebenuPDFLibrarySetTableBorderColorCMYK = (DelegateIIIIDDDD)Marshal.GetDelegateForFunctionPointer(
  1582. GetProcAddress(dllHandle, "DPLSetTableBorderColorCMYK"), typeof(DelegateIIIIDDDD));
  1583. DebenuPDFLibrarySetTableBorderWidth = (DelegateIIIID)Marshal.GetDelegateForFunctionPointer(
  1584. GetProcAddress(dllHandle, "DPLSetTableBorderWidth"), typeof(DelegateIIIID));
  1585. DebenuPDFLibrarySetTableCellAlignment = (DelegateIIIIIIII)Marshal.GetDelegateForFunctionPointer(
  1586. GetProcAddress(dllHandle, "DPLSetTableCellAlignment"), typeof(DelegateIIIIIIII));
  1587. DebenuPDFLibrarySetTableCellBackgroundColor = (DelegateIIIIIIIDDD)Marshal.GetDelegateForFunctionPointer(
  1588. GetProcAddress(dllHandle, "DPLSetTableCellBackgroundColor"), typeof(DelegateIIIIIIIDDD));
  1589. DebenuPDFLibrarySetTableCellBackgroundColorCMYK = (DelegateIIIIIIIDDDD)Marshal.GetDelegateForFunctionPointer(
  1590. GetProcAddress(dllHandle, "DPLSetTableCellBackgroundColorCMYK"), typeof(DelegateIIIIIIIDDDD));
  1591. DebenuPDFLibrarySetTableCellBorderColor = (DelegateIIIIIIIIDDD)Marshal.GetDelegateForFunctionPointer(
  1592. GetProcAddress(dllHandle, "DPLSetTableCellBorderColor"), typeof(DelegateIIIIIIIIDDD));
  1593. DebenuPDFLibrarySetTableCellBorderColorCMYK = (DelegateIIIIIIIIDDDD)Marshal.GetDelegateForFunctionPointer(
  1594. GetProcAddress(dllHandle, "DPLSetTableCellBorderColorCMYK"), typeof(DelegateIIIIIIIIDDDD));
  1595. DebenuPDFLibrarySetTableCellBorderWidth = (DelegateIIIIIIIID)Marshal.GetDelegateForFunctionPointer(
  1596. GetProcAddress(dllHandle, "DPLSetTableCellBorderWidth"), typeof(DelegateIIIIIIIID));
  1597. DebenuPDFLibrarySetTableCellContent = (DelegateIIIIIW)Marshal.GetDelegateForFunctionPointer(
  1598. GetProcAddress(dllHandle, "DPLSetTableCellContent"), typeof(DelegateIIIIIW));
  1599. DebenuPDFLibrarySetTableCellPadding = (DelegateIIIIIIIID)Marshal.GetDelegateForFunctionPointer(
  1600. GetProcAddress(dllHandle, "DPLSetTableCellPadding"), typeof(DelegateIIIIIIIID));
  1601. DebenuPDFLibrarySetTableCellTextColor = (DelegateIIIIIIIDDD)Marshal.GetDelegateForFunctionPointer(
  1602. GetProcAddress(dllHandle, "DPLSetTableCellTextColor"), typeof(DelegateIIIIIIIDDD));
  1603. DebenuPDFLibrarySetTableCellTextColorCMYK = (DelegateIIIIIIIDDDD)Marshal.GetDelegateForFunctionPointer(
  1604. GetProcAddress(dllHandle, "DPLSetTableCellTextColorCMYK"), typeof(DelegateIIIIIIIDDDD));
  1605. DebenuPDFLibrarySetTableCellTextSize = (DelegateIIIIIIID)Marshal.GetDelegateForFunctionPointer(
  1606. GetProcAddress(dllHandle, "DPLSetTableCellTextSize"), typeof(DelegateIIIIIIID));
  1607. DebenuPDFLibrarySetTableColumnWidth = (DelegateIIIIID)Marshal.GetDelegateForFunctionPointer(
  1608. GetProcAddress(dllHandle, "DPLSetTableColumnWidth"), typeof(DelegateIIIIID));
  1609. DebenuPDFLibrarySetTableRowHeight = (DelegateIIIIID)Marshal.GetDelegateForFunctionPointer(
  1610. GetProcAddress(dllHandle, "DPLSetTableRowHeight"), typeof(DelegateIIIIID));
  1611. DebenuPDFLibrarySetTableThinBorders = (DelegateIIIIDDD)Marshal.GetDelegateForFunctionPointer(
  1612. GetProcAddress(dllHandle, "DPLSetTableThinBorders"), typeof(DelegateIIIIDDD));
  1613. DebenuPDFLibrarySetTableThinBordersCMYK = (DelegateIIIIDDDD)Marshal.GetDelegateForFunctionPointer(
  1614. GetProcAddress(dllHandle, "DPLSetTableThinBordersCMYK"), typeof(DelegateIIIIDDDD));
  1615. DebenuPDFLibrarySetTempFile = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  1616. GetProcAddress(dllHandle, "DPLSetTempFile"), typeof(DelegateIIW));
  1617. DebenuPDFLibrarySetTempPath = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  1618. GetProcAddress(dllHandle, "DPLSetTempPath"), typeof(DelegateIIW));
  1619. DebenuPDFLibrarySetTextAlign = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1620. GetProcAddress(dllHandle, "DPLSetTextAlign"), typeof(DelegateIII));
  1621. DebenuPDFLibrarySetTextCharSpacing = (DelegateIID)Marshal.GetDelegateForFunctionPointer(
  1622. GetProcAddress(dllHandle, "DPLSetTextCharSpacing"), typeof(DelegateIID));
  1623. DebenuPDFLibrarySetTextColor = (DelegateIIDDD)Marshal.GetDelegateForFunctionPointer(
  1624. GetProcAddress(dllHandle, "DPLSetTextColor"), typeof(DelegateIIDDD));
  1625. DebenuPDFLibrarySetTextColorCMYK = (DelegateIIDDDD)Marshal.GetDelegateForFunctionPointer(
  1626. GetProcAddress(dllHandle, "DPLSetTextColorCMYK"), typeof(DelegateIIDDDD));
  1627. DebenuPDFLibrarySetTextColorSep = (DelegateIIWD)Marshal.GetDelegateForFunctionPointer(
  1628. GetProcAddress(dllHandle, "DPLSetTextColorSep"), typeof(DelegateIIWD));
  1629. DebenuPDFLibrarySetTextExtractionArea = (DelegateIIDDDD)Marshal.GetDelegateForFunctionPointer(
  1630. GetProcAddress(dllHandle, "DPLSetTextExtractionArea"), typeof(DelegateIIDDDD));
  1631. DebenuPDFLibrarySetTextExtractionOptions = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1632. GetProcAddress(dllHandle, "DPLSetTextExtractionOptions"), typeof(DelegateIIII));
  1633. DebenuPDFLibrarySetTextExtractionScaling = (DelegateIIIDD)Marshal.GetDelegateForFunctionPointer(
  1634. GetProcAddress(dllHandle, "DPLSetTextExtractionScaling"), typeof(DelegateIIIDD));
  1635. DebenuPDFLibrarySetTextExtractionWordGap = (DelegateIID)Marshal.GetDelegateForFunctionPointer(
  1636. GetProcAddress(dllHandle, "DPLSetTextExtractionWordGap"), typeof(DelegateIID));
  1637. DebenuPDFLibrarySetTextHighlight = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1638. GetProcAddress(dllHandle, "DPLSetTextHighlight"), typeof(DelegateIII));
  1639. DebenuPDFLibrarySetTextHighlightColor = (DelegateIIDDD)Marshal.GetDelegateForFunctionPointer(
  1640. GetProcAddress(dllHandle, "DPLSetTextHighlightColor"), typeof(DelegateIIDDD));
  1641. DebenuPDFLibrarySetTextHighlightColorCMYK = (DelegateIIDDDD)Marshal.GetDelegateForFunctionPointer(
  1642. GetProcAddress(dllHandle, "DPLSetTextHighlightColorCMYK"), typeof(DelegateIIDDDD));
  1643. DebenuPDFLibrarySetTextHighlightColorSep = (DelegateIIWD)Marshal.GetDelegateForFunctionPointer(
  1644. GetProcAddress(dllHandle, "DPLSetTextHighlightColorSep"), typeof(DelegateIIWD));
  1645. DebenuPDFLibrarySetTextMode = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1646. GetProcAddress(dllHandle, "DPLSetTextMode"), typeof(DelegateIII));
  1647. DebenuPDFLibrarySetTextRise = (DelegateIID)Marshal.GetDelegateForFunctionPointer(
  1648. GetProcAddress(dllHandle, "DPLSetTextRise"), typeof(DelegateIID));
  1649. DebenuPDFLibrarySetTextScaling = (DelegateIID)Marshal.GetDelegateForFunctionPointer(
  1650. GetProcAddress(dllHandle, "DPLSetTextScaling"), typeof(DelegateIID));
  1651. DebenuPDFLibrarySetTextShader = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  1652. GetProcAddress(dllHandle, "DPLSetTextShader"), typeof(DelegateIIW));
  1653. DebenuPDFLibrarySetTextSize = (DelegateIID)Marshal.GetDelegateForFunctionPointer(
  1654. GetProcAddress(dllHandle, "DPLSetTextSize"), typeof(DelegateIID));
  1655. DebenuPDFLibrarySetTextSpacing = (DelegateIID)Marshal.GetDelegateForFunctionPointer(
  1656. GetProcAddress(dllHandle, "DPLSetTextSpacing"), typeof(DelegateIID));
  1657. DebenuPDFLibrarySetTextUnderline = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1658. GetProcAddress(dllHandle, "DPLSetTextUnderline"), typeof(DelegateIII));
  1659. DebenuPDFLibrarySetTextUnderlineColor = (DelegateIIDDD)Marshal.GetDelegateForFunctionPointer(
  1660. GetProcAddress(dllHandle, "DPLSetTextUnderlineColor"), typeof(DelegateIIDDD));
  1661. DebenuPDFLibrarySetTextUnderlineColorCMYK = (DelegateIIDDDD)Marshal.GetDelegateForFunctionPointer(
  1662. GetProcAddress(dllHandle, "DPLSetTextUnderlineColorCMYK"), typeof(DelegateIIDDDD));
  1663. DebenuPDFLibrarySetTextUnderlineColorSep = (DelegateIIWD)Marshal.GetDelegateForFunctionPointer(
  1664. GetProcAddress(dllHandle, "DPLSetTextUnderlineColorSep"), typeof(DelegateIIWD));
  1665. DebenuPDFLibrarySetTextUnderlineCustomDash = (DelegateIIWD)Marshal.GetDelegateForFunctionPointer(
  1666. GetProcAddress(dllHandle, "DPLSetTextUnderlineCustomDash"), typeof(DelegateIIWD));
  1667. DebenuPDFLibrarySetTextUnderlineDash = (DelegateIIDD)Marshal.GetDelegateForFunctionPointer(
  1668. GetProcAddress(dllHandle, "DPLSetTextUnderlineDash"), typeof(DelegateIIDD));
  1669. DebenuPDFLibrarySetTextUnderlineDistance = (DelegateIID)Marshal.GetDelegateForFunctionPointer(
  1670. GetProcAddress(dllHandle, "DPLSetTextUnderlineDistance"), typeof(DelegateIID));
  1671. DebenuPDFLibrarySetTextUnderlineWidth = (DelegateIID)Marshal.GetDelegateForFunctionPointer(
  1672. GetProcAddress(dllHandle, "DPLSetTextUnderlineWidth"), typeof(DelegateIID));
  1673. DebenuPDFLibrarySetTextWordSpacing = (DelegateIID)Marshal.GetDelegateForFunctionPointer(
  1674. GetProcAddress(dllHandle, "DPLSetTextWordSpacing"), typeof(DelegateIID));
  1675. DebenuPDFLibrarySetTransparency = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1676. GetProcAddress(dllHandle, "DPLSetTransparency"), typeof(DelegateIII));
  1677. DebenuPDFLibrarySetViewerPreferences = (DelegateIIII)Marshal.GetDelegateForFunctionPointer(
  1678. GetProcAddress(dllHandle, "DPLSetViewerPreferences"), typeof(DelegateIIII));
  1679. DebenuPDFLibrarySetXFAFormFieldAccess = (DelegateIIWI)Marshal.GetDelegateForFunctionPointer(
  1680. GetProcAddress(dllHandle, "DPLSetXFAFormFieldAccess"), typeof(DelegateIIWI));
  1681. DebenuPDFLibrarySetXFAFormFieldBorderColor = (DelegateIIWDDD)Marshal.GetDelegateForFunctionPointer(
  1682. GetProcAddress(dllHandle, "DPLSetXFAFormFieldBorderColor"), typeof(DelegateIIWDDD));
  1683. DebenuPDFLibrarySetXFAFormFieldBorderPresence = (DelegateIIWI)Marshal.GetDelegateForFunctionPointer(
  1684. GetProcAddress(dllHandle, "DPLSetXFAFormFieldBorderPresence"), typeof(DelegateIIWI));
  1685. DebenuPDFLibrarySetXFAFormFieldBorderWidth = (DelegateIIWD)Marshal.GetDelegateForFunctionPointer(
  1686. GetProcAddress(dllHandle, "DPLSetXFAFormFieldBorderWidth"), typeof(DelegateIIWD));
  1687. DebenuPDFLibrarySetXFAFormFieldValue = (DelegateIIWW)Marshal.GetDelegateForFunctionPointer(
  1688. GetProcAddress(dllHandle, "DPLSetXFAFormFieldValue"), typeof(DelegateIIWW));
  1689. DebenuPDFLibrarySetXFAFromString = (DelegateIIBI)Marshal.GetDelegateForFunctionPointer(
  1690. GetProcAddress(dllHandle, "DPLSetXFAFromString"), typeof(DelegateIIBI));
  1691. DebenuPDFLibrarySetupCustomPrinter = (DelegateIIWII)Marshal.GetDelegateForFunctionPointer(
  1692. GetProcAddress(dllHandle, "DPLSetupCustomPrinter"), typeof(DelegateIIWII));
  1693. DebenuPDFLibrarySignFile = (DelegateIIWWWWWWWWW)Marshal.GetDelegateForFunctionPointer(
  1694. GetProcAddress(dllHandle, "DPLSignFile"), typeof(DelegateIIWWWWWWWWW));
  1695. DebenuPDFLibrarySplitPageText = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1696. GetProcAddress(dllHandle, "DPLSplitPageText"), typeof(DelegateIII));
  1697. DebenuPDFLibraryStartPath = (DelegateIIDD)Marshal.GetDelegateForFunctionPointer(
  1698. GetProcAddress(dllHandle, "DPLStartPath"), typeof(DelegateIIDD));
  1699. DebenuPDFLibraryStoreCustomDataFromFile = (DelegateIIWWII)Marshal.GetDelegateForFunctionPointer(
  1700. GetProcAddress(dllHandle, "DPLStoreCustomDataFromFile"), typeof(DelegateIIWWII));
  1701. DebenuPDFLibraryStoreCustomDataFromString = (DelegateIISBII)Marshal.GetDelegateForFunctionPointer(
  1702. GetProcAddress(dllHandle, "DPLStoreCustomDataFromString"), typeof(DelegateIISBII));
  1703. DebenuPDFLibraryStringResultLength = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  1704. GetProcAddress(dllHandle, "DPLStringResultLength"), typeof(DelegateII));
  1705. DebenuPDFLibraryTestTempPath = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  1706. GetProcAddress(dllHandle, "DPLTestTempPath"), typeof(DelegateII));
  1707. DebenuPDFLibraryTransformFile = (DelegateIIWWWII)Marshal.GetDelegateForFunctionPointer(
  1708. GetProcAddress(dllHandle, "DPLTransformFile"), typeof(DelegateIIWWWII));
  1709. DebenuPDFLibraryUnlockKey = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  1710. GetProcAddress(dllHandle, "DPLUnlockKey"), typeof(DelegateIIW));
  1711. DebenuPDFLibraryUnlocked = (DelegateII)Marshal.GetDelegateForFunctionPointer(
  1712. GetProcAddress(dllHandle, "DPLUnlocked"), typeof(DelegateII));
  1713. DebenuPDFLibraryUpdateAndFlattenFormField = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1714. GetProcAddress(dllHandle, "DPLUpdateAndFlattenFormField"), typeof(DelegateIII));
  1715. DebenuPDFLibraryUpdateAppearanceStream = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1716. GetProcAddress(dllHandle, "DPLUpdateAppearanceStream"), typeof(DelegateIII));
  1717. DebenuPDFLibraryUpdateTrueTypeSubsettedFont = (DelegateIIW)Marshal.GetDelegateForFunctionPointer(
  1718. GetProcAddress(dllHandle, "DPLUpdateTrueTypeSubsettedFont"), typeof(DelegateIIW));
  1719. DebenuPDFLibraryUseKerning = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1720. GetProcAddress(dllHandle, "DPLUseKerning"), typeof(DelegateIII));
  1721. DebenuPDFLibraryUseUnsafeContentStreams = (DelegateIII)Marshal.GetDelegateForFunctionPointer(
  1722. GetProcAddress(dllHandle, "DPLUseUnsafeContentStreams"), typeof(DelegateIII));
  1723. }
  1724. }
  1725. ~DLL()
  1726. {
  1727. Release();
  1728. }
  1729. public void Release()
  1730. {
  1731. if (dllHandle != IntPtr.Zero)
  1732. {
  1733. foreach (int instanceID in shutDownList)
  1734. {
  1735. DebenuPDFLibraryReleaseLibrary(instanceID);
  1736. }
  1737. FreeLibrary(dllHandle);
  1738. dllHandle = IntPtr.Zero;
  1739. }
  1740. }
  1741. internal delegate int DelegateIIDDD(int P1, double P2, double P3, double P4);
  1742. internal delegate int DelegateIIDDDD(int P1, double P2, double P3, double P4, double P5);
  1743. internal delegate int DelegateIII(int P1, int P2);
  1744. internal delegate int DelegateIIDDDDDD(int P1, double P2, double P3, double P4, double P5, double P6, double P7);
  1745. internal delegate int DelegateIIWW(int P1, [MarshalAs(UnmanagedType.LPWStr)] string P2, [MarshalAs(UnmanagedType.LPWStr)] string P3);
  1746. internal delegate int DelegateIIWI(int P1, [MarshalAs(UnmanagedType.LPWStr)] string P2, int P3);
  1747. internal delegate int DelegateIIIWW(int P1, int P2, [MarshalAs(UnmanagedType.LPWStr)] string P3, [MarshalAs(UnmanagedType.LPWStr)] string P4);
  1748. internal delegate int DelegateIIIW(int P1, int P2, [MarshalAs(UnmanagedType.LPWStr)] string P3);
  1749. internal delegate int DelegateIIDDDDWII(int P1, double P2, double P3, double P4, double P5, [MarshalAs(UnmanagedType.LPWStr)] string P6, int P7, int P8);
  1750. internal delegate int DelegateIIWIII(int P1, [MarshalAs(UnmanagedType.LPWStr)] string P2, int P3, int P4, int P5);
  1751. internal delegate int DelegateIIBI(int P1, IntPtr P2, int P3);
  1752. internal delegate int DelegateIIW(int P1, [MarshalAs(UnmanagedType.LPWStr)] string P2);
  1753. internal delegate int DelegateIIDD(int P1, double P2, double P3);
  1754. internal delegate int DelegateIIDDDDII(int P1, double P2, double P3, double P4, double P5, int P6, int P7);
  1755. internal delegate int DelegateIIDDDDIWWII(int P1, double P2, double P3, double P4, double P5, int P6, [MarshalAs(UnmanagedType.LPWStr)] string P7, [MarshalAs(UnmanagedType.LPWStr)] string P8, int P9, int P10);
  1756. internal delegate int DelegateIIDDDDWIDII(int P1, double P2, double P3, double P4, double P5, [MarshalAs(UnmanagedType.LPWStr)] string P6, int P7, double P8, int P9, int P10);
  1757. internal delegate int DelegateIIDDDDWWDII(int P1, double P2, double P3, double P4, double P5, [MarshalAs(UnmanagedType.LPWStr)] string P6, [MarshalAs(UnmanagedType.LPWStr)] string P7, double P8, int P9, int P10);
  1758. internal delegate int DelegateIIDDDDWIIIIIDDDD(int P1, double P2, double P3, double P4, double P5, [MarshalAs(UnmanagedType.LPWStr)] string P6, int P7, int P8, int P9, int P10, int P11, double P12, double P13, double P14, double P15);
  1759. internal delegate int DelegateIIDDDDWI(int P1, double P2, double P3, double P4, double P5, [MarshalAs(UnmanagedType.LPWStr)] string P6, int P7);
  1760. internal delegate int DelegateIIDDDDIDI(int P1, double P2, double P3, double P4, double P5, int P6, double P7, int P8);
  1761. internal delegate int DelegateIIDDIDDDDWWDDDI(int P1, double P2, double P3, int P4, double P5, double P6, double P7, double P8, [MarshalAs(UnmanagedType.LPWStr)] string P9, [MarshalAs(UnmanagedType.LPWStr)] string P10, double P11, double P12, double P13, int P14);
  1762. internal delegate int DelegateIIIIIW(int P1, int P2, int P3, int P4, [MarshalAs(UnmanagedType.LPWStr)] string P5);
  1763. internal delegate int DelegateIIDDDDWWI(int P1, double P2, double P3, double P4, double P5, [MarshalAs(UnmanagedType.LPWStr)] string P6, [MarshalAs(UnmanagedType.LPWStr)] string P7, int P8);
  1764. internal delegate int DelegateIIWDDDDI(int P1, [MarshalAs(UnmanagedType.LPWStr)] string P2, double P3, double P4, double P5, double P6, int P7);
  1765. internal delegate int DelegateIIDDDDIWWDDDI(int P1, double P2, double P3, double P4, double P5, int P6, [MarshalAs(UnmanagedType.LPWStr)] string P7, [MarshalAs(UnmanagedType.LPWStr)] string P8, double P9, double P10, double P11, int P12);
  1766. internal delegate int DelegateIIDDDDWWWDDDI(int P1, double P2, double P3, double P4, double P5, [MarshalAs(UnmanagedType.LPWStr)] string P6, [MarshalAs(UnmanagedType.LPWStr)] string P7, [MarshalAs(UnmanagedType.LPWStr)] string P8, double P9, double P10, double P11, int P12);
  1767. internal delegate int DelegateIIWIW(int P1, [MarshalAs(UnmanagedType.LPWStr)] string P2, int P3, [MarshalAs(UnmanagedType.LPWStr)] string P4);
  1768. internal delegate int DelegateIIIDDDD(int P1, int P2, double P3, double P4, double P5, double P6);
  1769. internal delegate int DelegateIIBBI(int P1, IntPtr P2, IntPtr P3, int P4);
  1770. internal delegate int DelegateIIWWI(int P1, [MarshalAs(UnmanagedType.LPWStr)] string P2, [MarshalAs(UnmanagedType.LPWStr)] string P3, int P4);
  1771. internal delegate int DelegateII(int P1);
  1772. internal delegate int DelegateIID(int P1, double P2);
  1773. internal delegate int DelegateIIII(int P1, int P2, int P3);
  1774. internal delegate int DelegateIIWWII(int P1, [MarshalAs(UnmanagedType.LPWStr)] string P2, [MarshalAs(UnmanagedType.LPWStr)] string P3, int P4, int P5);
  1775. internal delegate int DelegateIIIII(int P1, int P2, int P3, int P4);
  1776. internal delegate int DelegateIIIWI(int P1, int P2, [MarshalAs(UnmanagedType.LPWStr)] string P3, int P4);
  1777. internal delegate IntPtr DelegateBII(int P1, int P2);
  1778. internal delegate int DelegateI();
  1779. internal delegate int DelegateIIIIIDDDD(int P1, int P2, int P3, int P4, double P5, double P6, double P7, double P8);
  1780. internal delegate int DelegateIIIIIDDDDD(int P1, int P2, int P3, int P4, double P5, double P6, double P7, double P8, double P9);
  1781. internal delegate IntPtr DelegateWIIII(int P1, int P2, int P3, int P4);
  1782. internal delegate IntPtr DelegateWIII(int P1, int P2, int P3);
  1783. internal delegate IntPtr DelegateBIIII(int P1, int P2, int P3, int P4);
  1784. internal delegate double DelegateDIIIII(int P1, int P2, int P3, int P4, int P5);
  1785. internal delegate int DelegateIIIIII(int P1, int P2, int P3, int P4, int P5);
  1786. internal delegate IntPtr DelegateWIIW(int P1, int P2, [MarshalAs(UnmanagedType.LPWStr)] string P3);
  1787. internal delegate IntPtr DelegateBIII(int P1, int P2, int P3);
  1788. internal delegate double DelegateDIII(int P1, int P2, int P3);
  1789. internal delegate double DelegateDIIII(int P1, int P2, int P3, int P4);
  1790. internal delegate int DelegateIIIIDC(int P1, int P2, int P3, double P4, IntPtr P5);
  1791. internal delegate int DelegateIIIIIDW(int P1, int P2, int P3, int P4, double P5, [MarshalAs(UnmanagedType.LPWStr)] string P6);
  1792. internal delegate IntPtr DelegateBIIIID(int P1, int P2, int P3, int P4, double P5);
  1793. internal delegate int DelegateIIIIDD(int P1, int P2, int P3, double P4, double P5);
  1794. internal delegate int DelegateIIIDD(int P1, int P2, double P3, double P4);
  1795. internal delegate int DelegateIIWWW(int P1, [MarshalAs(UnmanagedType.LPWStr)] string P2, [MarshalAs(UnmanagedType.LPWStr)] string P3, [MarshalAs(UnmanagedType.LPWStr)] string P4);
  1796. internal delegate int DelegateIIDDDDDII(int P1, double P2, double P3, double P4, double P5, double P6, int P7, int P8);
  1797. internal delegate int DelegateIIDDDDI(int P1, double P2, double P3, double P4, double P5, int P6);
  1798. internal delegate int DelegateIIIDDDDDD(int P1, int P2, double P3, double P4, double P5, double P6, double P7, double P8);
  1799. internal delegate int DelegateIIDDDI(int P1, double P2, double P3, double P4, int P5);
  1800. internal delegate int DelegateIIDDDWIII(int P1, double P2, double P3, double P4, [MarshalAs(UnmanagedType.LPWStr)] string P5, int P6, int P7, int P8);
  1801. internal delegate int DelegateIIDDDDDDII(int P1, double P2, double P3, double P4, double P5, double P6, double P7, int P8, int P9);
  1802. internal delegate int DelegateIIDDDW(int P1, double P2, double P3, double P4, [MarshalAs(UnmanagedType.LPWStr)] string P5);
  1803. internal delegate IntPtr DelegateWIDDDDW(int P1, double P2, double P3, double P4, double P5, [MarshalAs(UnmanagedType.LPWStr)] string P6);
  1804. internal delegate IntPtr DelegateWIDDWDDDDDD(int P1, double P2, double P3, [MarshalAs(UnmanagedType.LPWStr)] string P4, double P5, double P6, double P7, double P8, double P9, double P10);
  1805. internal delegate int DelegateIIDWDDDDDD(int P1, double P2, [MarshalAs(UnmanagedType.LPWStr)] string P3, double P4, double P5, double P6, double P7, double P8, double P9);
  1806. internal delegate int DelegateIIDDDDDDWI(int P1, double P2, double P3, double P4, double P5, double P6, double P7, [MarshalAs(UnmanagedType.LPWStr)] string P8, int P9);
  1807. internal delegate int DelegateIIDDWW(int P1, double P2, double P3, [MarshalAs(UnmanagedType.LPWStr)] string P4, [MarshalAs(UnmanagedType.LPWStr)] string P5);
  1808. internal delegate int DelegateIIDDWI(int P1, double P2, double P3, [MarshalAs(UnmanagedType.LPWStr)] string P4, int P5);
  1809. internal delegate int DelegateIIDDWIIIIDD(int P1, double P2, double P3, [MarshalAs(UnmanagedType.LPWStr)] string P4, int P5, int P6, int P7, int P8, double P9, double P10);
  1810. internal delegate int DelegateIIDDDWII(int P1, double P2, double P3, double P4, [MarshalAs(UnmanagedType.LPWStr)] string P5, int P6, int P7);
  1811. internal delegate int DelegateIIDDDDDI(int P1, double P2, double P3, double P4, double P5, double P6, int P7);
  1812. internal delegate int DelegateIIIDDDDD(int P1, int P2, double P3, double P4, double P5, double P6, double P7);
  1813. internal delegate int DelegateIIDDDDD(int P1, double P2, double P3, double P4, double P5, double P6);
  1814. internal delegate int DelegateIIDDDWW(int P1, double P2, double P3, double P4, [MarshalAs(UnmanagedType.LPWStr)] string P5, [MarshalAs(UnmanagedType.LPWStr)] string P6);
  1815. internal delegate int DelegateIIDDDDDWI(int P1, double P2, double P3, double P4, double P5, double P6, [MarshalAs(UnmanagedType.LPWStr)] string P7, int P8);
  1816. internal delegate int DelegateIIDDDDDWIIII(int P1, double P2, double P3, double P4, double P5, double P6, [MarshalAs(UnmanagedType.LPWStr)] string P7, int P8, int P9, int P10, int P11);
  1817. internal delegate int DelegateIIDDDDDDI(int P1, double P2, double P3, double P4, double P5, double P6, double P7, int P8);
  1818. internal delegate double DelegateDIIDDDII(int P1, int P2, double P3, double P4, double P5, int P6, int P7);
  1819. internal delegate int DelegateIIDDW(int P1, double P2, double P3, [MarshalAs(UnmanagedType.LPWStr)] string P4);
  1820. internal delegate int DelegateIIDDWIDDDDDD(int P1, double P2, double P3, [MarshalAs(UnmanagedType.LPWStr)] string P4, int P5, double P6, double P7, double P8, double P9, double P10, double P11);
  1821. internal delegate int DelegateIIIIIIIIII(int P1, int P2, int P3, int P4, int P5, int P6, int P7, int P8, int P9);
  1822. internal delegate int DelegateIIWWWWII(int P1, [MarshalAs(UnmanagedType.LPWStr)] string P2, [MarshalAs(UnmanagedType.LPWStr)] string P3, [MarshalAs(UnmanagedType.LPWStr)] string P4, [MarshalAs(UnmanagedType.LPWStr)] string P5, int P6, int P7);
  1823. internal delegate IntPtr DelegateBIWWI(int P1, [MarshalAs(UnmanagedType.LPWStr)] string P2, [MarshalAs(UnmanagedType.LPWStr)] string P3, int P4);
  1824. internal delegate IntPtr DelegateWIWWII(int P1, [MarshalAs(UnmanagedType.LPWStr)] string P2, [MarshalAs(UnmanagedType.LPWStr)] string P3, int P4, int P5);
  1825. internal delegate int DelegateIIWWWW(int P1, [MarshalAs(UnmanagedType.LPWStr)] string P2, [MarshalAs(UnmanagedType.LPWStr)] string P3, [MarshalAs(UnmanagedType.LPWStr)] string P4, [MarshalAs(UnmanagedType.LPWStr)] string P5);
  1826. internal delegate int DelegateIIWWWWI(int P1, [MarshalAs(UnmanagedType.LPWStr)] string P2, [MarshalAs(UnmanagedType.LPWStr)] string P3, [MarshalAs(UnmanagedType.LPWStr)] string P4, [MarshalAs(UnmanagedType.LPWStr)] string P5, int P6);
  1827. internal delegate IntPtr DelegateWIWI(int P1, [MarshalAs(UnmanagedType.LPWStr)] string P2, int P3);
  1828. internal delegate int DelegateIIDDDDIII(int P1, double P2, double P3, double P4, double P5, int P6, int P7, int P8);
  1829. internal delegate IntPtr DelegateWI(int P1);
  1830. internal delegate IntPtr DelegateWII(int P1, int P2);
  1831. internal delegate int DelegateIIIIW(int P1, int P2, int P3, [MarshalAs(UnmanagedType.LPWStr)] string P4);
  1832. internal delegate double DelegateDIDWI(int P1, double P2, [MarshalAs(UnmanagedType.LPWStr)] string P3, int P4);
  1833. internal delegate IntPtr DelegateCIII(int P1, int P2, int P3);
  1834. internal delegate IntPtr DelegateWIW(int P1, [MarshalAs(UnmanagedType.LPWStr)] string P2);
  1835. internal delegate IntPtr DelegateBI(int P1);
  1836. internal delegate IntPtr DelegateWIWW(int P1, [MarshalAs(UnmanagedType.LPWStr)] string P2, [MarshalAs(UnmanagedType.LPWStr)] string P3);
  1837. internal delegate double DelegateDII(int P1, int P2);
  1838. internal delegate double DelegateDIDW(int P1, double P2, [MarshalAs(UnmanagedType.LPWStr)] string P3);
  1839. internal delegate int DelegateIIDW(int P1, double P2, [MarshalAs(UnmanagedType.LPWStr)] string P3);
  1840. internal delegate int DelegateIIB(int P1, IntPtr P2);
  1841. internal delegate IntPtr DelegateBIWIIII(int P1, [MarshalAs(UnmanagedType.LPWStr)] string P2, int P3, int P4, int P5, int P6);
  1842. internal delegate IntPtr DelegateBIW(int P1, [MarshalAs(UnmanagedType.LPWStr)] string P2);
  1843. internal delegate double DelegateDI(int P1);
  1844. internal delegate IntPtr DelegateWIIIII(int P1, int P2, int P3, int P4, int P5);
  1845. internal delegate double DelegateDIW(int P1, [MarshalAs(UnmanagedType.LPWStr)] string P2);
  1846. internal delegate IntPtr DelegateWIDWW(int P1, double P2, [MarshalAs(UnmanagedType.LPWStr)] string P3, [MarshalAs(UnmanagedType.LPWStr)] string P4);
  1847. internal delegate int DelegateIIWII(int P1, [MarshalAs(UnmanagedType.LPWStr)] string P2, int P3, int P4);
  1848. internal delegate int DelegateIIDI(int P1, double P2, int P3);
  1849. internal delegate int DelegateIIBW(int P1, IntPtr P2, [MarshalAs(UnmanagedType.LPWStr)] string P3);
  1850. internal delegate int DelegateIIIIIII(int P1, int P2, int P3, int P4, int P5, int P6);
  1851. internal delegate int DelegateIIIWID(int P1, int P2, [MarshalAs(UnmanagedType.LPWStr)] string P3, int P4, double P5);
  1852. internal delegate int DelegateIIWDDDDDDDDDDI(int P1, [MarshalAs(UnmanagedType.LPWStr)] string P2, double P3, double P4, double P5, double P6, double P7, double P8, double P9, double P10, double P11, double P12, int P13);
  1853. internal delegate int DelegateIIWIIIW(int P1, [MarshalAs(UnmanagedType.LPWStr)] string P2, int P3, int P4, int P5, [MarshalAs(UnmanagedType.LPWStr)] string P6);
  1854. internal delegate int DelegateIIWWIW(int P1, [MarshalAs(UnmanagedType.LPWStr)] string P2, [MarshalAs(UnmanagedType.LPWStr)] string P3, int P4, [MarshalAs(UnmanagedType.LPWStr)] string P5);
  1855. internal delegate int DelegateIIDWIIW(int P1, double P2, [MarshalAs(UnmanagedType.LPWStr)] string P3, int P4, int P5, [MarshalAs(UnmanagedType.LPWStr)] string P6);
  1856. internal delegate int DelegateIIDIIIW(int P1, double P2, int P3, int P4, int P5, [MarshalAs(UnmanagedType.LPWStr)] string P6);
  1857. internal delegate int DelegateIIDIC(int P1, double P2, int P3, IntPtr P4);
  1858. internal delegate int DelegateIIDIIW(int P1, double P2, int P3, int P4, [MarshalAs(UnmanagedType.LPWStr)] string P5);
  1859. internal delegate IntPtr DelegateBIDII(int P1, double P2, int P3, int P4);
  1860. internal delegate IntPtr DelegateBISI(int P1, string P2, int P3);
  1861. internal delegate int DelegateIIIDDD(int P1, int P2, double P3, double P4, double P5);
  1862. internal delegate int DelegateIIIDIDD(int P1, int P2, double P3, int P4, double P5, double P6);
  1863. internal delegate int DelegateIIIID(int P1, int P2, int P3, double P4);
  1864. internal delegate int DelegateIIIIDDDDDDDD(int P1, int P2, int P3, double P4, double P5, double P6, double P7, double P8, double P9, double P10, double P11);
  1865. internal delegate int DelegateIIWD(int P1, [MarshalAs(UnmanagedType.LPWStr)] string P2, double P3);
  1866. internal delegate int DelegateIIID(int P1, int P2, double P3);
  1867. internal delegate int DelegateIIIWD(int P1, int P2, [MarshalAs(UnmanagedType.LPWStr)] string P3, double P4);
  1868. internal delegate int DelegateIIIIWW(int P1, int P2, int P3, [MarshalAs(UnmanagedType.LPWStr)] string P4, [MarshalAs(UnmanagedType.LPWStr)] string P5);
  1869. internal delegate int DelegateIIIIIIII(int P1, int P2, int P3, int P4, int P5, int P6, int P7);
  1870. internal delegate int DelegateIIIWWI(int P1, int P2, [MarshalAs(UnmanagedType.LPWStr)] string P3, [MarshalAs(UnmanagedType.LPWStr)] string P4, int P5);
  1871. internal delegate int DelegateIIDDDDDDDD(int P1, double P2, double P3, double P4, double P5, double P6, double P7, double P8, double P9);
  1872. internal delegate int DelegateIIIB(int P1, int P2, IntPtr P3);
  1873. internal delegate int DelegateIIIIIIDDDD(int P1, int P2, int P3, int P4, int P5, double P6, double P7, double P8, double P9);
  1874. internal delegate int DelegateIIIIDI(int P1, int P2, int P3, double P4, int P5);
  1875. internal delegate int DelegateIIIWIIIDDDDI(int P1, int P2, [MarshalAs(UnmanagedType.LPWStr)] string P3, int P4, int P5, int P6, double P7, double P8, double P9, double P10, int P11);
  1876. internal delegate int DelegateIIIWWW(int P1, int P2, [MarshalAs(UnmanagedType.LPWStr)] string P3, [MarshalAs(UnmanagedType.LPWStr)] string P4, [MarshalAs(UnmanagedType.LPWStr)] string P5);
  1877. internal delegate int DelegateIIIIDDD(int P1, int P2, int P3, double P4, double P5, double P6);
  1878. internal delegate int DelegateIIIIDDDD(int P1, int P2, int P3, double P4, double P5, double P6, double P7);
  1879. internal delegate int DelegateIIIIIIIDDD(int P1, int P2, int P3, int P4, int P5, int P6, double P7, double P8, double P9);
  1880. internal delegate int DelegateIIIIIIIDDDD(int P1, int P2, int P3, int P4, int P5, int P6, double P7, double P8, double P9, double P10);
  1881. internal delegate int DelegateIIIIIIIIDDD(int P1, int P2, int P3, int P4, int P5, int P6, int P7, double P8, double P9, double P10);
  1882. internal delegate int DelegateIIIIIIIIDDDD(int P1, int P2, int P3, int P4, int P5, int P6, int P7, double P8, double P9, double P10, double P11);
  1883. internal delegate int DelegateIIIIIIIID(int P1, int P2, int P3, int P4, int P5, int P6, int P7, double P8);
  1884. internal delegate int DelegateIIIIIIID(int P1, int P2, int P3, int P4, int P5, int P6, double P7);
  1885. internal delegate int DelegateIIIIID(int P1, int P2, int P3, int P4, double P5);
  1886. internal delegate int DelegateIIWDDD(int P1, [MarshalAs(UnmanagedType.LPWStr)] string P2, double P3, double P4, double P5);
  1887. internal delegate int DelegateIIWWWWWWWWW(int P1, [MarshalAs(UnmanagedType.LPWStr)] string P2, [MarshalAs(UnmanagedType.LPWStr)] string P3, [MarshalAs(UnmanagedType.LPWStr)] string P4, [MarshalAs(UnmanagedType.LPWStr)] string P5, [MarshalAs(UnmanagedType.LPWStr)] string P6, [MarshalAs(UnmanagedType.LPWStr)] string P7, [MarshalAs(UnmanagedType.LPWStr)] string P8, [MarshalAs(UnmanagedType.LPWStr)] string P9, [MarshalAs(UnmanagedType.LPWStr)] string P10);
  1888. internal delegate int DelegateIISBII(int P1, string P2, IntPtr P3, int P4, int P5);
  1889. internal delegate int DelegateIIWWWII(int P1, [MarshalAs(UnmanagedType.LPWStr)] string P2, [MarshalAs(UnmanagedType.LPWStr)] string P3, [MarshalAs(UnmanagedType.LPWStr)] string P4, int P5, int P6);
  1890. public DelegateIIDDD DebenuPDFLibraryAddArcToPath;
  1891. public DelegateIIDDDD DebenuPDFLibraryAddBoxToPath;
  1892. public DelegateIII DebenuPDFLibraryAddCJKFont;
  1893. public DelegateIIDDDDDD DebenuPDFLibraryAddCurveToPath;
  1894. public DelegateIIWW DebenuPDFLibraryAddEmbeddedFile;
  1895. public DelegateIIWI DebenuPDFLibraryAddFileAttachment;
  1896. public DelegateIIIWW DebenuPDFLibraryAddFormFieldChoiceSub;
  1897. public DelegateIIIW DebenuPDFLibraryAddFormFieldSub;
  1898. public DelegateIII DebenuPDFLibraryAddFormFont;
  1899. public DelegateIIDDDDWII DebenuPDFLibraryAddFreeTextAnnotation;
  1900. public DelegateIIWW DebenuPDFLibraryAddGlobalJavaScript;
  1901. public DelegateIIWI DebenuPDFLibraryAddImageFromFile;
  1902. public DelegateIIWIII DebenuPDFLibraryAddImageFromFileOffset;
  1903. public DelegateIIBI DebenuPDFLibraryAddImageFromString;
  1904. public DelegateIIW DebenuPDFLibraryAddLGIDictToPage;
  1905. public DelegateIIDD DebenuPDFLibraryAddLineToPath;
  1906. public DelegateIIDDDDII DebenuPDFLibraryAddLinkToDestination;
  1907. public DelegateIIDDDDIWWII DebenuPDFLibraryAddLinkToEmbeddedFile;
  1908. public DelegateIIDDDDWIDII DebenuPDFLibraryAddLinkToFile;
  1909. public DelegateIIDDDDWWDII DebenuPDFLibraryAddLinkToFileDest;
  1910. public DelegateIIDDDDWIIIIIDDDD DebenuPDFLibraryAddLinkToFileEx;
  1911. public DelegateIIDDDDWI DebenuPDFLibraryAddLinkToJavaScript;
  1912. public DelegateIIDDDDWI DebenuPDFLibraryAddLinkToLocalFile;
  1913. public DelegateIIDDDDIDI DebenuPDFLibraryAddLinkToPage;
  1914. public DelegateIIDDDDWI DebenuPDFLibraryAddLinkToWeb;
  1915. public DelegateIIDDIDDDDWWDDDI DebenuPDFLibraryAddNoteAnnotation;
  1916. public DelegateIIWI DebenuPDFLibraryAddOpenTypeFontFromFile;
  1917. public DelegateIIIIIW DebenuPDFLibraryAddPageLabels;
  1918. public DelegateIIDDDDWI DebenuPDFLibraryAddSVGAnnotationFromFile;
  1919. public DelegateIIDDDDWWI DebenuPDFLibraryAddSWFAnnotationFromFile;
  1920. public DelegateIIWDDDDI DebenuPDFLibraryAddSeparationColor;
  1921. public DelegateIIDDDDIWWDDDI DebenuPDFLibraryAddStampAnnotation;
  1922. public DelegateIIDDDDWWWDDDI DebenuPDFLibraryAddStampAnnotationFromImage;
  1923. public DelegateIII DebenuPDFLibraryAddStandardFont;
  1924. public DelegateIIWIW DebenuPDFLibraryAddSubsettedFont;
  1925. public DelegateIIIDDDD DebenuPDFLibraryAddTextMarkupAnnotation;
  1926. public DelegateIIBBI DebenuPDFLibraryAddToBuffer;
  1927. public DelegateIIWW DebenuPDFLibraryAddToFileList;
  1928. public DelegateIIWI DebenuPDFLibraryAddTrueTypeFont;
  1929. public DelegateIIW DebenuPDFLibraryAddTrueTypeFontFromFile;
  1930. public DelegateIIWWI DebenuPDFLibraryAddTrueTypeSubsettedFont;
  1931. public DelegateIIW DebenuPDFLibraryAddType1Font;
  1932. public DelegateIIDDDDWI DebenuPDFLibraryAddU3DAnnotationFromFile;
  1933. public DelegateIIWW DebenuPDFLibraryAnalyseFile;
  1934. public DelegateII DebenuPDFLibraryAnnotationCount;
  1935. public DelegateII DebenuPDFLibraryAnsiStringResultLength;
  1936. public DelegateIID DebenuPDFLibraryAppendSpace;
  1937. public DelegateIIII DebenuPDFLibraryAppendTableColumns;
  1938. public DelegateIIII DebenuPDFLibraryAppendTableRows;
  1939. public DelegateIIW DebenuPDFLibraryAppendText;
  1940. public DelegateIIW DebenuPDFLibraryAppendToFile;
  1941. public DelegateIIW DebenuPDFLibraryApplyStyle;
  1942. public DelegateIII DebenuPDFLibraryAttachAnnotToForm;
  1943. public DelegateII DebenuPDFLibraryBalanceContentStream;
  1944. public DelegateIII DebenuPDFLibraryBalancePageTree;
  1945. public DelegateII DebenuPDFLibraryBeginPageUpdate;
  1946. public DelegateIII DebenuPDFLibraryCapturePage;
  1947. public DelegateIIII DebenuPDFLibraryCapturePageEx;
  1948. public DelegateIII DebenuPDFLibraryCharWidth;
  1949. public DelegateIIWWII DebenuPDFLibraryCheckFileCompliance;
  1950. public DelegateII DebenuPDFLibraryCheckObjects;
  1951. public DelegateII DebenuPDFLibraryCheckPageAnnots;
  1952. public DelegateIIW DebenuPDFLibraryCheckPassword;
  1953. public DelegateIIW DebenuPDFLibraryClearFileList;
  1954. public DelegateIII DebenuPDFLibraryClearImage;
  1955. public DelegateII DebenuPDFLibraryClearPageLabels;
  1956. public DelegateII DebenuPDFLibraryClearTextFormatting;
  1957. public DelegateIII DebenuPDFLibraryCloneOutlineAction;
  1958. public DelegateIIIII DebenuPDFLibraryClonePages;
  1959. public DelegateIII DebenuPDFLibraryCloseOutline;
  1960. public DelegateII DebenuPDFLibraryClosePath;
  1961. public DelegateII DebenuPDFLibraryCombineContentStreams;
  1962. public DelegateIIII DebenuPDFLibraryCompareOutlines;
  1963. public DelegateII DebenuPDFLibraryCompressContent;
  1964. public DelegateIII DebenuPDFLibraryCompressFonts;
  1965. public DelegateIII DebenuPDFLibraryCompressImages;
  1966. public DelegateII DebenuPDFLibraryCompressPage;
  1967. public DelegateII DebenuPDFLibraryContentStreamCount;
  1968. public DelegateII DebenuPDFLibraryContentStreamSafe;
  1969. public DelegateIIIW DebenuPDFLibraryCopyPageRanges;
  1970. public DelegateIIIWI DebenuPDFLibraryCopyPageRangesEx;
  1971. public DelegateBII DebenuPDFLibraryCreateBuffer;
  1972. public DelegateI DebenuPDFLibraryCreateLibrary;
  1973. public DelegateII DebenuPDFLibraryCreateNewObject;
  1974. public DelegateIIII DebenuPDFLibraryCreateTable;
  1975. public DelegateIII DebenuPDFLibraryDAAppendFile;
  1976. public DelegateIIII DebenuPDFLibraryDACapturePage;
  1977. public DelegateIIIII DebenuPDFLibraryDACapturePageEx;
  1978. public DelegateIII DebenuPDFLibraryDACloseFile;
  1979. public DelegateIIIIIDDDD DebenuPDFLibraryDADrawCapturedPage;
  1980. public DelegateIIIIIDDDDD DebenuPDFLibraryDADrawRotatedCapturedPage;
  1981. public DelegateIIIW DebenuPDFLibraryDAEmbedFileStreams;
  1982. public DelegateWIIII DebenuPDFLibraryDAExtractPageText;
  1983. public DelegateIIIII DebenuPDFLibraryDAExtractPageTextBlocks;
  1984. public DelegateIIII DebenuPDFLibraryDAFindPage;
  1985. public DelegateIIII DebenuPDFLibraryDAGetAnnotationCount;
  1986. public DelegateIII DebenuPDFLibraryDAGetFormFieldCount;
  1987. public DelegateWIII DebenuPDFLibraryDAGetFormFieldTitle;
  1988. public DelegateWIII DebenuPDFLibraryDAGetFormFieldValue;
  1989. public DelegateBIIII DebenuPDFLibraryDAGetImageDataToString;
  1990. public DelegateDIIIII DebenuPDFLibraryDAGetImageDblProperty;
  1991. public DelegateIIIIII DebenuPDFLibraryDAGetImageIntProperty;
  1992. public DelegateIIII DebenuPDFLibraryDAGetImageListCount;
  1993. public DelegateWIIW DebenuPDFLibraryDAGetInformation;
  1994. public DelegateIII DebenuPDFLibraryDAGetObjectCount;
  1995. public DelegateBIII DebenuPDFLibraryDAGetObjectToString;
  1996. public DelegateDIIIII DebenuPDFLibraryDAGetPageBox;
  1997. public DelegateBIII DebenuPDFLibraryDAGetPageContentToString;
  1998. public DelegateIII DebenuPDFLibraryDAGetPageCount;
  1999. public DelegateDIII DebenuPDFLibraryDAGetPageHeight;
  2000. public DelegateIIII DebenuPDFLibraryDAGetPageImageList;
  2001. public DelegateDIII DebenuPDFLibraryDAGetPageWidth;
  2002. public DelegateDIIII DebenuPDFLibraryDAGetTextBlockBound;
  2003. public DelegateDIIII DebenuPDFLibraryDAGetTextBlockCharWidth;
  2004. public DelegateDIIII DebenuPDFLibraryDAGetTextBlockColor;
  2005. public DelegateIIII DebenuPDFLibraryDAGetTextBlockColorType;
  2006. public DelegateIII DebenuPDFLibraryDAGetTextBlockCount;
  2007. public DelegateWIII DebenuPDFLibraryDAGetTextBlockFontName;
  2008. public DelegateDIII DebenuPDFLibraryDAGetTextBlockFontSize;
  2009. public DelegateWIII DebenuPDFLibraryDAGetTextBlockText;
  2010. public DelegateIIIII DebenuPDFLibraryDAHasPageBox;
  2011. public DelegateIIII DebenuPDFLibraryDAHidePage;
  2012. public DelegateIIIIII DebenuPDFLibraryDAMovePage;
  2013. public DelegateIII DebenuPDFLibraryDANewPage;
  2014. public DelegateIIII DebenuPDFLibraryDANewPages;
  2015. public DelegateIIWW DebenuPDFLibraryDAOpenFile;
  2016. public DelegateIIWW DebenuPDFLibraryDAOpenFileReadOnly;
  2017. public DelegateIIII DebenuPDFLibraryDAPageRotation;
  2018. public DelegateIIII DebenuPDFLibraryDAReleaseImageList;
  2019. public DelegateIII DebenuPDFLibraryDAReleaseTextBlocks;
  2020. public DelegateIII DebenuPDFLibraryDARemoveUsageRights;
  2021. public DelegateIIIIDC DebenuPDFLibraryDARenderPageToDC;
  2022. public DelegateIIIIIDW DebenuPDFLibraryDARenderPageToFile;
  2023. public DelegateBIIIID DebenuPDFLibraryDARenderPageToString;
  2024. public DelegateIIIIII DebenuPDFLibraryDARotatePage;
  2025. public DelegateIIIW DebenuPDFLibraryDASaveAsFile;
  2026. public DelegateIIIIIW DebenuPDFLibraryDASaveImageDataToFile;
  2027. public DelegateIIIWW DebenuPDFLibraryDASetInformation;
  2028. public DelegateIIIIIDDDD DebenuPDFLibraryDASetPageBox;
  2029. public DelegateIIIIDD DebenuPDFLibraryDASetPageSize;
  2030. public DelegateIIDDDD DebenuPDFLibraryDASetTextExtractionArea;
  2031. public DelegateIIII DebenuPDFLibraryDASetTextExtractionOptions;
  2032. public DelegateIIIDD DebenuPDFLibraryDASetTextExtractionScaling;
  2033. public DelegateIID DebenuPDFLibraryDASetTextExtractionWordGap;
  2034. public DelegateIII DebenuPDFLibraryDAShiftedHeader;
  2035. public DelegateII DebenuPDFLibraryDecrypt;
  2036. public DelegateIIWWW DebenuPDFLibraryDecryptFile;
  2037. public DelegateIII DebenuPDFLibraryDeleteAnalysis;
  2038. public DelegateIII DebenuPDFLibraryDeleteAnnotation;
  2039. public DelegateII DebenuPDFLibraryDeleteContentStream;
  2040. public DelegateIII DebenuPDFLibraryDeleteFormField;
  2041. public DelegateIII DebenuPDFLibraryDeleteOptionalContentGroup;
  2042. public DelegateIII DebenuPDFLibraryDeletePageLGIDict;
  2043. public DelegateIIII DebenuPDFLibraryDeletePages;
  2044. public DelegateIIWW DebenuPDFLibraryDocJavaScriptAction;
  2045. public DelegateII DebenuPDFLibraryDocumentCount;
  2046. public DelegateIIDDDDDII DebenuPDFLibraryDrawArc;
  2047. public DelegateIIDDDDWII DebenuPDFLibraryDrawBarcode;
  2048. public DelegateIIDDDDI DebenuPDFLibraryDrawBox;
  2049. public DelegateIIIDDDD DebenuPDFLibraryDrawCapturedPage;
  2050. public DelegateIIIDDDDDD DebenuPDFLibraryDrawCapturedPageMatrix;
  2051. public DelegateIIDDDI DebenuPDFLibraryDrawCircle;
  2052. public DelegateIIDDDWIII DebenuPDFLibraryDrawDataMatrixSymbol;
  2053. public DelegateIIDDDDI DebenuPDFLibraryDrawEllipse;
  2054. public DelegateIIDDDDDDII DebenuPDFLibraryDrawEllipticArc;
  2055. public DelegateIIDDDW DebenuPDFLibraryDrawHTMLText;
  2056. public DelegateWIDDDDW DebenuPDFLibraryDrawHTMLTextBox;
  2057. public DelegateWIDDWDDDDDD DebenuPDFLibraryDrawHTMLTextBoxMatrix;
  2058. public DelegateIIDWDDDDDD DebenuPDFLibraryDrawHTMLTextMatrix;
  2059. public DelegateIIDDDD DebenuPDFLibraryDrawImage;
  2060. public DelegateIIDDDDDD DebenuPDFLibraryDrawImageMatrix;
  2061. public DelegateIIDDDDDDWI DebenuPDFLibraryDrawIntelligentMailBarcode;
  2062. public DelegateIIDDDD DebenuPDFLibraryDrawLine;
  2063. public DelegateIIDDWW DebenuPDFLibraryDrawMultiLineText;
  2064. public DelegateIIDDWI DebenuPDFLibraryDrawPDF417Symbol;
  2065. public DelegateIIDDWIIIIDD DebenuPDFLibraryDrawPDF417SymbolEx;
  2066. public DelegateIII DebenuPDFLibraryDrawPath;
  2067. public DelegateIII DebenuPDFLibraryDrawPathEvenOdd;
  2068. public DelegateIII DebenuPDFLibraryDrawPostScriptXObject;
  2069. public DelegateIIDDDWII DebenuPDFLibraryDrawQRCode;
  2070. public DelegateIIDDDDDI DebenuPDFLibraryDrawRotatedBox;
  2071. public DelegateIIIDDDDD DebenuPDFLibraryDrawRotatedCapturedPage;
  2072. public DelegateIIDDDDD DebenuPDFLibraryDrawRotatedImage;
  2073. public DelegateIIDDDWW DebenuPDFLibraryDrawRotatedMultiLineText;
  2074. public DelegateIIDDDW DebenuPDFLibraryDrawRotatedText;
  2075. public DelegateIIDDDDDWI DebenuPDFLibraryDrawRotatedTextBox;
  2076. public DelegateIIDDDDDWIIII DebenuPDFLibraryDrawRotatedTextBoxEx;
  2077. public DelegateIIDDDDDI DebenuPDFLibraryDrawRoundedBox;
  2078. public DelegateIIDDDDDDI DebenuPDFLibraryDrawRoundedRotatedBox;
  2079. public DelegateIIDDD DebenuPDFLibraryDrawScaledImage;
  2080. public DelegateIIDDDW DebenuPDFLibraryDrawSpacedText;
  2081. public DelegateDIIDDDII DebenuPDFLibraryDrawTableRows;
  2082. public DelegateIIDDW DebenuPDFLibraryDrawText;
  2083. public DelegateIIDDDDWI DebenuPDFLibraryDrawTextArc;
  2084. public DelegateIIDDDDWI DebenuPDFLibraryDrawTextBox;
  2085. public DelegateIIDDWIDDDDDD DebenuPDFLibraryDrawTextBoxMatrix;
  2086. public DelegateIIDDDW DebenuPDFLibraryDrawWrappedText;
  2087. public DelegateII DebenuPDFLibraryEditableContentStream;
  2088. public DelegateIIWWW DebenuPDFLibraryEmbedFile;
  2089. public DelegateII DebenuPDFLibraryEmbeddedFileCount;
  2090. public DelegateII DebenuPDFLibraryEncapsulateContentStream;
  2091. public DelegateIIIIIIIIII DebenuPDFLibraryEncodePermissions;
  2092. public DelegateIIWWII DebenuPDFLibraryEncrypt;
  2093. public DelegateIIWWWWII DebenuPDFLibraryEncryptFile;
  2094. public DelegateIIW DebenuPDFLibraryEncryptWithFingerprint;
  2095. public DelegateII DebenuPDFLibraryEncryptionAlgorithm;
  2096. public DelegateII DebenuPDFLibraryEncryptionStatus;
  2097. public DelegateII DebenuPDFLibraryEncryptionStrength;
  2098. public DelegateII DebenuPDFLibraryEndPageUpdate;
  2099. public DelegateIIIW DebenuPDFLibraryEndSignProcessToFile;
  2100. public DelegateBII DebenuPDFLibraryEndSignProcessToString;
  2101. public DelegateBIWWI DebenuPDFLibraryExtractFilePageContentToString;
  2102. public DelegateWIWWII DebenuPDFLibraryExtractFilePageText;
  2103. public DelegateIIWWII DebenuPDFLibraryExtractFilePageTextBlocks;
  2104. public DelegateIIWWWW DebenuPDFLibraryExtractFilePages;
  2105. public DelegateIIWWWWI DebenuPDFLibraryExtractFilePagesEx;
  2106. public DelegateIIW DebenuPDFLibraryExtractPageRanges;
  2107. public DelegateIII DebenuPDFLibraryExtractPageTextBlocks;
  2108. public DelegateIIII DebenuPDFLibraryExtractPages;
  2109. public DelegateIIW DebenuPDFLibraryFileListCount;
  2110. public DelegateWIWI DebenuPDFLibraryFileListItem;
  2111. public DelegateII DebenuPDFLibraryFindFonts;
  2112. public DelegateIIW DebenuPDFLibraryFindFormFieldByTitle;
  2113. public DelegateII DebenuPDFLibraryFindImages;
  2114. public DelegateIIDDDDIII DebenuPDFLibraryFitImage;
  2115. public DelegateIIDDDDDWI DebenuPDFLibraryFitRotatedTextBox;
  2116. public DelegateIIDDDDWI DebenuPDFLibraryFitTextBox;
  2117. public DelegateIIII DebenuPDFLibraryFlattenAnnot;
  2118. public DelegateIII DebenuPDFLibraryFlattenFormField;
  2119. public DelegateII DebenuPDFLibraryFontCount;
  2120. public DelegateWI DebenuPDFLibraryFontFamily;
  2121. public DelegateII DebenuPDFLibraryFontHasKerning;
  2122. public DelegateWI DebenuPDFLibraryFontName;
  2123. public DelegateWI DebenuPDFLibraryFontReference;
  2124. public DelegateII DebenuPDFLibraryFontSize;
  2125. public DelegateII DebenuPDFLibraryFontType;
  2126. public DelegateII DebenuPDFLibraryFormFieldCount;
  2127. public DelegateIII DebenuPDFLibraryFormFieldHasParent;
  2128. public DelegateIIIWW DebenuPDFLibraryFormFieldJavaScriptAction;
  2129. public DelegateIIIWW DebenuPDFLibraryFormFieldWebLinkAction;
  2130. public DelegateIII DebenuPDFLibraryGetActionDest;
  2131. public DelegateWII DebenuPDFLibraryGetActionType;
  2132. public DelegateWII DebenuPDFLibraryGetActionURL;
  2133. public DelegateWIII DebenuPDFLibraryGetAnalysisInfo;
  2134. public DelegateIII DebenuPDFLibraryGetAnnotActionID;
  2135. public DelegateDIII DebenuPDFLibraryGetAnnotDblProperty;
  2136. public DelegateIII DebenuPDFLibraryGetAnnotDest;
  2137. public DelegateIIII DebenuPDFLibraryGetAnnotIntProperty;
  2138. public DelegateIII DebenuPDFLibraryGetAnnotQuadCount;
  2139. public DelegateDIIII DebenuPDFLibraryGetAnnotQuadPoints;
  2140. public DelegateIIIIW DebenuPDFLibraryGetAnnotSoundToFile;
  2141. public DelegateBIII DebenuPDFLibraryGetAnnotSoundToString;
  2142. public DelegateWIII DebenuPDFLibraryGetAnnotStrProperty;
  2143. public DelegateDIDWI DebenuPDFLibraryGetBarcodeWidth;
  2144. public DelegateWI DebenuPDFLibraryGetBaseURL;
  2145. public DelegateIII DebenuPDFLibraryGetCSDictEPSG;
  2146. public DelegateIII DebenuPDFLibraryGetCSDictType;
  2147. public DelegateWII DebenuPDFLibraryGetCSDictWKT;
  2148. public DelegateCIII DebenuPDFLibraryGetCanvasDC;
  2149. public DelegateWIW DebenuPDFLibraryGetCatalogInformation;
  2150. public DelegateBI DebenuPDFLibraryGetContentStreamToString;
  2151. public DelegateWIW DebenuPDFLibraryGetCustomInformation;
  2152. public DelegateWII DebenuPDFLibraryGetCustomKeys;
  2153. public DelegateWI DebenuPDFLibraryGetDefaultPrinterName;
  2154. public DelegateWII DebenuPDFLibraryGetDestName;
  2155. public DelegateIII DebenuPDFLibraryGetDestPage;
  2156. public DelegateIII DebenuPDFLibraryGetDestType;
  2157. public DelegateDIII DebenuPDFLibraryGetDestValue;
  2158. public DelegateWIW DebenuPDFLibraryGetDocJavaScript;
  2159. public DelegateWI DebenuPDFLibraryGetDocumentFileName;
  2160. public DelegateII DebenuPDFLibraryGetDocumentFileSize;
  2161. public DelegateIII DebenuPDFLibraryGetDocumentID;
  2162. public DelegateWIII DebenuPDFLibraryGetDocumentIdentifier;
  2163. public DelegateWI DebenuPDFLibraryGetDocumentMetadata;
  2164. public DelegateII DebenuPDFLibraryGetDocumentRepaired;
  2165. public DelegateWI DebenuPDFLibraryGetDocumentResourceList;
  2166. public DelegateIIIW DebenuPDFLibraryGetEmbeddedFileContentToFile;
  2167. public DelegateBII DebenuPDFLibraryGetEmbeddedFileContentToString;
  2168. public DelegateIII DebenuPDFLibraryGetEmbeddedFileID;
  2169. public DelegateIIII DebenuPDFLibraryGetEmbeddedFileIntProperty;
  2170. public DelegateWIII DebenuPDFLibraryGetEmbeddedFileStrProperty;
  2171. public DelegateWI DebenuPDFLibraryGetEncryptionFingerprint;
  2172. public DelegateWIWW DebenuPDFLibraryGetFileMetadata;
  2173. public DelegateIII DebenuPDFLibraryGetFirstChildOutline;
  2174. public DelegateII DebenuPDFLibraryGetFirstOutline;
  2175. public DelegateII DebenuPDFLibraryGetFontEncoding;
  2176. public DelegateIII DebenuPDFLibraryGetFontFlags;
  2177. public DelegateIII DebenuPDFLibraryGetFontID;
  2178. public DelegateII DebenuPDFLibraryGetFontIsEmbedded;
  2179. public DelegateII DebenuPDFLibraryGetFontIsSubsetted;
  2180. public DelegateIII DebenuPDFLibraryGetFontMetrics;
  2181. public DelegateII DebenuPDFLibraryGetFontObjectNumber;
  2182. public DelegateIIIW DebenuPDFLibraryGetFormFieldActionID;
  2183. public DelegateIII DebenuPDFLibraryGetFormFieldAlignment;
  2184. public DelegateIII DebenuPDFLibraryGetFormFieldAnnotFlags;
  2185. public DelegateDIII DebenuPDFLibraryGetFormFieldBackgroundColor;
  2186. public DelegateIII DebenuPDFLibraryGetFormFieldBackgroundColorType;
  2187. public DelegateDIII DebenuPDFLibraryGetFormFieldBorderColor;
  2188. public DelegateIII DebenuPDFLibraryGetFormFieldBorderColorType;
  2189. public DelegateDIII DebenuPDFLibraryGetFormFieldBorderProperty;
  2190. public DelegateIII DebenuPDFLibraryGetFormFieldBorderStyle;
  2191. public DelegateDIII DebenuPDFLibraryGetFormFieldBound;
  2192. public DelegateWII DebenuPDFLibraryGetFormFieldCaption;
  2193. public DelegateIII DebenuPDFLibraryGetFormFieldCheckStyle;
  2194. public DelegateWII DebenuPDFLibraryGetFormFieldChildTitle;
  2195. public DelegateIII DebenuPDFLibraryGetFormFieldChoiceType;
  2196. public DelegateDIII DebenuPDFLibraryGetFormFieldColor;
  2197. public DelegateIII DebenuPDFLibraryGetFormFieldComb;
  2198. public DelegateWII DebenuPDFLibraryGetFormFieldDefaultValue;
  2199. public DelegateWII DebenuPDFLibraryGetFormFieldDescription;
  2200. public DelegateIII DebenuPDFLibraryGetFormFieldFlags;
  2201. public DelegateWII DebenuPDFLibraryGetFormFieldFontName;
  2202. public DelegateWIIW DebenuPDFLibraryGetFormFieldJavaScript;
  2203. public DelegateIII DebenuPDFLibraryGetFormFieldKidCount;
  2204. public DelegateIIII DebenuPDFLibraryGetFormFieldKidTempIndex;
  2205. public DelegateIII DebenuPDFLibraryGetFormFieldMaxLen;
  2206. public DelegateIII DebenuPDFLibraryGetFormFieldNoExport;
  2207. public DelegateIII DebenuPDFLibraryGetFormFieldPage;
  2208. public DelegateIII DebenuPDFLibraryGetFormFieldPrintable;
  2209. public DelegateIII DebenuPDFLibraryGetFormFieldReadOnly;
  2210. public DelegateIII DebenuPDFLibraryGetFormFieldRequired;
  2211. public DelegateWIIW DebenuPDFLibraryGetFormFieldRichTextString;
  2212. public DelegateIII DebenuPDFLibraryGetFormFieldRotation;
  2213. public DelegateIII DebenuPDFLibraryGetFormFieldSubCount;
  2214. public DelegateWIII DebenuPDFLibraryGetFormFieldSubDisplayName;
  2215. public DelegateWIII DebenuPDFLibraryGetFormFieldSubName;
  2216. public DelegateIII DebenuPDFLibraryGetFormFieldTabOrder;
  2217. public DelegateIIII DebenuPDFLibraryGetFormFieldTabOrderEx;
  2218. public DelegateIIII DebenuPDFLibraryGetFormFieldTextFlags;
  2219. public DelegateDII DebenuPDFLibraryGetFormFieldTextSize;
  2220. public DelegateWII DebenuPDFLibraryGetFormFieldTitle;
  2221. public DelegateIII DebenuPDFLibraryGetFormFieldType;
  2222. public DelegateWII DebenuPDFLibraryGetFormFieldValue;
  2223. public DelegateWIW DebenuPDFLibraryGetFormFieldValueByTitle;
  2224. public DelegateIII DebenuPDFLibraryGetFormFieldVisible;
  2225. public DelegateWIIW DebenuPDFLibraryGetFormFieldWebLink;
  2226. public DelegateII DebenuPDFLibraryGetFormFontCount;
  2227. public DelegateWII DebenuPDFLibraryGetFormFontName;
  2228. public DelegateWIW DebenuPDFLibraryGetGlobalJavaScript;
  2229. public DelegateDIDW DebenuPDFLibraryGetHTMLTextHeight;
  2230. public DelegateIIDW DebenuPDFLibraryGetHTMLTextLineCount;
  2231. public DelegateDIDW DebenuPDFLibraryGetHTMLTextWidth;
  2232. public DelegateIII DebenuPDFLibraryGetImageID;
  2233. public DelegateIII DebenuPDFLibraryGetImageListCount;
  2234. public DelegateBIIII DebenuPDFLibraryGetImageListItemDataToString;
  2235. public DelegateDIIII DebenuPDFLibraryGetImageListItemDblProperty;
  2236. public DelegateIIIII DebenuPDFLibraryGetImageListItemIntProperty;
  2237. public DelegateII DebenuPDFLibraryGetImageMeasureDict;
  2238. public DelegateIIW DebenuPDFLibraryGetImagePageCount;
  2239. public DelegateIIB DebenuPDFLibraryGetImagePageCountFromString;
  2240. public DelegateII DebenuPDFLibraryGetImagePtDataDict;
  2241. public DelegateWII DebenuPDFLibraryGetInformation;
  2242. public DelegateWIII DebenuPDFLibraryGetInstalledFontsByCharset;
  2243. public DelegateWIII DebenuPDFLibraryGetInstalledFontsByCodePage;
  2244. public DelegateIIW DebenuPDFLibraryGetKerning;
  2245. public DelegateWI DebenuPDFLibraryGetLatestPrinterNames;
  2246. public DelegateII DebenuPDFLibraryGetMaxObjectNumber;
  2247. public DelegateIII DebenuPDFLibraryGetMeasureDictBoundsCount;
  2248. public DelegateDIII DebenuPDFLibraryGetMeasureDictBoundsItem;
  2249. public DelegateIII DebenuPDFLibraryGetMeasureDictCoordinateSystem;
  2250. public DelegateIII DebenuPDFLibraryGetMeasureDictDCSDict;
  2251. public DelegateIII DebenuPDFLibraryGetMeasureDictGCSDict;
  2252. public DelegateIII DebenuPDFLibraryGetMeasureDictGPTSCount;
  2253. public DelegateDIII DebenuPDFLibraryGetMeasureDictGPTSItem;
  2254. public DelegateIII DebenuPDFLibraryGetMeasureDictLPTSCount;
  2255. public DelegateDIII DebenuPDFLibraryGetMeasureDictLPTSItem;
  2256. public DelegateIIII DebenuPDFLibraryGetMeasureDictPDU;
  2257. public DelegateIIW DebenuPDFLibraryGetNamedDestination;
  2258. public DelegateIII DebenuPDFLibraryGetNextOutline;
  2259. public DelegateII DebenuPDFLibraryGetObjectCount;
  2260. public DelegateIII DebenuPDFLibraryGetObjectDecodeError;
  2261. public DelegateBII DebenuPDFLibraryGetObjectToString;
  2262. public DelegateII DebenuPDFLibraryGetOpenActionDestination;
  2263. public DelegateWI DebenuPDFLibraryGetOpenActionJavaScript;
  2264. public DelegateII DebenuPDFLibraryGetOptionalContentConfigCount;
  2265. public DelegateIIII DebenuPDFLibraryGetOptionalContentConfigLocked;
  2266. public DelegateIII DebenuPDFLibraryGetOptionalContentConfigOrderCount;
  2267. public DelegateIIII DebenuPDFLibraryGetOptionalContentConfigOrderItemID;
  2268. public DelegateWIII DebenuPDFLibraryGetOptionalContentConfigOrderItemLabel;
  2269. public DelegateIIII DebenuPDFLibraryGetOptionalContentConfigOrderItemLevel;
  2270. public DelegateIIII DebenuPDFLibraryGetOptionalContentConfigOrderItemType;
  2271. public DelegateIIII DebenuPDFLibraryGetOptionalContentConfigState;
  2272. public DelegateIII DebenuPDFLibraryGetOptionalContentGroupID;
  2273. public DelegateWII DebenuPDFLibraryGetOptionalContentGroupName;
  2274. public DelegateIII DebenuPDFLibraryGetOptionalContentGroupPrintable;
  2275. public DelegateIII DebenuPDFLibraryGetOptionalContentGroupVisible;
  2276. public DelegateII DebenuPDFLibraryGetOrigin;
  2277. public DelegateIII DebenuPDFLibraryGetOutlineActionID;
  2278. public DelegateDIII DebenuPDFLibraryGetOutlineColor;
  2279. public DelegateIII DebenuPDFLibraryGetOutlineDest;
  2280. public DelegateIII DebenuPDFLibraryGetOutlineID;
  2281. public DelegateWII DebenuPDFLibraryGetOutlineJavaScript;
  2282. public DelegateIII DebenuPDFLibraryGetOutlineObjectNumber;
  2283. public DelegateWII DebenuPDFLibraryGetOutlineOpenFile;
  2284. public DelegateIII DebenuPDFLibraryGetOutlinePage;
  2285. public DelegateIII DebenuPDFLibraryGetOutlineStyle;
  2286. public DelegateWII DebenuPDFLibraryGetOutlineWebLink;
  2287. public DelegateDIII DebenuPDFLibraryGetPageBox;
  2288. public DelegateWII DebenuPDFLibraryGetPageColorSpaces;
  2289. public DelegateBI DebenuPDFLibraryGetPageContentToString;
  2290. public DelegateIII DebenuPDFLibraryGetPageImageList;
  2291. public DelegateWIW DebenuPDFLibraryGetPageJavaScript;
  2292. public DelegateWII DebenuPDFLibraryGetPageLGIDictContent;
  2293. public DelegateII DebenuPDFLibraryGetPageLGIDictCount;
  2294. public DelegateWII DebenuPDFLibraryGetPageLabel;
  2295. public DelegateII DebenuPDFLibraryGetPageLayout;
  2296. public DelegateBIIII DebenuPDFLibraryGetPageMetricsToString;
  2297. public DelegateII DebenuPDFLibraryGetPageMode;
  2298. public DelegateWII DebenuPDFLibraryGetPageText;
  2299. public DelegateII DebenuPDFLibraryGetPageViewPortCount;
  2300. public DelegateIII DebenuPDFLibraryGetPageViewPortID;
  2301. public DelegateIII DebenuPDFLibraryGetParentOutline;
  2302. public DelegateIII DebenuPDFLibraryGetPrevOutline;
  2303. public DelegateBIWIIII DebenuPDFLibraryGetPrintPreviewBitmapToString;
  2304. public DelegateWIW DebenuPDFLibraryGetPrinterBins;
  2305. public DelegateBIW DebenuPDFLibraryGetPrinterDevModeToString;
  2306. public DelegateWIW DebenuPDFLibraryGetPrinterMediaTypes;
  2307. public DelegateWI DebenuPDFLibraryGetPrinterNames;
  2308. public DelegateDI DebenuPDFLibraryGetRenderScale;
  2309. public DelegateIIII DebenuPDFLibraryGetSignProcessByteRange;
  2310. public DelegateIII DebenuPDFLibraryGetSignProcessResult;
  2311. public DelegateIII DebenuPDFLibraryGetStringListCount;
  2312. public DelegateWIII DebenuPDFLibraryGetStringListItem;
  2313. public DelegateWI DebenuPDFLibraryGetTabOrderMode;
  2314. public DelegateDIIIII DebenuPDFLibraryGetTableCellDblProperty;
  2315. public DelegateIIIIII DebenuPDFLibraryGetTableCellIntProperty;
  2316. public DelegateWIIIII DebenuPDFLibraryGetTableCellStrProperty;
  2317. public DelegateIII DebenuPDFLibraryGetTableColumnCount;
  2318. public DelegateIII DebenuPDFLibraryGetTableLastDrawnRow;
  2319. public DelegateIII DebenuPDFLibraryGetTableRowCount;
  2320. public DelegateWI DebenuPDFLibraryGetTempPath;
  2321. public DelegateDI DebenuPDFLibraryGetTextAscent;
  2322. public DelegateDIIII DebenuPDFLibraryGetTextBlockBound;
  2323. public DelegateDIIII DebenuPDFLibraryGetTextBlockCharWidth;
  2324. public DelegateDIIII DebenuPDFLibraryGetTextBlockColor;
  2325. public DelegateIIII DebenuPDFLibraryGetTextBlockColorType;
  2326. public DelegateIII DebenuPDFLibraryGetTextBlockCount;
  2327. public DelegateWIII DebenuPDFLibraryGetTextBlockFontName;
  2328. public DelegateDIII DebenuPDFLibraryGetTextBlockFontSize;
  2329. public DelegateWIII DebenuPDFLibraryGetTextBlockText;
  2330. public DelegateDII DebenuPDFLibraryGetTextBound;
  2331. public DelegateDI DebenuPDFLibraryGetTextDescent;
  2332. public DelegateDI DebenuPDFLibraryGetTextHeight;
  2333. public DelegateDI DebenuPDFLibraryGetTextSize;
  2334. public DelegateDIW DebenuPDFLibraryGetTextWidth;
  2335. public DelegateWII DebenuPDFLibraryGetUnicodeCharactersFromEncoding;
  2336. public DelegateDIII DebenuPDFLibraryGetViewPortBBox;
  2337. public DelegateIII DebenuPDFLibraryGetViewPortMeasureDict;
  2338. public DelegateWII DebenuPDFLibraryGetViewPortName;
  2339. public DelegateIII DebenuPDFLibraryGetViewPortPtDataDict;
  2340. public DelegateIII DebenuPDFLibraryGetViewerPreferences;
  2341. public DelegateWIDWW DebenuPDFLibraryGetWrappedText;
  2342. public DelegateWIDWW DebenuPDFLibraryGetWrappedTextBreakString;
  2343. public DelegateDIDW DebenuPDFLibraryGetWrappedTextHeight;
  2344. public DelegateIIDW DebenuPDFLibraryGetWrappedTextLineCount;
  2345. public DelegateII DebenuPDFLibraryGetXFAFormFieldCount;
  2346. public DelegateWII DebenuPDFLibraryGetXFAFormFieldName;
  2347. public DelegateWIW DebenuPDFLibraryGetXFAFormFieldNames;
  2348. public DelegateWIW DebenuPDFLibraryGetXFAFormFieldValue;
  2349. public DelegateBII DebenuPDFLibraryGetXFAToString;
  2350. public DelegateII DebenuPDFLibraryGlobalJavaScriptCount;
  2351. public DelegateWII DebenuPDFLibraryGlobalJavaScriptPackageName;
  2352. public DelegateII DebenuPDFLibraryHasFontResources;
  2353. public DelegateIII DebenuPDFLibraryHasPageBox;
  2354. public DelegateII DebenuPDFLibraryHidePage;
  2355. public DelegateII DebenuPDFLibraryImageCount;
  2356. public DelegateII DebenuPDFLibraryImageFillColor;
  2357. public DelegateII DebenuPDFLibraryImageHeight;
  2358. public DelegateII DebenuPDFLibraryImageHorizontalResolution;
  2359. public DelegateII DebenuPDFLibraryImageResolutionUnits;
  2360. public DelegateII DebenuPDFLibraryImageType;
  2361. public DelegateII DebenuPDFLibraryImageVerticalResolution;
  2362. public DelegateII DebenuPDFLibraryImageWidth;
  2363. public DelegateIIWII DebenuPDFLibraryImportEMFFromFile;
  2364. public DelegateIIII DebenuPDFLibraryInsertPages;
  2365. public DelegateIIIII DebenuPDFLibraryInsertTableColumns;
  2366. public DelegateIIIII DebenuPDFLibraryInsertTableRows;
  2367. public DelegateIII DebenuPDFLibraryIsAnnotFormField;
  2368. public DelegateII DebenuPDFLibraryIsTaggedPDF;
  2369. public DelegateII DebenuPDFLibraryLastErrorCode;
  2370. public DelegateWI DebenuPDFLibraryLastRenderError;
  2371. public DelegateWI DebenuPDFLibraryLibraryVersion;
  2372. public DelegateWI DebenuPDFLibraryLicenseInfo;
  2373. public DelegateII DebenuPDFLibraryLinearized;
  2374. public DelegateIIDI DebenuPDFLibraryLoadFromCanvasDC;
  2375. public DelegateIIWW DebenuPDFLibraryLoadFromFile;
  2376. public DelegateIIBW DebenuPDFLibraryLoadFromString;
  2377. public DelegateII DebenuPDFLibraryLoadState;
  2378. public DelegateIII DebenuPDFLibraryMergeDocument;
  2379. public DelegateIIWW DebenuPDFLibraryMergeFileList;
  2380. public DelegateIIWW DebenuPDFLibraryMergeFileListFast;
  2381. public DelegateIIWWW DebenuPDFLibraryMergeFiles;
  2382. public DelegateIIIIIII DebenuPDFLibraryMergeTableCells;
  2383. public DelegateIIII DebenuPDFLibraryMoveContentStream;
  2384. public DelegateIIII DebenuPDFLibraryMoveOutlineAfter;
  2385. public DelegateIIII DebenuPDFLibraryMoveOutlineBefore;
  2386. public DelegateIII DebenuPDFLibraryMovePage;
  2387. public DelegateIIDD DebenuPDFLibraryMovePath;
  2388. public DelegateIID DebenuPDFLibraryMultiplyScale;
  2389. public DelegateIIIWI DebenuPDFLibraryNewChildFormField;
  2390. public DelegateII DebenuPDFLibraryNewContentStream;
  2391. public DelegateWIW DebenuPDFLibraryNewCustomPrinter;
  2392. public DelegateIIIIIDDDD DebenuPDFLibraryNewDestination;
  2393. public DelegateII DebenuPDFLibraryNewDocument;
  2394. public DelegateIIWI DebenuPDFLibraryNewFormField;
  2395. public DelegateIII DebenuPDFLibraryNewInternalPrinterObject;
  2396. public DelegateIIWI DebenuPDFLibraryNewNamedDestination;
  2397. public DelegateIIW DebenuPDFLibraryNewOptionalContentGroup;
  2398. public DelegateIIIWID DebenuPDFLibraryNewOutline;
  2399. public DelegateII DebenuPDFLibraryNewPage;
  2400. public DelegateIIDI DebenuPDFLibraryNewPageFromCanvasDC;
  2401. public DelegateIII DebenuPDFLibraryNewPages;
  2402. public DelegateIIW DebenuPDFLibraryNewPostScriptXObject;
  2403. public DelegateIIWDDDDDDDDDDI DebenuPDFLibraryNewRGBAxialShader;
  2404. public DelegateIIWW DebenuPDFLibraryNewSignProcessFromFile;
  2405. public DelegateIIBW DebenuPDFLibraryNewSignProcessFromString;
  2406. public DelegateIIIW DebenuPDFLibraryNewStaticOutline;
  2407. public DelegateIIWI DebenuPDFLibraryNewTilingPatternFromCapturedPage;
  2408. public DelegateIIW DebenuPDFLibraryNoEmbedFontListAdd;
  2409. public DelegateII DebenuPDFLibraryNoEmbedFontListCount;
  2410. public DelegateWII DebenuPDFLibraryNoEmbedFontListGet;
  2411. public DelegateII DebenuPDFLibraryNoEmbedFontListRemoveAll;
  2412. public DelegateIII DebenuPDFLibraryNoEmbedFontListRemoveIndex;
  2413. public DelegateIIW DebenuPDFLibraryNoEmbedFontListRemoveName;
  2414. public DelegateIII DebenuPDFLibraryNormalizePage;
  2415. public DelegateIII DebenuPDFLibraryOpenOutline;
  2416. public DelegateII DebenuPDFLibraryOptionalContentGroupCount;
  2417. public DelegateII DebenuPDFLibraryOutlineCount;
  2418. public DelegateWII DebenuPDFLibraryOutlineTitle;
  2419. public DelegateII DebenuPDFLibraryPageCount;
  2420. public DelegateIII DebenuPDFLibraryPageHasFontResources;
  2421. public DelegateDI DebenuPDFLibraryPageHeight;
  2422. public DelegateIIWW DebenuPDFLibraryPageJavaScriptAction;
  2423. public DelegateII DebenuPDFLibraryPageRotation;
  2424. public DelegateDI DebenuPDFLibraryPageWidth;
  2425. public DelegateIIWIII DebenuPDFLibraryPrintDocument;
  2426. public DelegateIIWIIIW DebenuPDFLibraryPrintDocumentToFile;
  2427. public DelegateIIIIW DebenuPDFLibraryPrintOptions;
  2428. public DelegateIIWWI DebenuPDFLibraryPrintPages;
  2429. public DelegateIIWWIW DebenuPDFLibraryPrintPagesToFile;
  2430. public DelegateIIB DebenuPDFLibraryReleaseBuffer;
  2431. public DelegateIII DebenuPDFLibraryReleaseImage;
  2432. public DelegateIII DebenuPDFLibraryReleaseImageList;
  2433. public DelegateII DebenuPDFLibraryReleaseLibrary;
  2434. public DelegateIII DebenuPDFLibraryReleaseSignProcess;
  2435. public DelegateIII DebenuPDFLibraryReleaseStringList;
  2436. public DelegateIII DebenuPDFLibraryReleaseTextBlocks;
  2437. public DelegateIII DebenuPDFLibraryRemoveAppearanceStream;
  2438. public DelegateIIW DebenuPDFLibraryRemoveCustomInformation;
  2439. public DelegateIII DebenuPDFLibraryRemoveDocument;
  2440. public DelegateIII DebenuPDFLibraryRemoveEmbeddedFile;
  2441. public DelegateIII DebenuPDFLibraryRemoveFormFieldBackgroundColor;
  2442. public DelegateIII DebenuPDFLibraryRemoveFormFieldBorderColor;
  2443. public DelegateIIIW DebenuPDFLibraryRemoveFormFieldChoiceSub;
  2444. public DelegateIIW DebenuPDFLibraryRemoveGlobalJavaScript;
  2445. public DelegateII DebenuPDFLibraryRemoveOpenAction;
  2446. public DelegateIII DebenuPDFLibraryRemoveOutline;
  2447. public DelegateIII DebenuPDFLibraryRemovePageBox;
  2448. public DelegateII DebenuPDFLibraryRemoveSharedContentStreams;
  2449. public DelegateIIW DebenuPDFLibraryRemoveStyle;
  2450. public DelegateII DebenuPDFLibraryRemoveUsageRights;
  2451. public DelegateIII DebenuPDFLibraryRemoveXFAEntries;
  2452. public DelegateIIDWIIW DebenuPDFLibraryRenderAsMultipageTIFFToFile;
  2453. public DelegateIIDIIIW DebenuPDFLibraryRenderDocumentToFile;
  2454. public DelegateIIDIC DebenuPDFLibraryRenderPageToDC;
  2455. public DelegateIIDIIW DebenuPDFLibraryRenderPageToFile;
  2456. public DelegateBIDII DebenuPDFLibraryRenderPageToString;
  2457. public DelegateII DebenuPDFLibraryReplaceFonts;
  2458. public DelegateIIII DebenuPDFLibraryReplaceImage;
  2459. public DelegateIIWW DebenuPDFLibraryReplaceTag;
  2460. public DelegateIII DebenuPDFLibraryRequestPrinterStatus;
  2461. public DelegateIIWWI DebenuPDFLibraryRetrieveCustomDataToFile;
  2462. public DelegateBISI DebenuPDFLibraryRetrieveCustomDataToString;
  2463. public DelegateIII DebenuPDFLibraryReverseImage;
  2464. public DelegateIII DebenuPDFLibraryRotatePage;
  2465. public DelegateIIW DebenuPDFLibrarySaveFontToFile;
  2466. public DelegateIIIIIW DebenuPDFLibrarySaveImageListItemDataToFile;
  2467. public DelegateIIW DebenuPDFLibrarySaveImageToFile;
  2468. public DelegateBI DebenuPDFLibrarySaveImageToString;
  2469. public DelegateII DebenuPDFLibrarySaveState;
  2470. public DelegateIIW DebenuPDFLibrarySaveStyle;
  2471. public DelegateIIW DebenuPDFLibrarySaveToFile;
  2472. public DelegateBI DebenuPDFLibrarySaveToString;
  2473. public DelegateIII DebenuPDFLibrarySecurityInfo;
  2474. public DelegateIII DebenuPDFLibrarySelectContentStream;
  2475. public DelegateIII DebenuPDFLibrarySelectDocument;
  2476. public DelegateIII DebenuPDFLibrarySelectFont;
  2477. public DelegateIII DebenuPDFLibrarySelectImage;
  2478. public DelegateIII DebenuPDFLibrarySelectPage;
  2479. public DelegateIII DebenuPDFLibrarySelectRenderer;
  2480. public DelegateII DebenuPDFLibrarySelectedDocument;
  2481. public DelegateII DebenuPDFLibrarySelectedFont;
  2482. public DelegateII DebenuPDFLibrarySelectedImage;
  2483. public DelegateII DebenuPDFLibrarySelectedPage;
  2484. public DelegateIIIW DebenuPDFLibrarySetActionURL;
  2485. public DelegateIIIDDD DebenuPDFLibrarySetAnnotBorderColor;
  2486. public DelegateIIIDIDD DebenuPDFLibrarySetAnnotBorderStyle;
  2487. public DelegateIIIW DebenuPDFLibrarySetAnnotContents;
  2488. public DelegateIIIID DebenuPDFLibrarySetAnnotDblProperty;
  2489. public DelegateIIIII DebenuPDFLibrarySetAnnotIntProperty;
  2490. public DelegateIIIIDDDDDDDD DebenuPDFLibrarySetAnnotQuadPoints;
  2491. public DelegateIIIDDDD DebenuPDFLibrarySetAnnotRect;
  2492. public DelegateIIIIW DebenuPDFLibrarySetAnnotStrProperty;
  2493. public DelegateIII DebenuPDFLibrarySetAnsiMode;
  2494. public DelegateIIW DebenuPDFLibrarySetBaseURL;
  2495. public DelegateIII DebenuPDFLibrarySetBlendMode;
  2496. public DelegateIIW DebenuPDFLibrarySetBreakString;
  2497. public DelegateIIII DebenuPDFLibrarySetCSDictEPSG;
  2498. public DelegateIIII DebenuPDFLibrarySetCSDictType;
  2499. public DelegateIIIW DebenuPDFLibrarySetCSDictWKT;
  2500. public DelegateIIW DebenuPDFLibrarySetCairoFileName;
  2501. public DelegateIIII DebenuPDFLibrarySetCapturedPageOptional;
  2502. public DelegateIIIIII DebenuPDFLibrarySetCapturedPageTransparencyGroup;
  2503. public DelegateIIWW DebenuPDFLibrarySetCatalogInformation;
  2504. public DelegateIIII DebenuPDFLibrarySetCharWidth;
  2505. public DelegateII DebenuPDFLibrarySetClippingPath;
  2506. public DelegateII DebenuPDFLibrarySetClippingPathEvenOdd;
  2507. public DelegateIIII DebenuPDFLibrarySetCompatibility;
  2508. public DelegateIIB DebenuPDFLibrarySetContentStreamFromString;
  2509. public DelegateIII DebenuPDFLibrarySetContentStreamOptional;
  2510. public DelegateIIDDDD DebenuPDFLibrarySetCropBox;
  2511. public DelegateIIWW DebenuPDFLibrarySetCustomInformation;
  2512. public DelegateIIWD DebenuPDFLibrarySetCustomLineDash;
  2513. public DelegateIIW DebenuPDFLibrarySetDPLRFileName;
  2514. public DelegateIIIIIDDDD DebenuPDFLibrarySetDestProperties;
  2515. public DelegateIIIID DebenuPDFLibrarySetDestValue;
  2516. public DelegateIIW DebenuPDFLibrarySetDocumentMetadata;
  2517. public DelegateIIIIW DebenuPDFLibrarySetEmbeddedFileStrProperty;
  2518. public DelegateIIDDD DebenuPDFLibrarySetFillColor;
  2519. public DelegateIIDDDD DebenuPDFLibrarySetFillColorCMYK;
  2520. public DelegateIIWD DebenuPDFLibrarySetFillColorSep;
  2521. public DelegateIIW DebenuPDFLibrarySetFillShader;
  2522. public DelegateIIW DebenuPDFLibrarySetFillTilingPattern;
  2523. public DelegateIII DebenuPDFLibrarySetFindImagesMode;
  2524. public DelegateIII DebenuPDFLibrarySetFontEncoding;
  2525. public DelegateIIIIIIIIII DebenuPDFLibrarySetFontFlags;
  2526. public DelegateIIII DebenuPDFLibrarySetFormFieldAlignment;
  2527. public DelegateIIII DebenuPDFLibrarySetFormFieldAnnotFlags;
  2528. public DelegateIIIDDD DebenuPDFLibrarySetFormFieldBackgroundColor;
  2529. public DelegateIIIDDDD DebenuPDFLibrarySetFormFieldBackgroundColorCMYK;
  2530. public DelegateIIID DebenuPDFLibrarySetFormFieldBackgroundColorGray;
  2531. public DelegateIIIWD DebenuPDFLibrarySetFormFieldBackgroundColorSep;
  2532. public DelegateIIIDDD DebenuPDFLibrarySetFormFieldBorderColor;
  2533. public DelegateIIIDDDD DebenuPDFLibrarySetFormFieldBorderColorCMYK;
  2534. public DelegateIIID DebenuPDFLibrarySetFormFieldBorderColorGray;
  2535. public DelegateIIIWD DebenuPDFLibrarySetFormFieldBorderColorSep;
  2536. public DelegateIIIDIDD DebenuPDFLibrarySetFormFieldBorderStyle;
  2537. public DelegateIIIDDDD DebenuPDFLibrarySetFormFieldBounds;
  2538. public DelegateIIII DebenuPDFLibrarySetFormFieldCalcOrder;
  2539. public DelegateIIIW DebenuPDFLibrarySetFormFieldCaption;
  2540. public DelegateIIIII DebenuPDFLibrarySetFormFieldCheckStyle;
  2541. public DelegateIIIW DebenuPDFLibrarySetFormFieldChildTitle;
  2542. public DelegateIIIIWW DebenuPDFLibrarySetFormFieldChoiceSub;
  2543. public DelegateIIII DebenuPDFLibrarySetFormFieldChoiceType;
  2544. public DelegateIIIDDD DebenuPDFLibrarySetFormFieldColor;
  2545. public DelegateIIIDDDD DebenuPDFLibrarySetFormFieldColorCMYK;
  2546. public DelegateIIIWD DebenuPDFLibrarySetFormFieldColorSep;
  2547. public DelegateIIII DebenuPDFLibrarySetFormFieldComb;
  2548. public DelegateIIIW DebenuPDFLibrarySetFormFieldDefaultValue;
  2549. public DelegateIIIW DebenuPDFLibrarySetFormFieldDescription;
  2550. public DelegateIIII DebenuPDFLibrarySetFormFieldFlags;
  2551. public DelegateIIII DebenuPDFLibrarySetFormFieldFont;
  2552. public DelegateIIII DebenuPDFLibrarySetFormFieldHighlightMode;
  2553. public DelegateIIIII DebenuPDFLibrarySetFormFieldIcon;
  2554. public DelegateIIIIIIII DebenuPDFLibrarySetFormFieldIconStyle;
  2555. public DelegateIIII DebenuPDFLibrarySetFormFieldMaxLen;
  2556. public DelegateIIII DebenuPDFLibrarySetFormFieldNoExport;
  2557. public DelegateIIII DebenuPDFLibrarySetFormFieldOptional;
  2558. public DelegateIIII DebenuPDFLibrarySetFormFieldPage;
  2559. public DelegateIIII DebenuPDFLibrarySetFormFieldPrintable;
  2560. public DelegateIIII DebenuPDFLibrarySetFormFieldReadOnly;
  2561. public DelegateIIII DebenuPDFLibrarySetFormFieldRequired;
  2562. public DelegateIIIW DebenuPDFLibrarySetFormFieldResetAction;
  2563. public DelegateIIIWW DebenuPDFLibrarySetFormFieldRichTextString;
  2564. public DelegateIIII DebenuPDFLibrarySetFormFieldRotation;
  2565. public DelegateIIIII DebenuPDFLibrarySetFormFieldSignatureImage;
  2566. public DelegateIIII DebenuPDFLibrarySetFormFieldStandardFont;
  2567. public DelegateIIIWW DebenuPDFLibrarySetFormFieldSubmitAction;
  2568. public DelegateIIIWWI DebenuPDFLibrarySetFormFieldSubmitActionEx;
  2569. public DelegateIIII DebenuPDFLibrarySetFormFieldTabOrder;
  2570. public DelegateIIIIIIII DebenuPDFLibrarySetFormFieldTextFlags;
  2571. public DelegateIIID DebenuPDFLibrarySetFormFieldTextSize;
  2572. public DelegateIIIW DebenuPDFLibrarySetFormFieldTitle;
  2573. public DelegateIIIW DebenuPDFLibrarySetFormFieldValue;
  2574. public DelegateIIWW DebenuPDFLibrarySetFormFieldValueByTitle;
  2575. public DelegateIIII DebenuPDFLibrarySetFormFieldVisible;
  2576. public DelegateIIW DebenuPDFLibrarySetGDIPlusFileName;
  2577. public DelegateIIII DebenuPDFLibrarySetGDIPlusOptions;
  2578. public DelegateIIWI DebenuPDFLibrarySetHTMLBoldFont;
  2579. public DelegateIIWI DebenuPDFLibrarySetHTMLBoldItalicFont;
  2580. public DelegateIIWI DebenuPDFLibrarySetHTMLItalicFont;
  2581. public DelegateIIWI DebenuPDFLibrarySetHTMLNormalFont;
  2582. public DelegateIIB DebenuPDFLibrarySetHeaderCommentsFromString;
  2583. public DelegateIII DebenuPDFLibrarySetImageAsMask;
  2584. public DelegateIIDDDDDD DebenuPDFLibrarySetImageMask;
  2585. public DelegateIIDDDDDDDD DebenuPDFLibrarySetImageMaskCMYK;
  2586. public DelegateIII DebenuPDFLibrarySetImageMaskFromImage;
  2587. public DelegateIII DebenuPDFLibrarySetImageOptional;
  2588. public DelegateIIIII DebenuPDFLibrarySetImageResolution;
  2589. public DelegateIIIW DebenuPDFLibrarySetInformation;
  2590. public DelegateIII DebenuPDFLibrarySetJPEGQuality;
  2591. public DelegateIII DebenuPDFLibrarySetJavaScriptMode;
  2592. public DelegateIIWI DebenuPDFLibrarySetKerning;
  2593. public DelegateIII DebenuPDFLibrarySetLineCap;
  2594. public DelegateIIDDD DebenuPDFLibrarySetLineColor;
  2595. public DelegateIIDDDD DebenuPDFLibrarySetLineColorCMYK;
  2596. public DelegateIIWD DebenuPDFLibrarySetLineColorSep;
  2597. public DelegateIIDD DebenuPDFLibrarySetLineDash;
  2598. public DelegateIIW DebenuPDFLibrarySetLineDashEx;
  2599. public DelegateIII DebenuPDFLibrarySetLineJoin;
  2600. public DelegateIIW DebenuPDFLibrarySetLineShader;
  2601. public DelegateIID DebenuPDFLibrarySetLineWidth;
  2602. public DelegateIIIDDDD DebenuPDFLibrarySetMarkupAnnotStyle;
  2603. public DelegateIIII DebenuPDFLibrarySetMeasureDictBoundsCount;
  2604. public DelegateIIIID DebenuPDFLibrarySetMeasureDictBoundsItem;
  2605. public DelegateIIII DebenuPDFLibrarySetMeasureDictCoordinateSystem;
  2606. public DelegateIIII DebenuPDFLibrarySetMeasureDictGPTSCount;
  2607. public DelegateIIIID DebenuPDFLibrarySetMeasureDictGPTSItem;
  2608. public DelegateIIII DebenuPDFLibrarySetMeasureDictLPTSCount;
  2609. public DelegateIIIID DebenuPDFLibrarySetMeasureDictLPTSItem;
  2610. public DelegateIIIIII DebenuPDFLibrarySetMeasureDictPDU;
  2611. public DelegateIII DebenuPDFLibrarySetMeasurementUnits;
  2612. public DelegateIII DebenuPDFLibrarySetNeedAppearances;
  2613. public DelegateIIIB DebenuPDFLibrarySetObjectFromString;
  2614. public DelegateIIII DebenuPDFLibrarySetOpenActionDestination;
  2615. public DelegateIIIIIDDDD DebenuPDFLibrarySetOpenActionDestinationFull;
  2616. public DelegateIIW DebenuPDFLibrarySetOpenActionJavaScript;
  2617. public DelegateIIW DebenuPDFLibrarySetOpenActionMenu;
  2618. public DelegateIIIII DebenuPDFLibrarySetOptionalContentConfigLocked;
  2619. public DelegateIIIII DebenuPDFLibrarySetOptionalContentConfigState;
  2620. public DelegateIIIW DebenuPDFLibrarySetOptionalContentGroupName;
  2621. public DelegateIIII DebenuPDFLibrarySetOptionalContentGroupPrintable;
  2622. public DelegateIIII DebenuPDFLibrarySetOptionalContentGroupVisible;
  2623. public DelegateIII DebenuPDFLibrarySetOrigin;
  2624. public DelegateIIIDDD DebenuPDFLibrarySetOutlineColor;
  2625. public DelegateIIIID DebenuPDFLibrarySetOutlineDestination;
  2626. public DelegateIIIIIIDDDD DebenuPDFLibrarySetOutlineDestinationFull;
  2627. public DelegateIIIIDI DebenuPDFLibrarySetOutlineDestinationZoom;
  2628. public DelegateIIIW DebenuPDFLibrarySetOutlineJavaScript;
  2629. public DelegateIIIW DebenuPDFLibrarySetOutlineNamedDestination;
  2630. public DelegateIIIW DebenuPDFLibrarySetOutlineOpenFile;
  2631. public DelegateIIIWIIIDDDDI DebenuPDFLibrarySetOutlineRemoteDestination;
  2632. public DelegateIIIII DebenuPDFLibrarySetOutlineStyle;
  2633. public DelegateIIIW DebenuPDFLibrarySetOutlineTitle;
  2634. public DelegateIIIW DebenuPDFLibrarySetOutlineWebLink;
  2635. public DelegateIIIII DebenuPDFLibrarySetOverprint;
  2636. public DelegateIII DebenuPDFLibrarySetPDFAMode;
  2637. public DelegateIIIII DebenuPDFLibrarySetPNGTransparencyColor;
  2638. public DelegateIIW DebenuPDFLibrarySetPageActionMenu;
  2639. public DelegateIIIDDDD DebenuPDFLibrarySetPageBox;
  2640. public DelegateIIB DebenuPDFLibrarySetPageContentFromString;
  2641. public DelegateIIDD DebenuPDFLibrarySetPageDimensions;
  2642. public DelegateIII DebenuPDFLibrarySetPageLayout;
  2643. public DelegateIII DebenuPDFLibrarySetPageMode;
  2644. public DelegateIIW DebenuPDFLibrarySetPageSize;
  2645. public DelegateII DebenuPDFLibrarySetPageThumbnail;
  2646. public DelegateIIIII DebenuPDFLibrarySetPageTransparencyGroup;
  2647. public DelegateIII DebenuPDFLibrarySetPrecision;
  2648. public DelegateIIB DebenuPDFLibrarySetPrinterDevModeFromString;
  2649. public DelegateIII DebenuPDFLibrarySetRenderCropType;
  2650. public DelegateIII DebenuPDFLibrarySetRenderDCErasePage;
  2651. public DelegateIIII DebenuPDFLibrarySetRenderDCOffset;
  2652. public DelegateIIII DebenuPDFLibrarySetRenderOptions;
  2653. public DelegateIID DebenuPDFLibrarySetRenderScale;
  2654. public DelegateIID DebenuPDFLibrarySetScale;
  2655. public DelegateIIIW DebenuPDFLibrarySetSignProcessField;
  2656. public DelegateIIIDDDD DebenuPDFLibrarySetSignProcessFieldBounds;
  2657. public DelegateIIIWI DebenuPDFLibrarySetSignProcessFieldImageFromFile;
  2658. public DelegateIIII DebenuPDFLibrarySetSignProcessFieldPage;
  2659. public DelegateIIIWWW DebenuPDFLibrarySetSignProcessInfo;
  2660. public DelegateIIII DebenuPDFLibrarySetSignProcessKeyset;
  2661. public DelegateIIIWW DebenuPDFLibrarySetSignProcessPFXFromFile;
  2662. public DelegateIIII DebenuPDFLibrarySetSignProcessPassthrough;
  2663. public DelegateIIII DebenuPDFLibrarySetSignProcessSubFilter;
  2664. public DelegateIIW DebenuPDFLibrarySetTabOrderMode;
  2665. public DelegateIIIIDDD DebenuPDFLibrarySetTableBorderColor;
  2666. public DelegateIIIIDDDD DebenuPDFLibrarySetTableBorderColorCMYK;
  2667. public DelegateIIIID DebenuPDFLibrarySetTableBorderWidth;
  2668. public DelegateIIIIIIII DebenuPDFLibrarySetTableCellAlignment;
  2669. public DelegateIIIIIIIDDD DebenuPDFLibrarySetTableCellBackgroundColor;
  2670. public DelegateIIIIIIIDDDD DebenuPDFLibrarySetTableCellBackgroundColorCMYK;
  2671. public DelegateIIIIIIIIDDD DebenuPDFLibrarySetTableCellBorderColor;
  2672. public DelegateIIIIIIIIDDDD DebenuPDFLibrarySetTableCellBorderColorCMYK;
  2673. public DelegateIIIIIIIID DebenuPDFLibrarySetTableCellBorderWidth;
  2674. public DelegateIIIIIW DebenuPDFLibrarySetTableCellContent;
  2675. public DelegateIIIIIIIID DebenuPDFLibrarySetTableCellPadding;
  2676. public DelegateIIIIIIIDDD DebenuPDFLibrarySetTableCellTextColor;
  2677. public DelegateIIIIIIIDDDD DebenuPDFLibrarySetTableCellTextColorCMYK;
  2678. public DelegateIIIIIIID DebenuPDFLibrarySetTableCellTextSize;
  2679. public DelegateIIIIID DebenuPDFLibrarySetTableColumnWidth;
  2680. public DelegateIIIIID DebenuPDFLibrarySetTableRowHeight;
  2681. public DelegateIIIIDDD DebenuPDFLibrarySetTableThinBorders;
  2682. public DelegateIIIIDDDD DebenuPDFLibrarySetTableThinBordersCMYK;
  2683. public DelegateIIW DebenuPDFLibrarySetTempFile;
  2684. public DelegateIIW DebenuPDFLibrarySetTempPath;
  2685. public DelegateIII DebenuPDFLibrarySetTextAlign;
  2686. public DelegateIID DebenuPDFLibrarySetTextCharSpacing;
  2687. public DelegateIIDDD DebenuPDFLibrarySetTextColor;
  2688. public DelegateIIDDDD DebenuPDFLibrarySetTextColorCMYK;
  2689. public DelegateIIWD DebenuPDFLibrarySetTextColorSep;
  2690. public DelegateIIDDDD DebenuPDFLibrarySetTextExtractionArea;
  2691. public DelegateIIII DebenuPDFLibrarySetTextExtractionOptions;
  2692. public DelegateIIIDD DebenuPDFLibrarySetTextExtractionScaling;
  2693. public DelegateIID DebenuPDFLibrarySetTextExtractionWordGap;
  2694. public DelegateIII DebenuPDFLibrarySetTextHighlight;
  2695. public DelegateIIDDD DebenuPDFLibrarySetTextHighlightColor;
  2696. public DelegateIIDDDD DebenuPDFLibrarySetTextHighlightColorCMYK;
  2697. public DelegateIIWD DebenuPDFLibrarySetTextHighlightColorSep;
  2698. public DelegateIII DebenuPDFLibrarySetTextMode;
  2699. public DelegateIID DebenuPDFLibrarySetTextRise;
  2700. public DelegateIID DebenuPDFLibrarySetTextScaling;
  2701. public DelegateIIW DebenuPDFLibrarySetTextShader;
  2702. public DelegateIID DebenuPDFLibrarySetTextSize;
  2703. public DelegateIID DebenuPDFLibrarySetTextSpacing;
  2704. public DelegateIII DebenuPDFLibrarySetTextUnderline;
  2705. public DelegateIIDDD DebenuPDFLibrarySetTextUnderlineColor;
  2706. public DelegateIIDDDD DebenuPDFLibrarySetTextUnderlineColorCMYK;
  2707. public DelegateIIWD DebenuPDFLibrarySetTextUnderlineColorSep;
  2708. public DelegateIIWD DebenuPDFLibrarySetTextUnderlineCustomDash;
  2709. public DelegateIIDD DebenuPDFLibrarySetTextUnderlineDash;
  2710. public DelegateIID DebenuPDFLibrarySetTextUnderlineDistance;
  2711. public DelegateIID DebenuPDFLibrarySetTextUnderlineWidth;
  2712. public DelegateIID DebenuPDFLibrarySetTextWordSpacing;
  2713. public DelegateIII DebenuPDFLibrarySetTransparency;
  2714. public DelegateIIII DebenuPDFLibrarySetViewerPreferences;
  2715. public DelegateIIWI DebenuPDFLibrarySetXFAFormFieldAccess;
  2716. public DelegateIIWDDD DebenuPDFLibrarySetXFAFormFieldBorderColor;
  2717. public DelegateIIWI DebenuPDFLibrarySetXFAFormFieldBorderPresence;
  2718. public DelegateIIWD DebenuPDFLibrarySetXFAFormFieldBorderWidth;
  2719. public DelegateIIWW DebenuPDFLibrarySetXFAFormFieldValue;
  2720. public DelegateIIBI DebenuPDFLibrarySetXFAFromString;
  2721. public DelegateIIWII DebenuPDFLibrarySetupCustomPrinter;
  2722. public DelegateIIWWWWWWWWW DebenuPDFLibrarySignFile;
  2723. public DelegateIII DebenuPDFLibrarySplitPageText;
  2724. public DelegateIIDD DebenuPDFLibraryStartPath;
  2725. public DelegateIIWWII DebenuPDFLibraryStoreCustomDataFromFile;
  2726. public DelegateIISBII DebenuPDFLibraryStoreCustomDataFromString;
  2727. public DelegateII DebenuPDFLibraryStringResultLength;
  2728. public DelegateII DebenuPDFLibraryTestTempPath;
  2729. public DelegateIIWWWII DebenuPDFLibraryTransformFile;
  2730. public DelegateIIW DebenuPDFLibraryUnlockKey;
  2731. public DelegateII DebenuPDFLibraryUnlocked;
  2732. public DelegateIII DebenuPDFLibraryUpdateAndFlattenFormField;
  2733. public DelegateIII DebenuPDFLibraryUpdateAppearanceStream;
  2734. public DelegateIIW DebenuPDFLibraryUpdateTrueTypeSubsettedFont;
  2735. public DelegateIII DebenuPDFLibraryUseKerning;
  2736. public DelegateIII DebenuPDFLibraryUseUnsafeContentStreams;
  2737. [DllImport("kernel32.dll")]
  2738. internal static extern IntPtr LoadLibrary(String dllname);
  2739. [DllImport("kernel32.dll")]
  2740. internal static extern int FreeLibrary(IntPtr hModule);
  2741. [DllImport("kernel32.dll")]
  2742. internal static extern IntPtr GetProcAddress(IntPtr hModule, String procname);
  2743. }
  2744. public class PDFLibrary
  2745. {
  2746. private DLL dll = null;
  2747. private int instanceID = 0;
  2748. private string SR(IntPtr data)
  2749. {
  2750. int size = dll.DebenuPDFLibraryStringResultLength(instanceID);
  2751. byte[] result = new byte[size * 2];
  2752. Marshal.Copy(data, result, 0, size * 2);
  2753. return Encoding.Unicode.GetString(result);
  2754. }
  2755. public PDFLibrary(string dllFileName)
  2756. {
  2757. dll = new DLL(dllFileName);
  2758. if (dll.dllHandle != IntPtr.Zero)
  2759. {
  2760. instanceID = dll.DebenuPDFLibraryCreateLibrary();
  2761. dll.RegisterForShutdown(instanceID);
  2762. }
  2763. else
  2764. {
  2765. dll = null;
  2766. }
  2767. }
  2768. public bool LibraryLoaded()
  2769. {
  2770. return dll != null;
  2771. }
  2772. public void ReleaseLibrary()
  2773. {
  2774. dll.Release();
  2775. dll = null;
  2776. }
  2777. public int AddArcToPath(double CenterX, double CenterY, double TotalAngle)
  2778. {
  2779. if (dll == null) return 0;
  2780. else
  2781. return dll.DebenuPDFLibraryAddArcToPath(instanceID, CenterX, CenterY, TotalAngle);
  2782. }
  2783. public int AddBoxToPath(double Left, double Top, double Width, double Height)
  2784. {
  2785. if (dll == null) return 0;
  2786. else
  2787. return dll.DebenuPDFLibraryAddBoxToPath(instanceID, Left, Top, Width, Height);
  2788. }
  2789. public int AddCJKFont(int CJKFontID)
  2790. {
  2791. if (dll == null) return 0;
  2792. else
  2793. return dll.DebenuPDFLibraryAddCJKFont(instanceID, CJKFontID);
  2794. }
  2795. public int AddCurveToPath(double CtAX, double CtAY, double CtBX, double CtBY, double EndX,
  2796. double EndY)
  2797. {
  2798. if (dll == null) return 0;
  2799. else
  2800. return dll.DebenuPDFLibraryAddCurveToPath(instanceID, CtAX, CtAY, CtBX, CtBY, EndX,
  2801. EndY);
  2802. }
  2803. public int AddEmbeddedFile(string FileName, string MIMEType)
  2804. {
  2805. if (dll == null) return 0;
  2806. else
  2807. return dll.DebenuPDFLibraryAddEmbeddedFile(instanceID, FileName, MIMEType);
  2808. }
  2809. public int AddFileAttachment(string Title, int EmbeddedFileID)
  2810. {
  2811. if (dll == null) return 0;
  2812. else
  2813. return dll.DebenuPDFLibraryAddFileAttachment(instanceID, Title, EmbeddedFileID);
  2814. }
  2815. public int AddFormFieldChoiceSub(int Index, string SubName, string DisplayName)
  2816. {
  2817. if (dll == null) return 0;
  2818. else
  2819. return dll.DebenuPDFLibraryAddFormFieldChoiceSub(instanceID, Index, SubName,
  2820. DisplayName);
  2821. }
  2822. public int AddFormFieldSub(int Index, string SubName)
  2823. {
  2824. if (dll == null) return 0;
  2825. else
  2826. return dll.DebenuPDFLibraryAddFormFieldSub(instanceID, Index, SubName);
  2827. }
  2828. public int AddFormFont(int FontID)
  2829. {
  2830. if (dll == null) return 0;
  2831. else
  2832. return dll.DebenuPDFLibraryAddFormFont(instanceID, FontID);
  2833. }
  2834. public int AddFreeTextAnnotation(double Left, double Top, double Width, double Height,
  2835. string Text, int Angle, int Options)
  2836. {
  2837. if (dll == null) return 0;
  2838. else
  2839. return dll.DebenuPDFLibraryAddFreeTextAnnotation(instanceID, Left, Top, Width,
  2840. Height, Text, Angle, Options);
  2841. }
  2842. public int AddGlobalJavaScript(string PackageName, string JavaScript)
  2843. {
  2844. if (dll == null) return 0;
  2845. else
  2846. return dll.DebenuPDFLibraryAddGlobalJavaScript(instanceID, PackageName, JavaScript);
  2847. }
  2848. public int AddImageFromFile(string FileName, int Options)
  2849. {
  2850. if (dll == null) return 0;
  2851. else
  2852. return dll.DebenuPDFLibraryAddImageFromFile(instanceID, FileName, Options);
  2853. }
  2854. public int AddImageFromFileOffset(string FileName, int Offset, int DataLength, int Options)
  2855. {
  2856. if (dll == null) return 0;
  2857. else
  2858. return dll.DebenuPDFLibraryAddImageFromFileOffset(instanceID, FileName, Offset,
  2859. DataLength, Options);
  2860. }
  2861. public int AddImageFromString(byte[] Source, int Options)
  2862. {
  2863. if (dll == null) return 0;
  2864. else
  2865. {
  2866. GCHandle gch = GCHandle.Alloc(Source, GCHandleType.Pinned);
  2867. IntPtr bufferID = dll.DebenuPDFLibraryCreateBuffer(instanceID, Source.Length);
  2868. dll.DebenuPDFLibraryAddToBuffer(instanceID, bufferID, gch.AddrOfPinnedObject(), Source.Length);
  2869. int result = dll.DebenuPDFLibraryAddImageFromString(instanceID, bufferID, Options);
  2870. dll.DebenuPDFLibraryReleaseBuffer(instanceID, bufferID);
  2871. gch.Free();
  2872. return result;
  2873. }
  2874. }
  2875. public int AddLGIDictToPage(string DictContent)
  2876. {
  2877. if (dll == null) return 0;
  2878. else
  2879. return dll.DebenuPDFLibraryAddLGIDictToPage(instanceID, DictContent);
  2880. }
  2881. public int AddLineToPath(double EndX, double EndY)
  2882. {
  2883. if (dll == null) return 0;
  2884. else
  2885. return dll.DebenuPDFLibraryAddLineToPath(instanceID, EndX, EndY);
  2886. }
  2887. public int AddLinkToDestination(double Left, double Top, double Width, double Height,
  2888. int DestID, int Options)
  2889. {
  2890. if (dll == null) return 0;
  2891. else
  2892. return dll.DebenuPDFLibraryAddLinkToDestination(instanceID, Left, Top, Width, Height,
  2893. DestID, Options);
  2894. }
  2895. public int AddLinkToEmbeddedFile(double Left, double Top, double Width, double Height,
  2896. int EmbeddedFileID, string Title, string Contents, int IconType, int Transpareny)
  2897. {
  2898. if (dll == null) return 0;
  2899. else
  2900. return dll.DebenuPDFLibraryAddLinkToEmbeddedFile(instanceID, Left, Top, Width,
  2901. Height, EmbeddedFileID, Title, Contents, IconType, Transpareny);
  2902. }
  2903. public int AddLinkToFile(double Left, double Top, double Width, double Height,
  2904. string FileName, int Page, double Position, int NewWindow, int Options)
  2905. {
  2906. if (dll == null) return 0;
  2907. else
  2908. return dll.DebenuPDFLibraryAddLinkToFile(instanceID, Left, Top, Width, Height,
  2909. FileName, Page, Position, NewWindow, Options);
  2910. }
  2911. public int AddLinkToFileDest(double Left, double Top, double Width, double Height,
  2912. string FileName, string NamedDest, double Position, int NewWindow, int Options)
  2913. {
  2914. if (dll == null) return 0;
  2915. else
  2916. return dll.DebenuPDFLibraryAddLinkToFileDest(instanceID, Left, Top, Width, Height,
  2917. FileName, NamedDest, Position, NewWindow, Options);
  2918. }
  2919. public int AddLinkToFileEx(double Left, double Top, double Width, double Height,
  2920. string FileName, int DestPage, int NewWindow, int Options, int Zoom, int DestType,
  2921. double DestLeft, double DestTop, double DestRight, double DestBottom)
  2922. {
  2923. if (dll == null) return 0;
  2924. else
  2925. return dll.DebenuPDFLibraryAddLinkToFileEx(instanceID, Left, Top, Width, Height,
  2926. FileName, DestPage, NewWindow, Options, Zoom, DestType, DestLeft, DestTop,
  2927. DestRight, DestBottom);
  2928. }
  2929. public int AddLinkToJavaScript(double Left, double Top, double Width, double Height,
  2930. string JavaScript, int Options)
  2931. {
  2932. if (dll == null) return 0;
  2933. else
  2934. return dll.DebenuPDFLibraryAddLinkToJavaScript(instanceID, Left, Top, Width, Height,
  2935. JavaScript, Options);
  2936. }
  2937. public int AddLinkToLocalFile(double Left, double Top, double Width, double Height,
  2938. string FileName, int Options)
  2939. {
  2940. if (dll == null) return 0;
  2941. else
  2942. return dll.DebenuPDFLibraryAddLinkToLocalFile(instanceID, Left, Top, Width, Height,
  2943. FileName, Options);
  2944. }
  2945. public int AddLinkToPage(double Left, double Top, double Width, double Height, int Page,
  2946. double Position, int Options)
  2947. {
  2948. if (dll == null) return 0;
  2949. else
  2950. return dll.DebenuPDFLibraryAddLinkToPage(instanceID, Left, Top, Width, Height, Page,
  2951. Position, Options);
  2952. }
  2953. public int AddLinkToWeb(double Left, double Top, double Width, double Height, string Link,
  2954. int Options)
  2955. {
  2956. if (dll == null) return 0;
  2957. else
  2958. return dll.DebenuPDFLibraryAddLinkToWeb(instanceID, Left, Top, Width, Height, Link,
  2959. Options);
  2960. }
  2961. public int AddNoteAnnotation(double Left, double Top, int AnnotType, double PopupLeft,
  2962. double PopupTop, double PopupWidth, double PopupHeight, string Title, string Contents,
  2963. double Red, double Green, double Blue, int Open)
  2964. {
  2965. if (dll == null) return 0;
  2966. else
  2967. return dll.DebenuPDFLibraryAddNoteAnnotation(instanceID, Left, Top, AnnotType,
  2968. PopupLeft, PopupTop, PopupWidth, PopupHeight, Title, Contents, Red, Green, Blue,
  2969. Open);
  2970. }
  2971. public int AddOpenTypeFontFromFile(string FileName, int Options)
  2972. {
  2973. if (dll == null) return 0;
  2974. else
  2975. return dll.DebenuPDFLibraryAddOpenTypeFontFromFile(instanceID, FileName, Options);
  2976. }
  2977. public int AddPageLabels(int Start, int Style, int Offset, string Prefix)
  2978. {
  2979. if (dll == null) return 0;
  2980. else
  2981. return dll.DebenuPDFLibraryAddPageLabels(instanceID, Start, Style, Offset, Prefix);
  2982. }
  2983. public int AddSVGAnnotationFromFile(double Left, double Top, double Width, double Height,
  2984. string FileName, int Options)
  2985. {
  2986. if (dll == null) return 0;
  2987. else
  2988. return dll.DebenuPDFLibraryAddSVGAnnotationFromFile(instanceID, Left, Top, Width,
  2989. Height, FileName, Options);
  2990. }
  2991. public int AddSWFAnnotationFromFile(double Left, double Top, double Width, double Height,
  2992. string FileName, string Title, int Options)
  2993. {
  2994. if (dll == null) return 0;
  2995. else
  2996. return dll.DebenuPDFLibraryAddSWFAnnotationFromFile(instanceID, Left, Top, Width,
  2997. Height, FileName, Title, Options);
  2998. }
  2999. public int AddSeparationColor(string ColorName, double C, double M, double Y, double K,
  3000. int Options)
  3001. {
  3002. if (dll == null) return 0;
  3003. else
  3004. return dll.DebenuPDFLibraryAddSeparationColor(instanceID, ColorName, C, M, Y, K,
  3005. Options);
  3006. }
  3007. public int AddStampAnnotation(double Left, double Top, double Width, double Height,
  3008. int StampType, string Title, string Contents, double Red, double Green, double Blue,
  3009. int Options)
  3010. {
  3011. if (dll == null) return 0;
  3012. else
  3013. return dll.DebenuPDFLibraryAddStampAnnotation(instanceID, Left, Top, Width, Height,
  3014. StampType, Title, Contents, Red, Green, Blue, Options);
  3015. }
  3016. public int AddStampAnnotationFromImage(double Left, double Top, double Width, double Height,
  3017. string FileName, string Title, string Contents, double Red, double Green, double Blue,
  3018. int Options)
  3019. {
  3020. if (dll == null) return 0;
  3021. else
  3022. return dll.DebenuPDFLibraryAddStampAnnotationFromImage(instanceID, Left, Top, Width,
  3023. Height, FileName, Title, Contents, Red, Green, Blue, Options);
  3024. }
  3025. public int AddStandardFont(int StandardFontID)
  3026. {
  3027. if (dll == null) return 0;
  3028. else
  3029. return dll.DebenuPDFLibraryAddStandardFont(instanceID, StandardFontID);
  3030. }
  3031. public int AddSubsettedFont(string FontName, int CharsetIndex, string SubsetChars)
  3032. {
  3033. if (dll == null) return 0;
  3034. else
  3035. return dll.DebenuPDFLibraryAddSubsettedFont(instanceID, FontName, CharsetIndex,
  3036. SubsetChars);
  3037. }
  3038. public int AddTextMarkupAnnotation(int MarkupType, double Left, double Top, double Width,
  3039. double Height)
  3040. {
  3041. if (dll == null) return 0;
  3042. else
  3043. return dll.DebenuPDFLibraryAddTextMarkupAnnotation(instanceID, MarkupType, Left, Top,
  3044. Width, Height);
  3045. }
  3046. public int AddToFileList(string ListName, string FileName)
  3047. {
  3048. if (dll == null) return 0;
  3049. else
  3050. return dll.DebenuPDFLibraryAddToFileList(instanceID, ListName, FileName);
  3051. }
  3052. public int AddTrueTypeFont(string FontName, int Embed)
  3053. {
  3054. if (dll == null) return 0;
  3055. else
  3056. return dll.DebenuPDFLibraryAddTrueTypeFont(instanceID, FontName, Embed);
  3057. }
  3058. public int AddTrueTypeFontFromFile(string FileName)
  3059. {
  3060. if (dll == null) return 0;
  3061. else
  3062. return dll.DebenuPDFLibraryAddTrueTypeFontFromFile(instanceID, FileName);
  3063. }
  3064. public int AddTrueTypeSubsettedFont(string FontName, string SubsetChars, int Options)
  3065. {
  3066. if (dll == null) return 0;
  3067. else
  3068. return dll.DebenuPDFLibraryAddTrueTypeSubsettedFont(instanceID, FontName,
  3069. SubsetChars, Options);
  3070. }
  3071. public int AddType1Font(string FileName)
  3072. {
  3073. if (dll == null) return 0;
  3074. else
  3075. return dll.DebenuPDFLibraryAddType1Font(instanceID, FileName);
  3076. }
  3077. public int AddU3DAnnotationFromFile(double Left, double Top, double Width, double Height,
  3078. string FileName, int Options)
  3079. {
  3080. if (dll == null) return 0;
  3081. else
  3082. return dll.DebenuPDFLibraryAddU3DAnnotationFromFile(instanceID, Left, Top, Width,
  3083. Height, FileName, Options);
  3084. }
  3085. public int AnalyseFile(string InputFileName, string Password)
  3086. {
  3087. if (dll == null) return 0;
  3088. else
  3089. return dll.DebenuPDFLibraryAnalyseFile(instanceID, InputFileName, Password);
  3090. }
  3091. public int AnnotationCount()
  3092. {
  3093. if (dll == null) return 0;
  3094. else
  3095. return dll.DebenuPDFLibraryAnnotationCount(instanceID);
  3096. }
  3097. public int AnsiStringResultLength()
  3098. {
  3099. if (dll == null) return 0;
  3100. else
  3101. return dll.DebenuPDFLibraryAnsiStringResultLength(instanceID);
  3102. }
  3103. public int AppendSpace(double RelativeSpace)
  3104. {
  3105. if (dll == null) return 0;
  3106. else
  3107. return dll.DebenuPDFLibraryAppendSpace(instanceID, RelativeSpace);
  3108. }
  3109. public int AppendTableColumns(int TableID, int NewColumnCount)
  3110. {
  3111. if (dll == null) return 0;
  3112. else
  3113. return dll.DebenuPDFLibraryAppendTableColumns(instanceID, TableID, NewColumnCount);
  3114. }
  3115. public int AppendTableRows(int TableID, int NewRowCount)
  3116. {
  3117. if (dll == null) return 0;
  3118. else
  3119. return dll.DebenuPDFLibraryAppendTableRows(instanceID, TableID, NewRowCount);
  3120. }
  3121. public int AppendText(string Text)
  3122. {
  3123. if (dll == null) return 0;
  3124. else
  3125. return dll.DebenuPDFLibraryAppendText(instanceID, Text);
  3126. }
  3127. public int AppendToFile(string FileName)
  3128. {
  3129. if (dll == null) return 0;
  3130. else
  3131. return dll.DebenuPDFLibraryAppendToFile(instanceID, FileName);
  3132. }
  3133. public int ApplyStyle(string StyleName)
  3134. {
  3135. if (dll == null) return 0;
  3136. else
  3137. return dll.DebenuPDFLibraryApplyStyle(instanceID, StyleName);
  3138. }
  3139. public int AttachAnnotToForm(int Index)
  3140. {
  3141. if (dll == null) return 0;
  3142. else
  3143. return dll.DebenuPDFLibraryAttachAnnotToForm(instanceID, Index);
  3144. }
  3145. public int BalanceContentStream()
  3146. {
  3147. if (dll == null) return 0;
  3148. else
  3149. return dll.DebenuPDFLibraryBalanceContentStream(instanceID);
  3150. }
  3151. public int BalancePageTree(int Options)
  3152. {
  3153. if (dll == null) return 0;
  3154. else
  3155. return dll.DebenuPDFLibraryBalancePageTree(instanceID, Options);
  3156. }
  3157. public int BeginPageUpdate()
  3158. {
  3159. if (dll == null) return 0;
  3160. else
  3161. return dll.DebenuPDFLibraryBeginPageUpdate(instanceID);
  3162. }
  3163. public int CapturePage(int Page)
  3164. {
  3165. if (dll == null) return 0;
  3166. else
  3167. return dll.DebenuPDFLibraryCapturePage(instanceID, Page);
  3168. }
  3169. public int CapturePageEx(int Page, int Options)
  3170. {
  3171. if (dll == null) return 0;
  3172. else
  3173. return dll.DebenuPDFLibraryCapturePageEx(instanceID, Page, Options);
  3174. }
  3175. public int CharWidth(int CharCode)
  3176. {
  3177. if (dll == null) return 0;
  3178. else
  3179. return dll.DebenuPDFLibraryCharWidth(instanceID, CharCode);
  3180. }
  3181. public int CheckFileCompliance(string InputFileName, string Password, int ComplianceTest,
  3182. int Options)
  3183. {
  3184. if (dll == null) return 0;
  3185. else
  3186. return dll.DebenuPDFLibraryCheckFileCompliance(instanceID, InputFileName, Password,
  3187. ComplianceTest, Options);
  3188. }
  3189. public int CheckObjects()
  3190. {
  3191. if (dll == null) return 0;
  3192. else
  3193. return dll.DebenuPDFLibraryCheckObjects(instanceID);
  3194. }
  3195. public int CheckPageAnnots()
  3196. {
  3197. if (dll == null) return 0;
  3198. else
  3199. return dll.DebenuPDFLibraryCheckPageAnnots(instanceID);
  3200. }
  3201. public int CheckPassword(string Password)
  3202. {
  3203. if (dll == null) return 0;
  3204. else
  3205. return dll.DebenuPDFLibraryCheckPassword(instanceID, Password);
  3206. }
  3207. public int ClearFileList(string ListName)
  3208. {
  3209. if (dll == null) return 0;
  3210. else
  3211. return dll.DebenuPDFLibraryClearFileList(instanceID, ListName);
  3212. }
  3213. public int ClearImage(int ImageID)
  3214. {
  3215. if (dll == null) return 0;
  3216. else
  3217. return dll.DebenuPDFLibraryClearImage(instanceID, ImageID);
  3218. }
  3219. public int ClearPageLabels()
  3220. {
  3221. if (dll == null) return 0;
  3222. else
  3223. return dll.DebenuPDFLibraryClearPageLabels(instanceID);
  3224. }
  3225. public int ClearTextFormatting()
  3226. {
  3227. if (dll == null) return 0;
  3228. else
  3229. return dll.DebenuPDFLibraryClearTextFormatting(instanceID);
  3230. }
  3231. public int CloneOutlineAction(int OutlineID)
  3232. {
  3233. if (dll == null) return 0;
  3234. else
  3235. return dll.DebenuPDFLibraryCloneOutlineAction(instanceID, OutlineID);
  3236. }
  3237. public int ClonePages(int StartPage, int EndPage, int RepeatCount)
  3238. {
  3239. if (dll == null) return 0;
  3240. else
  3241. return dll.DebenuPDFLibraryClonePages(instanceID, StartPage, EndPage, RepeatCount);
  3242. }
  3243. public int CloseOutline(int OutlineID)
  3244. {
  3245. if (dll == null) return 0;
  3246. else
  3247. return dll.DebenuPDFLibraryCloseOutline(instanceID, OutlineID);
  3248. }
  3249. public int ClosePath()
  3250. {
  3251. if (dll == null) return 0;
  3252. else
  3253. return dll.DebenuPDFLibraryClosePath(instanceID);
  3254. }
  3255. public int CombineContentStreams()
  3256. {
  3257. if (dll == null) return 0;
  3258. else
  3259. return dll.DebenuPDFLibraryCombineContentStreams(instanceID);
  3260. }
  3261. public int CompareOutlines(int FirstOutlineID, int SecondOutlineID)
  3262. {
  3263. if (dll == null) return 0;
  3264. else
  3265. return dll.DebenuPDFLibraryCompareOutlines(instanceID, FirstOutlineID,
  3266. SecondOutlineID);
  3267. }
  3268. public int CompressContent()
  3269. {
  3270. if (dll == null) return 0;
  3271. else
  3272. return dll.DebenuPDFLibraryCompressContent(instanceID);
  3273. }
  3274. public int CompressFonts(int Compress)
  3275. {
  3276. if (dll == null) return 0;
  3277. else
  3278. return dll.DebenuPDFLibraryCompressFonts(instanceID, Compress);
  3279. }
  3280. public int CompressImages(int Compress)
  3281. {
  3282. if (dll == null) return 0;
  3283. else
  3284. return dll.DebenuPDFLibraryCompressImages(instanceID, Compress);
  3285. }
  3286. public int CompressPage()
  3287. {
  3288. if (dll == null) return 0;
  3289. else
  3290. return dll.DebenuPDFLibraryCompressPage(instanceID);
  3291. }
  3292. public int ContentStreamCount()
  3293. {
  3294. if (dll == null) return 0;
  3295. else
  3296. return dll.DebenuPDFLibraryContentStreamCount(instanceID);
  3297. }
  3298. public int ContentStreamSafe()
  3299. {
  3300. if (dll == null) return 0;
  3301. else
  3302. return dll.DebenuPDFLibraryContentStreamSafe(instanceID);
  3303. }
  3304. public int CopyPageRanges(int DocumentID, string RangeList)
  3305. {
  3306. if (dll == null) return 0;
  3307. else
  3308. return dll.DebenuPDFLibraryCopyPageRanges(instanceID, DocumentID, RangeList);
  3309. }
  3310. public int CopyPageRangesEx(int DocumentID, string RangeList, int Options)
  3311. {
  3312. if (dll == null) return 0;
  3313. else
  3314. return dll.DebenuPDFLibraryCopyPageRangesEx(instanceID, DocumentID, RangeList,
  3315. Options);
  3316. }
  3317. public int CreateNewObject()
  3318. {
  3319. if (dll == null) return 0;
  3320. else
  3321. return dll.DebenuPDFLibraryCreateNewObject(instanceID);
  3322. }
  3323. public int CreateTable(int RowCount, int ColumnCount)
  3324. {
  3325. if (dll == null) return 0;
  3326. else
  3327. return dll.DebenuPDFLibraryCreateTable(instanceID, RowCount, ColumnCount);
  3328. }
  3329. public int DAAppendFile(int FileHandle)
  3330. {
  3331. if (dll == null) return 0;
  3332. else
  3333. return dll.DebenuPDFLibraryDAAppendFile(instanceID, FileHandle);
  3334. }
  3335. public int DACapturePage(int FileHandle, int PageRef)
  3336. {
  3337. if (dll == null) return 0;
  3338. else
  3339. return dll.DebenuPDFLibraryDACapturePage(instanceID, FileHandle, PageRef);
  3340. }
  3341. public int DACapturePageEx(int FileHandle, int PageRef, int Options)
  3342. {
  3343. if (dll == null) return 0;
  3344. else
  3345. return dll.DebenuPDFLibraryDACapturePageEx(instanceID, FileHandle, PageRef, Options);
  3346. }
  3347. public int DACloseFile(int FileHandle)
  3348. {
  3349. if (dll == null) return 0;
  3350. else
  3351. return dll.DebenuPDFLibraryDACloseFile(instanceID, FileHandle);
  3352. }
  3353. public int DADrawCapturedPage(int FileHandle, int DACaptureID, int DestPageRef,
  3354. double PntLeft, double PntBottom, double PntWidth, double PntHeight)
  3355. {
  3356. if (dll == null) return 0;
  3357. else
  3358. return dll.DebenuPDFLibraryDADrawCapturedPage(instanceID, FileHandle, DACaptureID,
  3359. DestPageRef, PntLeft, PntBottom, PntWidth, PntHeight);
  3360. }
  3361. public int DADrawRotatedCapturedPage(int FileHandle, int DACaptureID, int DestPageRef,
  3362. double PntLeft, double PntBottom, double PntWidth, double PntHeight, double Angle)
  3363. {
  3364. if (dll == null) return 0;
  3365. else
  3366. return dll.DebenuPDFLibraryDADrawRotatedCapturedPage(instanceID, FileHandle,
  3367. DACaptureID, DestPageRef, PntLeft, PntBottom, PntWidth, PntHeight, Angle);
  3368. }
  3369. public int DAEmbedFileStreams(int FileHandle, string RootPath)
  3370. {
  3371. if (dll == null) return 0;
  3372. else
  3373. return dll.DebenuPDFLibraryDAEmbedFileStreams(instanceID, FileHandle, RootPath);
  3374. }
  3375. public string DAExtractPageText(int FileHandle, int PageRef, int Options)
  3376. {
  3377. if (dll == null) return "";
  3378. else
  3379. return SR(dll.DebenuPDFLibraryDAExtractPageText(instanceID, FileHandle, PageRef,
  3380. Options));
  3381. }
  3382. public int DAExtractPageTextBlocks(int FileHandle, int PageRef, int ExtractOptions)
  3383. {
  3384. if (dll == null) return 0;
  3385. else
  3386. return dll.DebenuPDFLibraryDAExtractPageTextBlocks(instanceID, FileHandle, PageRef,
  3387. ExtractOptions);
  3388. }
  3389. public int DAFindPage(int FileHandle, int Page)
  3390. {
  3391. if (dll == null) return 0;
  3392. else
  3393. return dll.DebenuPDFLibraryDAFindPage(instanceID, FileHandle, Page);
  3394. }
  3395. public int DAGetAnnotationCount(int FileHandle, int PageRef)
  3396. {
  3397. if (dll == null) return 0;
  3398. else
  3399. return dll.DebenuPDFLibraryDAGetAnnotationCount(instanceID, FileHandle, PageRef);
  3400. }
  3401. public int DAGetFormFieldCount(int FileHandle)
  3402. {
  3403. if (dll == null) return 0;
  3404. else
  3405. return dll.DebenuPDFLibraryDAGetFormFieldCount(instanceID, FileHandle);
  3406. }
  3407. public string DAGetFormFieldTitle(int FileHandle, int FieldIndex)
  3408. {
  3409. if (dll == null) return "";
  3410. else
  3411. return SR(dll.DebenuPDFLibraryDAGetFormFieldTitle(instanceID, FileHandle, FieldIndex));
  3412. }
  3413. public string DAGetFormFieldValue(int FileHandle, int FieldIndex)
  3414. {
  3415. if (dll == null) return "";
  3416. else
  3417. return SR(dll.DebenuPDFLibraryDAGetFormFieldValue(instanceID, FileHandle, FieldIndex));
  3418. }
  3419. public byte[] DAGetImageDataToString(int FileHandle, int ImageListID, int ImageIndex)
  3420. {
  3421. if (dll == null) return new byte[0];
  3422. else
  3423. {
  3424. IntPtr data = dll.DebenuPDFLibraryDAGetImageDataToString(instanceID, FileHandle,
  3425. ImageListID, ImageIndex);
  3426. int size = dll.DebenuPDFLibraryAnsiStringResultLength(instanceID);
  3427. byte[] result = new byte[size];
  3428. Marshal.Copy(data, result, 0, size);
  3429. return result;
  3430. }
  3431. }
  3432. public double DAGetImageDblProperty(int FileHandle, int ImageListID, int ImageIndex,
  3433. int PropertyID)
  3434. {
  3435. if (dll == null) return 0;
  3436. else
  3437. return dll.DebenuPDFLibraryDAGetImageDblProperty(instanceID, FileHandle, ImageListID,
  3438. ImageIndex, PropertyID);
  3439. }
  3440. public int DAGetImageIntProperty(int FileHandle, int ImageListID, int ImageIndex,
  3441. int PropertyID)
  3442. {
  3443. if (dll == null) return 0;
  3444. else
  3445. return dll.DebenuPDFLibraryDAGetImageIntProperty(instanceID, FileHandle, ImageListID,
  3446. ImageIndex, PropertyID);
  3447. }
  3448. public int DAGetImageListCount(int FileHandle, int ImageListID)
  3449. {
  3450. if (dll == null) return 0;
  3451. else
  3452. return dll.DebenuPDFLibraryDAGetImageListCount(instanceID, FileHandle, ImageListID);
  3453. }
  3454. public string DAGetInformation(int FileHandle, string Key)
  3455. {
  3456. if (dll == null) return "";
  3457. else
  3458. return SR(dll.DebenuPDFLibraryDAGetInformation(instanceID, FileHandle, Key));
  3459. }
  3460. public int DAGetObjectCount(int FileHandle)
  3461. {
  3462. if (dll == null) return 0;
  3463. else
  3464. return dll.DebenuPDFLibraryDAGetObjectCount(instanceID, FileHandle);
  3465. }
  3466. public byte[] DAGetObjectToString(int FileHandle, int ObjectNumber)
  3467. {
  3468. if (dll == null) return new byte[0];
  3469. else
  3470. {
  3471. IntPtr data = dll.DebenuPDFLibraryDAGetObjectToString(instanceID, FileHandle,
  3472. ObjectNumber);
  3473. int size = dll.DebenuPDFLibraryAnsiStringResultLength(instanceID);
  3474. byte[] result = new byte[size];
  3475. Marshal.Copy(data, result, 0, size);
  3476. return result;
  3477. }
  3478. }
  3479. public double DAGetPageBox(int FileHandle, int PageRef, int BoxIndex, int Dimension)
  3480. {
  3481. if (dll == null) return 0;
  3482. else
  3483. return dll.DebenuPDFLibraryDAGetPageBox(instanceID, FileHandle, PageRef, BoxIndex,
  3484. Dimension);
  3485. }
  3486. public byte[] DAGetPageContentToString(int FileHandle, int PageRef)
  3487. {
  3488. if (dll == null) return new byte[0];
  3489. else
  3490. {
  3491. IntPtr data = dll.DebenuPDFLibraryDAGetPageContentToString(instanceID, FileHandle,
  3492. PageRef);
  3493. int size = dll.DebenuPDFLibraryAnsiStringResultLength(instanceID);
  3494. byte[] result = new byte[size];
  3495. Marshal.Copy(data, result, 0, size);
  3496. return result;
  3497. }
  3498. }
  3499. public int DAGetPageCount(int FileHandle)
  3500. {
  3501. if (dll == null) return 0;
  3502. else
  3503. return dll.DebenuPDFLibraryDAGetPageCount(instanceID, FileHandle);
  3504. }
  3505. public double DAGetPageHeight(int FileHandle, int PageRef)
  3506. {
  3507. if (dll == null) return 0;
  3508. else
  3509. return dll.DebenuPDFLibraryDAGetPageHeight(instanceID, FileHandle, PageRef);
  3510. }
  3511. public int DAGetPageImageList(int FileHandle, int PageRef)
  3512. {
  3513. if (dll == null) return 0;
  3514. else
  3515. return dll.DebenuPDFLibraryDAGetPageImageList(instanceID, FileHandle, PageRef);
  3516. }
  3517. public double DAGetPageWidth(int FileHandle, int PageRef)
  3518. {
  3519. if (dll == null) return 0;
  3520. else
  3521. return dll.DebenuPDFLibraryDAGetPageWidth(instanceID, FileHandle, PageRef);
  3522. }
  3523. public double DAGetTextBlockBound(int TextBlockListID, int Index, int BoundIndex)
  3524. {
  3525. if (dll == null) return 0;
  3526. else
  3527. return dll.DebenuPDFLibraryDAGetTextBlockBound(instanceID, TextBlockListID, Index,
  3528. BoundIndex);
  3529. }
  3530. public double DAGetTextBlockCharWidth(int TextBlockListID, int Index, int CharIndex)
  3531. {
  3532. if (dll == null) return 0;
  3533. else
  3534. return dll.DebenuPDFLibraryDAGetTextBlockCharWidth(instanceID, TextBlockListID,
  3535. Index, CharIndex);
  3536. }
  3537. public double DAGetTextBlockColor(int TextBlockListID, int Index, int ColorComponent)
  3538. {
  3539. if (dll == null) return 0;
  3540. else
  3541. return dll.DebenuPDFLibraryDAGetTextBlockColor(instanceID, TextBlockListID, Index,
  3542. ColorComponent);
  3543. }
  3544. public int DAGetTextBlockColorType(int TextBlockListID, int Index)
  3545. {
  3546. if (dll == null) return 0;
  3547. else
  3548. return dll.DebenuPDFLibraryDAGetTextBlockColorType(instanceID, TextBlockListID,
  3549. Index);
  3550. }
  3551. public int DAGetTextBlockCount(int TextBlockListID)
  3552. {
  3553. if (dll == null) return 0;
  3554. else
  3555. return dll.DebenuPDFLibraryDAGetTextBlockCount(instanceID, TextBlockListID);
  3556. }
  3557. public string DAGetTextBlockFontName(int TextBlockListID, int Index)
  3558. {
  3559. if (dll == null) return "";
  3560. else
  3561. return SR(dll.DebenuPDFLibraryDAGetTextBlockFontName(instanceID, TextBlockListID,
  3562. Index));
  3563. }
  3564. public double DAGetTextBlockFontSize(int TextBlockListID, int Index)
  3565. {
  3566. if (dll == null) return 0;
  3567. else
  3568. return dll.DebenuPDFLibraryDAGetTextBlockFontSize(instanceID, TextBlockListID, Index);
  3569. }
  3570. public string DAGetTextBlockText(int TextBlockListID, int Index)
  3571. {
  3572. if (dll == null) return "";
  3573. else
  3574. return SR(dll.DebenuPDFLibraryDAGetTextBlockText(instanceID, TextBlockListID, Index));
  3575. }
  3576. public int DAHasPageBox(int FileHandle, int PageRef, int BoxIndex)
  3577. {
  3578. if (dll == null) return 0;
  3579. else
  3580. return dll.DebenuPDFLibraryDAHasPageBox(instanceID, FileHandle, PageRef, BoxIndex);
  3581. }
  3582. public int DAHidePage(int FileHandle, int PageRef)
  3583. {
  3584. if (dll == null) return 0;
  3585. else
  3586. return dll.DebenuPDFLibraryDAHidePage(instanceID, FileHandle, PageRef);
  3587. }
  3588. public int DAMovePage(int FileHandle, int PageRef, int TargetPageRef, int Options)
  3589. {
  3590. if (dll == null) return 0;
  3591. else
  3592. return dll.DebenuPDFLibraryDAMovePage(instanceID, FileHandle, PageRef, TargetPageRef,
  3593. Options);
  3594. }
  3595. public int DANewPage(int FileHandle)
  3596. {
  3597. if (dll == null) return 0;
  3598. else
  3599. return dll.DebenuPDFLibraryDANewPage(instanceID, FileHandle);
  3600. }
  3601. public int DANewPages(int FileHandle, int PageCount)
  3602. {
  3603. if (dll == null) return 0;
  3604. else
  3605. return dll.DebenuPDFLibraryDANewPages(instanceID, FileHandle, PageCount);
  3606. }
  3607. public int DAOpenFile(string InputFileName, string Password)
  3608. {
  3609. if (dll == null) return 0;
  3610. else
  3611. return dll.DebenuPDFLibraryDAOpenFile(instanceID, InputFileName, Password);
  3612. }
  3613. public int DAOpenFileReadOnly(string InputFileName, string Password)
  3614. {
  3615. if (dll == null) return 0;
  3616. else
  3617. return dll.DebenuPDFLibraryDAOpenFileReadOnly(instanceID, InputFileName, Password);
  3618. }
  3619. public int DAPageRotation(int FileHandle, int PageRef)
  3620. {
  3621. if (dll == null) return 0;
  3622. else
  3623. return dll.DebenuPDFLibraryDAPageRotation(instanceID, FileHandle, PageRef);
  3624. }
  3625. public int DAReleaseImageList(int FileHandle, int ImageListID)
  3626. {
  3627. if (dll == null) return 0;
  3628. else
  3629. return dll.DebenuPDFLibraryDAReleaseImageList(instanceID, FileHandle, ImageListID);
  3630. }
  3631. public int DAReleaseTextBlocks(int TextBlockListID)
  3632. {
  3633. if (dll == null) return 0;
  3634. else
  3635. return dll.DebenuPDFLibraryDAReleaseTextBlocks(instanceID, TextBlockListID);
  3636. }
  3637. public int DARemoveUsageRights(int FileHandle)
  3638. {
  3639. if (dll == null) return 0;
  3640. else
  3641. return dll.DebenuPDFLibraryDARemoveUsageRights(instanceID, FileHandle);
  3642. }
  3643. public int DARenderPageToDC(int FileHandle, int PageRef, double DPI, IntPtr DC)
  3644. {
  3645. if (dll == null) return 0;
  3646. else
  3647. return dll.DebenuPDFLibraryDARenderPageToDC(instanceID, FileHandle, PageRef, DPI, DC);
  3648. }
  3649. public int DARenderPageToFile(int FileHandle, int PageRef, int Options, double DPI,
  3650. string FileName)
  3651. {
  3652. if (dll == null) return 0;
  3653. else
  3654. return dll.DebenuPDFLibraryDARenderPageToFile(instanceID, FileHandle, PageRef,
  3655. Options, DPI, FileName);
  3656. }
  3657. public byte[] DARenderPageToString(int FileHandle, int PageRef, int Options, double DPI)
  3658. {
  3659. if (dll == null) return new byte[0];
  3660. else
  3661. {
  3662. IntPtr data = dll.DebenuPDFLibraryDARenderPageToString(instanceID, FileHandle,
  3663. PageRef, Options, DPI);
  3664. int size = dll.DebenuPDFLibraryAnsiStringResultLength(instanceID);
  3665. byte[] result = new byte[size];
  3666. Marshal.Copy(data, result, 0, size);
  3667. return result;
  3668. }
  3669. }
  3670. public int DARotatePage(int FileHandle, int PageRef, int Angle, int Options)
  3671. {
  3672. if (dll == null) return 0;
  3673. else
  3674. return dll.DebenuPDFLibraryDARotatePage(instanceID, FileHandle, PageRef, Angle,
  3675. Options);
  3676. }
  3677. public int DASaveAsFile(int FileHandle, string OutputFileName)
  3678. {
  3679. if (dll == null) return 0;
  3680. else
  3681. return dll.DebenuPDFLibraryDASaveAsFile(instanceID, FileHandle, OutputFileName);
  3682. }
  3683. public int DASaveImageDataToFile(int FileHandle, int ImageListID, int ImageIndex,
  3684. string ImageFileName)
  3685. {
  3686. if (dll == null) return 0;
  3687. else
  3688. return dll.DebenuPDFLibraryDASaveImageDataToFile(instanceID, FileHandle, ImageListID,
  3689. ImageIndex, ImageFileName);
  3690. }
  3691. public int DASetInformation(int FileHandle, string Key, string NewValue)
  3692. {
  3693. if (dll == null) return 0;
  3694. else
  3695. return dll.DebenuPDFLibraryDASetInformation(instanceID, FileHandle, Key, NewValue);
  3696. }
  3697. public int DASetPageBox(int FileHandle, int PageRef, int BoxIndex, double X1, double Y1,
  3698. double X2, double Y2)
  3699. {
  3700. if (dll == null) return 0;
  3701. else
  3702. return dll.DebenuPDFLibraryDASetPageBox(instanceID, FileHandle, PageRef, BoxIndex,
  3703. X1, Y1, X2, Y2);
  3704. }
  3705. public int DASetPageSize(int FileHandle, int PageRef, double PntWidth, double PntHeight)
  3706. {
  3707. if (dll == null) return 0;
  3708. else
  3709. return dll.DebenuPDFLibraryDASetPageSize(instanceID, FileHandle, PageRef, PntWidth,
  3710. PntHeight);
  3711. }
  3712. public int DASetTextExtractionArea(double Left, double Top, double Width, double Height)
  3713. {
  3714. if (dll == null) return 0;
  3715. else
  3716. return dll.DebenuPDFLibraryDASetTextExtractionArea(instanceID, Left, Top, Width,
  3717. Height);
  3718. }
  3719. public int DASetTextExtractionOptions(int OptionID, int NewValue)
  3720. {
  3721. if (dll == null) return 0;
  3722. else
  3723. return dll.DebenuPDFLibraryDASetTextExtractionOptions(instanceID, OptionID, NewValue);
  3724. }
  3725. public int DASetTextExtractionScaling(int Options, double Horizontal, double Vertical)
  3726. {
  3727. if (dll == null) return 0;
  3728. else
  3729. return dll.DebenuPDFLibraryDASetTextExtractionScaling(instanceID, Options,
  3730. Horizontal, Vertical);
  3731. }
  3732. public int DASetTextExtractionWordGap(double NewWordGap)
  3733. {
  3734. if (dll == null) return 0;
  3735. else
  3736. return dll.DebenuPDFLibraryDASetTextExtractionWordGap(instanceID, NewWordGap);
  3737. }
  3738. public int DAShiftedHeader(int FileHandle)
  3739. {
  3740. if (dll == null) return 0;
  3741. else
  3742. return dll.DebenuPDFLibraryDAShiftedHeader(instanceID, FileHandle);
  3743. }
  3744. public int Decrypt()
  3745. {
  3746. if (dll == null) return 0;
  3747. else
  3748. return dll.DebenuPDFLibraryDecrypt(instanceID);
  3749. }
  3750. public int DecryptFile(string InputFileName, string OutputFileName, string Password)
  3751. {
  3752. if (dll == null) return 0;
  3753. else
  3754. return dll.DebenuPDFLibraryDecryptFile(instanceID, InputFileName, OutputFileName,
  3755. Password);
  3756. }
  3757. public int DeleteAnalysis(int AnalysisID)
  3758. {
  3759. if (dll == null) return 0;
  3760. else
  3761. return dll.DebenuPDFLibraryDeleteAnalysis(instanceID, AnalysisID);
  3762. }
  3763. public int DeleteAnnotation(int Index)
  3764. {
  3765. if (dll == null) return 0;
  3766. else
  3767. return dll.DebenuPDFLibraryDeleteAnnotation(instanceID, Index);
  3768. }
  3769. public int DeleteContentStream()
  3770. {
  3771. if (dll == null) return 0;
  3772. else
  3773. return dll.DebenuPDFLibraryDeleteContentStream(instanceID);
  3774. }
  3775. public int DeleteFormField(int Index)
  3776. {
  3777. if (dll == null) return 0;
  3778. else
  3779. return dll.DebenuPDFLibraryDeleteFormField(instanceID, Index);
  3780. }
  3781. public int DeleteOptionalContentGroup(int OptionalContentGroupID)
  3782. {
  3783. if (dll == null) return 0;
  3784. else
  3785. return dll.DebenuPDFLibraryDeleteOptionalContentGroup(instanceID,
  3786. OptionalContentGroupID);
  3787. }
  3788. public int DeletePageLGIDict(int DictIndex)
  3789. {
  3790. if (dll == null) return 0;
  3791. else
  3792. return dll.DebenuPDFLibraryDeletePageLGIDict(instanceID, DictIndex);
  3793. }
  3794. public int DeletePages(int StartPage, int PageCount)
  3795. {
  3796. if (dll == null) return 0;
  3797. else
  3798. return dll.DebenuPDFLibraryDeletePages(instanceID, StartPage, PageCount);
  3799. }
  3800. public int DocJavaScriptAction(string ActionType, string JavaScript)
  3801. {
  3802. if (dll == null) return 0;
  3803. else
  3804. return dll.DebenuPDFLibraryDocJavaScriptAction(instanceID, ActionType, JavaScript);
  3805. }
  3806. public int DocumentCount()
  3807. {
  3808. if (dll == null) return 0;
  3809. else
  3810. return dll.DebenuPDFLibraryDocumentCount(instanceID);
  3811. }
  3812. public int DrawArc(double XPos, double YPos, double Radius, double StartAngle,
  3813. double EndAngle, int Pie, int DrawOptions)
  3814. {
  3815. if (dll == null) return 0;
  3816. else
  3817. return dll.DebenuPDFLibraryDrawArc(instanceID, XPos, YPos, Radius, StartAngle,
  3818. EndAngle, Pie, DrawOptions);
  3819. }
  3820. public int DrawBarcode(double Left, double Top, double Width, double Height, string Text,
  3821. int Barcode, int Options)
  3822. {
  3823. if (dll == null) return 0;
  3824. else
  3825. return dll.DebenuPDFLibraryDrawBarcode(instanceID, Left, Top, Width, Height, Text,
  3826. Barcode, Options);
  3827. }
  3828. public int DrawBox(double Left, double Top, double Width, double Height, int DrawOptions)
  3829. {
  3830. if (dll == null) return 0;
  3831. else
  3832. return dll.DebenuPDFLibraryDrawBox(instanceID, Left, Top, Width, Height, DrawOptions);
  3833. }
  3834. public int DrawCapturedPage(int CaptureID, double Left, double Top, double Width,
  3835. double Height)
  3836. {
  3837. if (dll == null) return 0;
  3838. else
  3839. return dll.DebenuPDFLibraryDrawCapturedPage(instanceID, CaptureID, Left, Top, Width,
  3840. Height);
  3841. }
  3842. public int DrawCapturedPageMatrix(int CaptureID, double M11, double M12, double M21,
  3843. double M22, double MDX, double MDY)
  3844. {
  3845. if (dll == null) return 0;
  3846. else
  3847. return dll.DebenuPDFLibraryDrawCapturedPageMatrix(instanceID, CaptureID, M11, M12,
  3848. M21, M22, MDX, MDY);
  3849. }
  3850. public int DrawCircle(double XPos, double YPos, double Radius, int DrawOptions)
  3851. {
  3852. if (dll == null) return 0;
  3853. else
  3854. return dll.DebenuPDFLibraryDrawCircle(instanceID, XPos, YPos, Radius, DrawOptions);
  3855. }
  3856. public int DrawDataMatrixSymbol(double Left, double Top, double ModuleSize, string Text,
  3857. int Encoding, int SymbolSize, int Options)
  3858. {
  3859. if (dll == null) return 0;
  3860. else
  3861. return dll.DebenuPDFLibraryDrawDataMatrixSymbol(instanceID, Left, Top, ModuleSize,
  3862. Text, Encoding, SymbolSize, Options);
  3863. }
  3864. public int DrawEllipse(double XPos, double YPos, double Width, double Height,
  3865. int DrawOptions)
  3866. {
  3867. if (dll == null) return 0;
  3868. else
  3869. return dll.DebenuPDFLibraryDrawEllipse(instanceID, XPos, YPos, Width, Height,
  3870. DrawOptions);
  3871. }
  3872. public int DrawEllipticArc(double XPos, double YPos, double Width, double Height,
  3873. double StartAngle, double EndAngle, int Pie, int DrawOptions)
  3874. {
  3875. if (dll == null) return 0;
  3876. else
  3877. return dll.DebenuPDFLibraryDrawEllipticArc(instanceID, XPos, YPos, Width, Height,
  3878. StartAngle, EndAngle, Pie, DrawOptions);
  3879. }
  3880. public int DrawHTMLText(double Left, double Top, double Width, string HTMLText)
  3881. {
  3882. if (dll == null) return 0;
  3883. else
  3884. return dll.DebenuPDFLibraryDrawHTMLText(instanceID, Left, Top, Width, HTMLText);
  3885. }
  3886. public string DrawHTMLTextBox(double Left, double Top, double Width, double Height,
  3887. string HTMLText)
  3888. {
  3889. if (dll == null) return "";
  3890. else
  3891. return SR(dll.DebenuPDFLibraryDrawHTMLTextBox(instanceID, Left, Top, Width, Height,
  3892. HTMLText));
  3893. }
  3894. public string DrawHTMLTextBoxMatrix(double Width, double Height, string HTMLText, double M11,
  3895. double M12, double M21, double M22, double MDX, double MDY)
  3896. {
  3897. if (dll == null) return "";
  3898. else
  3899. return SR(dll.DebenuPDFLibraryDrawHTMLTextBoxMatrix(instanceID, Width, Height,
  3900. HTMLText, M11, M12, M21, M22, MDX, MDY));
  3901. }
  3902. public int DrawHTMLTextMatrix(double Width, string HTMLText, double M11, double M12,
  3903. double M21, double M22, double MDX, double MDY)
  3904. {
  3905. if (dll == null) return 0;
  3906. else
  3907. return dll.DebenuPDFLibraryDrawHTMLTextMatrix(instanceID, Width, HTMLText, M11, M12,
  3908. M21, M22, MDX, MDY);
  3909. }
  3910. public int DrawImage(double Left, double Top, double Width, double Height)
  3911. {
  3912. if (dll == null) return 0;
  3913. else
  3914. return dll.DebenuPDFLibraryDrawImage(instanceID, Left, Top, Width, Height);
  3915. }
  3916. public int DrawImageMatrix(double M11, double M12, double M21, double M22, double MDX,
  3917. double MDY)
  3918. {
  3919. if (dll == null) return 0;
  3920. else
  3921. return dll.DebenuPDFLibraryDrawImageMatrix(instanceID, M11, M12, M21, M22, MDX, MDY);
  3922. }
  3923. public int DrawIntelligentMailBarcode(double Left, double Top, double BarWidth,
  3924. double FullBarHeight, double TrackerHeight, double SpaceWidth, string BarcodeData,
  3925. int Options)
  3926. {
  3927. if (dll == null) return 0;
  3928. else
  3929. return dll.DebenuPDFLibraryDrawIntelligentMailBarcode(instanceID, Left, Top,
  3930. BarWidth, FullBarHeight, TrackerHeight, SpaceWidth, BarcodeData, Options);
  3931. }
  3932. public int DrawLine(double StartX, double StartY, double EndX, double EndY)
  3933. {
  3934. if (dll == null) return 0;
  3935. else
  3936. return dll.DebenuPDFLibraryDrawLine(instanceID, StartX, StartY, EndX, EndY);
  3937. }
  3938. public int DrawMultiLineText(double XPos, double YPos, string Delimiter, string Text)
  3939. {
  3940. if (dll == null) return 0;
  3941. else
  3942. return dll.DebenuPDFLibraryDrawMultiLineText(instanceID, XPos, YPos, Delimiter, Text);
  3943. }
  3944. public int DrawPDF417Symbol(double Left, double Top, string Text, int Options)
  3945. {
  3946. if (dll == null) return 0;
  3947. else
  3948. return dll.DebenuPDFLibraryDrawPDF417Symbol(instanceID, Left, Top, Text, Options);
  3949. }
  3950. public int DrawPDF417SymbolEx(double Left, double Top, string Text, int Options,
  3951. int FixedColumns, int FixedRows, int ErrorLevel, double ModuleSize,
  3952. double HeightWidthRatio)
  3953. {
  3954. if (dll == null) return 0;
  3955. else
  3956. return dll.DebenuPDFLibraryDrawPDF417SymbolEx(instanceID, Left, Top, Text, Options,
  3957. FixedColumns, FixedRows, ErrorLevel, ModuleSize, HeightWidthRatio);
  3958. }
  3959. public int DrawPath(int PathOptions)
  3960. {
  3961. if (dll == null) return 0;
  3962. else
  3963. return dll.DebenuPDFLibraryDrawPath(instanceID, PathOptions);
  3964. }
  3965. public int DrawPathEvenOdd(int PathOptions)
  3966. {
  3967. if (dll == null) return 0;
  3968. else
  3969. return dll.DebenuPDFLibraryDrawPathEvenOdd(instanceID, PathOptions);
  3970. }
  3971. public int DrawPostScriptXObject(int PSRef)
  3972. {
  3973. if (dll == null) return 0;
  3974. else
  3975. return dll.DebenuPDFLibraryDrawPostScriptXObject(instanceID, PSRef);
  3976. }
  3977. public int DrawQRCode(double Left, double Top, double SymbolSize, string Text,
  3978. int EncodeOptions, int DrawOptions)
  3979. {
  3980. if (dll == null) return 0;
  3981. else
  3982. return dll.DebenuPDFLibraryDrawQRCode(instanceID, Left, Top, SymbolSize, Text,
  3983. EncodeOptions, DrawOptions);
  3984. }
  3985. public int DrawRotatedBox(double Left, double Bottom, double Width, double Height,
  3986. double Angle, int DrawOptions)
  3987. {
  3988. if (dll == null) return 0;
  3989. else
  3990. return dll.DebenuPDFLibraryDrawRotatedBox(instanceID, Left, Bottom, Width, Height,
  3991. Angle, DrawOptions);
  3992. }
  3993. public int DrawRotatedCapturedPage(int CaptureID, double Left, double Bottom, double Width,
  3994. double Height, double Angle)
  3995. {
  3996. if (dll == null) return 0;
  3997. else
  3998. return dll.DebenuPDFLibraryDrawRotatedCapturedPage(instanceID, CaptureID, Left,
  3999. Bottom, Width, Height, Angle);
  4000. }
  4001. public int DrawRotatedImage(double Left, double Bottom, double Width, double Height,
  4002. double Angle)
  4003. {
  4004. if (dll == null) return 0;
  4005. else
  4006. return dll.DebenuPDFLibraryDrawRotatedImage(instanceID, Left, Bottom, Width, Height,
  4007. Angle);
  4008. }
  4009. public int DrawRotatedMultiLineText(double XPos, double YPos, double Angle, string Delimiter,
  4010. string Text)
  4011. {
  4012. if (dll == null) return 0;
  4013. else
  4014. return dll.DebenuPDFLibraryDrawRotatedMultiLineText(instanceID, XPos, YPos, Angle,
  4015. Delimiter, Text);
  4016. }
  4017. public int DrawRotatedText(double XPos, double YPos, double Angle, string Text)
  4018. {
  4019. if (dll == null) return 0;
  4020. else
  4021. return dll.DebenuPDFLibraryDrawRotatedText(instanceID, XPos, YPos, Angle, Text);
  4022. }
  4023. public int DrawRotatedTextBox(double Left, double Top, double Width, double Height,
  4024. double Angle, string Text, int Options)
  4025. {
  4026. if (dll == null) return 0;
  4027. else
  4028. return dll.DebenuPDFLibraryDrawRotatedTextBox(instanceID, Left, Top, Width, Height,
  4029. Angle, Text, Options);
  4030. }
  4031. public int DrawRotatedTextBoxEx(double Left, double Top, double Width, double Height,
  4032. double Angle, string Text, int Options, int Border, int Radius, int DrawOptions)
  4033. {
  4034. if (dll == null) return 0;
  4035. else
  4036. return dll.DebenuPDFLibraryDrawRotatedTextBoxEx(instanceID, Left, Top, Width, Height,
  4037. Angle, Text, Options, Border, Radius, DrawOptions);
  4038. }
  4039. public int DrawRoundedBox(double Left, double Top, double Width, double Height,
  4040. double Radius, int DrawOptions)
  4041. {
  4042. if (dll == null) return 0;
  4043. else
  4044. return dll.DebenuPDFLibraryDrawRoundedBox(instanceID, Left, Top, Width, Height,
  4045. Radius, DrawOptions);
  4046. }
  4047. public int DrawRoundedRotatedBox(double Left, double Bottom, double Width, double Height,
  4048. double Radius, double Angle, int DrawOptions)
  4049. {
  4050. if (dll == null) return 0;
  4051. else
  4052. return dll.DebenuPDFLibraryDrawRoundedRotatedBox(instanceID, Left, Bottom, Width,
  4053. Height, Radius, Angle, DrawOptions);
  4054. }
  4055. public int DrawScaledImage(double Left, double Top, double Scale)
  4056. {
  4057. if (dll == null) return 0;
  4058. else
  4059. return dll.DebenuPDFLibraryDrawScaledImage(instanceID, Left, Top, Scale);
  4060. }
  4061. public int DrawSpacedText(double XPos, double YPos, double Spacing, string Text)
  4062. {
  4063. if (dll == null) return 0;
  4064. else
  4065. return dll.DebenuPDFLibraryDrawSpacedText(instanceID, XPos, YPos, Spacing, Text);
  4066. }
  4067. public double DrawTableRows(int TableID, double Left, double Top, double Height,
  4068. int FirstRow, int LastRow)
  4069. {
  4070. if (dll == null) return 0;
  4071. else
  4072. return dll.DebenuPDFLibraryDrawTableRows(instanceID, TableID, Left, Top, Height,
  4073. FirstRow, LastRow);
  4074. }
  4075. public int DrawText(double XPos, double YPos, string Text)
  4076. {
  4077. if (dll == null) return 0;
  4078. else
  4079. return dll.DebenuPDFLibraryDrawText(instanceID, XPos, YPos, Text);
  4080. }
  4081. public int DrawTextArc(double XPos, double YPos, double Radius, double Angle, string Text,
  4082. int DrawOptions)
  4083. {
  4084. if (dll == null) return 0;
  4085. else
  4086. return dll.DebenuPDFLibraryDrawTextArc(instanceID, XPos, YPos, Radius, Angle, Text,
  4087. DrawOptions);
  4088. }
  4089. public int DrawTextBox(double Left, double Top, double Width, double Height, string Text,
  4090. int Options)
  4091. {
  4092. if (dll == null) return 0;
  4093. else
  4094. return dll.DebenuPDFLibraryDrawTextBox(instanceID, Left, Top, Width, Height, Text,
  4095. Options);
  4096. }
  4097. public int DrawTextBoxMatrix(double Width, double Height, string Text, int Options,
  4098. double M11, double M12, double M21, double M22, double MDX, double MDY)
  4099. {
  4100. if (dll == null) return 0;
  4101. else
  4102. return dll.DebenuPDFLibraryDrawTextBoxMatrix(instanceID, Width, Height, Text,
  4103. Options, M11, M12, M21, M22, MDX, MDY);
  4104. }
  4105. public int DrawWrappedText(double XPos, double YPos, double Width, string Text)
  4106. {
  4107. if (dll == null) return 0;
  4108. else
  4109. return dll.DebenuPDFLibraryDrawWrappedText(instanceID, XPos, YPos, Width, Text);
  4110. }
  4111. public int EditableContentStream()
  4112. {
  4113. if (dll == null) return 0;
  4114. else
  4115. return dll.DebenuPDFLibraryEditableContentStream(instanceID);
  4116. }
  4117. public int EmbedFile(string Title, string FileName, string MIMEType)
  4118. {
  4119. if (dll == null) return 0;
  4120. else
  4121. return dll.DebenuPDFLibraryEmbedFile(instanceID, Title, FileName, MIMEType);
  4122. }
  4123. public int EmbeddedFileCount()
  4124. {
  4125. if (dll == null) return 0;
  4126. else
  4127. return dll.DebenuPDFLibraryEmbeddedFileCount(instanceID);
  4128. }
  4129. public int EncapsulateContentStream()
  4130. {
  4131. if (dll == null) return 0;
  4132. else
  4133. return dll.DebenuPDFLibraryEncapsulateContentStream(instanceID);
  4134. }
  4135. public int EncodePermissions(int CanPrint, int CanCopy, int CanChange, int CanAddNotes,
  4136. int CanFillFields, int CanCopyAccess, int CanAssemble, int CanPrintFull)
  4137. {
  4138. if (dll == null) return 0;
  4139. else
  4140. return dll.DebenuPDFLibraryEncodePermissions(instanceID, CanPrint, CanCopy,
  4141. CanChange, CanAddNotes, CanFillFields, CanCopyAccess, CanAssemble, CanPrintFull);
  4142. }
  4143. public int Encrypt(string Owner, string User, int Strength, int Permissions)
  4144. {
  4145. if (dll == null) return 0;
  4146. else
  4147. return dll.DebenuPDFLibraryEncrypt(instanceID, Owner, User, Strength, Permissions);
  4148. }
  4149. public int EncryptFile(string InputFileName, string OutputFileName, string Owner,
  4150. string User, int Strength, int Permissions)
  4151. {
  4152. if (dll == null) return 0;
  4153. else
  4154. return dll.DebenuPDFLibraryEncryptFile(instanceID, InputFileName, OutputFileName,
  4155. Owner, User, Strength, Permissions);
  4156. }
  4157. public int EncryptWithFingerprint(string Fingerprint)
  4158. {
  4159. if (dll == null) return 0;
  4160. else
  4161. return dll.DebenuPDFLibraryEncryptWithFingerprint(instanceID, Fingerprint);
  4162. }
  4163. public int EncryptionAlgorithm()
  4164. {
  4165. if (dll == null) return 0;
  4166. else
  4167. return dll.DebenuPDFLibraryEncryptionAlgorithm(instanceID);
  4168. }
  4169. public int EncryptionStatus()
  4170. {
  4171. if (dll == null) return 0;
  4172. else
  4173. return dll.DebenuPDFLibraryEncryptionStatus(instanceID);
  4174. }
  4175. public int EncryptionStrength()
  4176. {
  4177. if (dll == null) return 0;
  4178. else
  4179. return dll.DebenuPDFLibraryEncryptionStrength(instanceID);
  4180. }
  4181. public int EndPageUpdate()
  4182. {
  4183. if (dll == null) return 0;
  4184. else
  4185. return dll.DebenuPDFLibraryEndPageUpdate(instanceID);
  4186. }
  4187. public int EndSignProcessToFile(int SignProcessID, string OutputFile)
  4188. {
  4189. if (dll == null) return 0;
  4190. else
  4191. return dll.DebenuPDFLibraryEndSignProcessToFile(instanceID, SignProcessID,
  4192. OutputFile);
  4193. }
  4194. public byte[] EndSignProcessToString(int SignProcessID)
  4195. {
  4196. if (dll == null) return new byte[0];
  4197. else
  4198. {
  4199. IntPtr data = dll.DebenuPDFLibraryEndSignProcessToString(instanceID, SignProcessID);
  4200. int size = dll.DebenuPDFLibraryAnsiStringResultLength(instanceID);
  4201. byte[] result = new byte[size];
  4202. Marshal.Copy(data, result, 0, size);
  4203. return result;
  4204. }
  4205. }
  4206. public byte[] ExtractFilePageContentToString(string InputFileName, string Password, int Page)
  4207. {
  4208. if (dll == null) return new byte[0];
  4209. else
  4210. {
  4211. IntPtr data = dll.DebenuPDFLibraryExtractFilePageContentToString(instanceID,
  4212. InputFileName, Password, Page);
  4213. int size = dll.DebenuPDFLibraryAnsiStringResultLength(instanceID);
  4214. byte[] result = new byte[size];
  4215. Marshal.Copy(data, result, 0, size);
  4216. return result;
  4217. }
  4218. }
  4219. public string ExtractFilePageText(string InputFileName, string Password, int Page,
  4220. int Options)
  4221. {
  4222. if (dll == null) return "";
  4223. else
  4224. return SR(dll.DebenuPDFLibraryExtractFilePageText(instanceID, InputFileName,
  4225. Password, Page, Options));
  4226. }
  4227. public int ExtractFilePageTextBlocks(string InputFileName, string Password, int Page,
  4228. int Options)
  4229. {
  4230. if (dll == null) return 0;
  4231. else
  4232. return dll.DebenuPDFLibraryExtractFilePageTextBlocks(instanceID, InputFileName,
  4233. Password, Page, Options);
  4234. }
  4235. public int ExtractFilePages(string InputFileName, string Password, string OutputFileName,
  4236. string RangeList)
  4237. {
  4238. if (dll == null) return 0;
  4239. else
  4240. return dll.DebenuPDFLibraryExtractFilePages(instanceID, InputFileName, Password,
  4241. OutputFileName, RangeList);
  4242. }
  4243. public int ExtractFilePagesEx(string InputFileName, string Password, string OutputFileName,
  4244. string RangeList, int Options)
  4245. {
  4246. if (dll == null) return 0;
  4247. else
  4248. return dll.DebenuPDFLibraryExtractFilePagesEx(instanceID, InputFileName, Password,
  4249. OutputFileName, RangeList, Options);
  4250. }
  4251. public int ExtractPageRanges(string RangeList)
  4252. {
  4253. if (dll == null) return 0;
  4254. else
  4255. return dll.DebenuPDFLibraryExtractPageRanges(instanceID, RangeList);
  4256. }
  4257. public int ExtractPageTextBlocks(int ExtractOptions)
  4258. {
  4259. if (dll == null) return 0;
  4260. else
  4261. return dll.DebenuPDFLibraryExtractPageTextBlocks(instanceID, ExtractOptions);
  4262. }
  4263. public int ExtractPages(int StartPage, int PageCount)
  4264. {
  4265. if (dll == null) return 0;
  4266. else
  4267. return dll.DebenuPDFLibraryExtractPages(instanceID, StartPage, PageCount);
  4268. }
  4269. public int FileListCount(string ListName)
  4270. {
  4271. if (dll == null) return 0;
  4272. else
  4273. return dll.DebenuPDFLibraryFileListCount(instanceID, ListName);
  4274. }
  4275. public string FileListItem(string ListName, int Index)
  4276. {
  4277. if (dll == null) return "";
  4278. else
  4279. return SR(dll.DebenuPDFLibraryFileListItem(instanceID, ListName, Index));
  4280. }
  4281. public int FindFonts()
  4282. {
  4283. if (dll == null) return 0;
  4284. else
  4285. return dll.DebenuPDFLibraryFindFonts(instanceID);
  4286. }
  4287. public int FindFormFieldByTitle(string Title)
  4288. {
  4289. if (dll == null) return 0;
  4290. else
  4291. return dll.DebenuPDFLibraryFindFormFieldByTitle(instanceID, Title);
  4292. }
  4293. public int FindImages()
  4294. {
  4295. if (dll == null) return 0;
  4296. else
  4297. return dll.DebenuPDFLibraryFindImages(instanceID);
  4298. }
  4299. public int FitImage(double Left, double Top, double Width, double Height, int HAlign,
  4300. int VAlign, int Rotate)
  4301. {
  4302. if (dll == null) return 0;
  4303. else
  4304. return dll.DebenuPDFLibraryFitImage(instanceID, Left, Top, Width, Height, HAlign,
  4305. VAlign, Rotate);
  4306. }
  4307. public int FitRotatedTextBox(double Left, double Top, double Width, double Height,
  4308. double Angle, string Text, int Options)
  4309. {
  4310. if (dll == null) return 0;
  4311. else
  4312. return dll.DebenuPDFLibraryFitRotatedTextBox(instanceID, Left, Top, Width, Height,
  4313. Angle, Text, Options);
  4314. }
  4315. public int FitTextBox(double Left, double Top, double Width, double Height, string Text,
  4316. int Options)
  4317. {
  4318. if (dll == null) return 0;
  4319. else
  4320. return dll.DebenuPDFLibraryFitTextBox(instanceID, Left, Top, Width, Height, Text,
  4321. Options);
  4322. }
  4323. public int FlattenAnnot(int Index, int Options)
  4324. {
  4325. if (dll == null) return 0;
  4326. else
  4327. return dll.DebenuPDFLibraryFlattenAnnot(instanceID, Index, Options);
  4328. }
  4329. public int FlattenFormField(int Index)
  4330. {
  4331. if (dll == null) return 0;
  4332. else
  4333. return dll.DebenuPDFLibraryFlattenFormField(instanceID, Index);
  4334. }
  4335. public int FontCount()
  4336. {
  4337. if (dll == null) return 0;
  4338. else
  4339. return dll.DebenuPDFLibraryFontCount(instanceID);
  4340. }
  4341. public string FontFamily()
  4342. {
  4343. if (dll == null) return "";
  4344. else
  4345. return SR(dll.DebenuPDFLibraryFontFamily(instanceID));
  4346. }
  4347. public int FontHasKerning()
  4348. {
  4349. if (dll == null) return 0;
  4350. else
  4351. return dll.DebenuPDFLibraryFontHasKerning(instanceID);
  4352. }
  4353. public string FontName()
  4354. {
  4355. if (dll == null) return "";
  4356. else
  4357. return SR(dll.DebenuPDFLibraryFontName(instanceID));
  4358. }
  4359. public string FontReference()
  4360. {
  4361. if (dll == null) return "";
  4362. else
  4363. return SR(dll.DebenuPDFLibraryFontReference(instanceID));
  4364. }
  4365. public int FontSize()
  4366. {
  4367. if (dll == null) return 0;
  4368. else
  4369. return dll.DebenuPDFLibraryFontSize(instanceID);
  4370. }
  4371. public int FontType()
  4372. {
  4373. if (dll == null) return 0;
  4374. else
  4375. return dll.DebenuPDFLibraryFontType(instanceID);
  4376. }
  4377. public int FormFieldCount()
  4378. {
  4379. if (dll == null) return 0;
  4380. else
  4381. return dll.DebenuPDFLibraryFormFieldCount(instanceID);
  4382. }
  4383. public int FormFieldHasParent(int Index)
  4384. {
  4385. if (dll == null) return 0;
  4386. else
  4387. return dll.DebenuPDFLibraryFormFieldHasParent(instanceID, Index);
  4388. }
  4389. public int FormFieldJavaScriptAction(int Index, string ActionType, string JavaScript)
  4390. {
  4391. if (dll == null) return 0;
  4392. else
  4393. return dll.DebenuPDFLibraryFormFieldJavaScriptAction(instanceID, Index, ActionType,
  4394. JavaScript);
  4395. }
  4396. public int FormFieldWebLinkAction(int Index, string ActionType, string Link)
  4397. {
  4398. if (dll == null) return 0;
  4399. else
  4400. return dll.DebenuPDFLibraryFormFieldWebLinkAction(instanceID, Index, ActionType,
  4401. Link);
  4402. }
  4403. public int GetActionDest(int ActionID)
  4404. {
  4405. if (dll == null) return 0;
  4406. else
  4407. return dll.DebenuPDFLibraryGetActionDest(instanceID, ActionID);
  4408. }
  4409. public string GetActionType(int ActionID)
  4410. {
  4411. if (dll == null) return "";
  4412. else
  4413. return SR(dll.DebenuPDFLibraryGetActionType(instanceID, ActionID));
  4414. }
  4415. public string GetActionURL(int ActionID)
  4416. {
  4417. if (dll == null) return "";
  4418. else
  4419. return SR(dll.DebenuPDFLibraryGetActionURL(instanceID, ActionID));
  4420. }
  4421. public string GetAnalysisInfo(int AnalysisID, int AnalysisItem)
  4422. {
  4423. if (dll == null) return "";
  4424. else
  4425. return SR(dll.DebenuPDFLibraryGetAnalysisInfo(instanceID, AnalysisID, AnalysisItem));
  4426. }
  4427. public int GetAnnotActionID(int Index)
  4428. {
  4429. if (dll == null) return 0;
  4430. else
  4431. return dll.DebenuPDFLibraryGetAnnotActionID(instanceID, Index);
  4432. }
  4433. public double GetAnnotDblProperty(int Index, int Tag)
  4434. {
  4435. if (dll == null) return 0;
  4436. else
  4437. return dll.DebenuPDFLibraryGetAnnotDblProperty(instanceID, Index, Tag);
  4438. }
  4439. public int GetAnnotDest(int Index)
  4440. {
  4441. if (dll == null) return 0;
  4442. else
  4443. return dll.DebenuPDFLibraryGetAnnotDest(instanceID, Index);
  4444. }
  4445. public int GetAnnotIntProperty(int Index, int Tag)
  4446. {
  4447. if (dll == null) return 0;
  4448. else
  4449. return dll.DebenuPDFLibraryGetAnnotIntProperty(instanceID, Index, Tag);
  4450. }
  4451. public int GetAnnotQuadCount(int Index)
  4452. {
  4453. if (dll == null) return 0;
  4454. else
  4455. return dll.DebenuPDFLibraryGetAnnotQuadCount(instanceID, Index);
  4456. }
  4457. public double GetAnnotQuadPoints(int Index, int QuadNumber, int PointNumber)
  4458. {
  4459. if (dll == null) return 0;
  4460. else
  4461. return dll.DebenuPDFLibraryGetAnnotQuadPoints(instanceID, Index, QuadNumber,
  4462. PointNumber);
  4463. }
  4464. public int GetAnnotSoundToFile(int Index, int Options, string SoundFileName)
  4465. {
  4466. if (dll == null) return 0;
  4467. else
  4468. return dll.DebenuPDFLibraryGetAnnotSoundToFile(instanceID, Index, Options,
  4469. SoundFileName);
  4470. }
  4471. public byte[] GetAnnotSoundToString(int Index, int Options)
  4472. {
  4473. if (dll == null) return new byte[0];
  4474. else
  4475. {
  4476. IntPtr data = dll.DebenuPDFLibraryGetAnnotSoundToString(instanceID, Index, Options);
  4477. int size = dll.DebenuPDFLibraryAnsiStringResultLength(instanceID);
  4478. byte[] result = new byte[size];
  4479. Marshal.Copy(data, result, 0, size);
  4480. return result;
  4481. }
  4482. }
  4483. public string GetAnnotStrProperty(int Index, int Tag)
  4484. {
  4485. if (dll == null) return "";
  4486. else
  4487. return SR(dll.DebenuPDFLibraryGetAnnotStrProperty(instanceID, Index, Tag));
  4488. }
  4489. public double GetBarcodeWidth(double NominalWidth, string Text, int Barcode)
  4490. {
  4491. if (dll == null) return 0;
  4492. else
  4493. return dll.DebenuPDFLibraryGetBarcodeWidth(instanceID, NominalWidth, Text, Barcode);
  4494. }
  4495. public string GetBaseURL()
  4496. {
  4497. if (dll == null) return "";
  4498. else
  4499. return SR(dll.DebenuPDFLibraryGetBaseURL(instanceID));
  4500. }
  4501. public int GetCSDictEPSG(int CSDictID)
  4502. {
  4503. if (dll == null) return 0;
  4504. else
  4505. return dll.DebenuPDFLibraryGetCSDictEPSG(instanceID, CSDictID);
  4506. }
  4507. public int GetCSDictType(int CSDictID)
  4508. {
  4509. if (dll == null) return 0;
  4510. else
  4511. return dll.DebenuPDFLibraryGetCSDictType(instanceID, CSDictID);
  4512. }
  4513. public string GetCSDictWKT(int CSDictID)
  4514. {
  4515. if (dll == null) return "";
  4516. else
  4517. return SR(dll.DebenuPDFLibraryGetCSDictWKT(instanceID, CSDictID));
  4518. }
  4519. public IntPtr GetCanvasDC(int CanvasWidth, int CanvasHeight)
  4520. {
  4521. if (dll == null) return IntPtr.Zero;
  4522. else
  4523. return dll.DebenuPDFLibraryGetCanvasDC(instanceID, CanvasWidth, CanvasHeight);
  4524. }
  4525. public string GetCatalogInformation(string Key)
  4526. {
  4527. if (dll == null) return "";
  4528. else
  4529. return SR(dll.DebenuPDFLibraryGetCatalogInformation(instanceID, Key));
  4530. }
  4531. public byte[] GetContentStreamToString()
  4532. {
  4533. if (dll == null) return new byte[0];
  4534. else
  4535. {
  4536. IntPtr data = dll.DebenuPDFLibraryGetContentStreamToString(instanceID);
  4537. int size = dll.DebenuPDFLibraryAnsiStringResultLength(instanceID);
  4538. byte[] result = new byte[size];
  4539. Marshal.Copy(data, result, 0, size);
  4540. return result;
  4541. }
  4542. }
  4543. public string GetCustomInformation(string Key)
  4544. {
  4545. if (dll == null) return "";
  4546. else
  4547. return SR(dll.DebenuPDFLibraryGetCustomInformation(instanceID, Key));
  4548. }
  4549. public string GetCustomKeys(int Location)
  4550. {
  4551. if (dll == null) return "";
  4552. else
  4553. return SR(dll.DebenuPDFLibraryGetCustomKeys(instanceID, Location));
  4554. }
  4555. public string GetDefaultPrinterName()
  4556. {
  4557. if (dll == null) return "";
  4558. else
  4559. return SR(dll.DebenuPDFLibraryGetDefaultPrinterName(instanceID));
  4560. }
  4561. public string GetDestName(int DestID)
  4562. {
  4563. if (dll == null) return "";
  4564. else
  4565. return SR(dll.DebenuPDFLibraryGetDestName(instanceID, DestID));
  4566. }
  4567. public int GetDestPage(int DestID)
  4568. {
  4569. if (dll == null) return 0;
  4570. else
  4571. return dll.DebenuPDFLibraryGetDestPage(instanceID, DestID);
  4572. }
  4573. public int GetDestType(int DestID)
  4574. {
  4575. if (dll == null) return 0;
  4576. else
  4577. return dll.DebenuPDFLibraryGetDestType(instanceID, DestID);
  4578. }
  4579. public double GetDestValue(int DestID, int ValueKey)
  4580. {
  4581. if (dll == null) return 0;
  4582. else
  4583. return dll.DebenuPDFLibraryGetDestValue(instanceID, DestID, ValueKey);
  4584. }
  4585. public string GetDocJavaScript(string ActionType)
  4586. {
  4587. if (dll == null) return "";
  4588. else
  4589. return SR(dll.DebenuPDFLibraryGetDocJavaScript(instanceID, ActionType));
  4590. }
  4591. public string GetDocumentFileName()
  4592. {
  4593. if (dll == null) return "";
  4594. else
  4595. return SR(dll.DebenuPDFLibraryGetDocumentFileName(instanceID));
  4596. }
  4597. public int GetDocumentFileSize()
  4598. {
  4599. if (dll == null) return 0;
  4600. else
  4601. return dll.DebenuPDFLibraryGetDocumentFileSize(instanceID);
  4602. }
  4603. public int GetDocumentID(int Index)
  4604. {
  4605. if (dll == null) return 0;
  4606. else
  4607. return dll.DebenuPDFLibraryGetDocumentID(instanceID, Index);
  4608. }
  4609. public string GetDocumentIdentifier(int Part, int Options)
  4610. {
  4611. if (dll == null) return "";
  4612. else
  4613. return SR(dll.DebenuPDFLibraryGetDocumentIdentifier(instanceID, Part, Options));
  4614. }
  4615. public string GetDocumentMetadata()
  4616. {
  4617. if (dll == null) return "";
  4618. else
  4619. return SR(dll.DebenuPDFLibraryGetDocumentMetadata(instanceID));
  4620. }
  4621. public int GetDocumentRepaired()
  4622. {
  4623. if (dll == null) return 0;
  4624. else
  4625. return dll.DebenuPDFLibraryGetDocumentRepaired(instanceID);
  4626. }
  4627. public string GetDocumentResourceList()
  4628. {
  4629. if (dll == null) return "";
  4630. else
  4631. return SR(dll.DebenuPDFLibraryGetDocumentResourceList(instanceID));
  4632. }
  4633. public int GetEmbeddedFileContentToFile(int Index, string FileName)
  4634. {
  4635. if (dll == null) return 0;
  4636. else
  4637. return dll.DebenuPDFLibraryGetEmbeddedFileContentToFile(instanceID, Index, FileName);
  4638. }
  4639. public byte[] GetEmbeddedFileContentToString(int Index)
  4640. {
  4641. if (dll == null) return new byte[0];
  4642. else
  4643. {
  4644. IntPtr data = dll.DebenuPDFLibraryGetEmbeddedFileContentToString(instanceID, Index);
  4645. int size = dll.DebenuPDFLibraryAnsiStringResultLength(instanceID);
  4646. byte[] result = new byte[size];
  4647. Marshal.Copy(data, result, 0, size);
  4648. return result;
  4649. }
  4650. }
  4651. public int GetEmbeddedFileID(int Index)
  4652. {
  4653. if (dll == null) return 0;
  4654. else
  4655. return dll.DebenuPDFLibraryGetEmbeddedFileID(instanceID, Index);
  4656. }
  4657. public int GetEmbeddedFileIntProperty(int Index, int Tag)
  4658. {
  4659. if (dll == null) return 0;
  4660. else
  4661. return dll.DebenuPDFLibraryGetEmbeddedFileIntProperty(instanceID, Index, Tag);
  4662. }
  4663. public string GetEmbeddedFileStrProperty(int Index, int Tag)
  4664. {
  4665. if (dll == null) return "";
  4666. else
  4667. return SR(dll.DebenuPDFLibraryGetEmbeddedFileStrProperty(instanceID, Index, Tag));
  4668. }
  4669. public string GetEncryptionFingerprint()
  4670. {
  4671. if (dll == null) return "";
  4672. else
  4673. return SR(dll.DebenuPDFLibraryGetEncryptionFingerprint(instanceID));
  4674. }
  4675. public string GetFileMetadata(string InputFileName, string Password)
  4676. {
  4677. if (dll == null) return "";
  4678. else
  4679. return SR(dll.DebenuPDFLibraryGetFileMetadata(instanceID, InputFileName, Password));
  4680. }
  4681. public int GetFirstChildOutline(int OutlineID)
  4682. {
  4683. if (dll == null) return 0;
  4684. else
  4685. return dll.DebenuPDFLibraryGetFirstChildOutline(instanceID, OutlineID);
  4686. }
  4687. public int GetFirstOutline()
  4688. {
  4689. if (dll == null) return 0;
  4690. else
  4691. return dll.DebenuPDFLibraryGetFirstOutline(instanceID);
  4692. }
  4693. public int GetFontEncoding()
  4694. {
  4695. if (dll == null) return 0;
  4696. else
  4697. return dll.DebenuPDFLibraryGetFontEncoding(instanceID);
  4698. }
  4699. public int GetFontFlags(int FontFlagItemID)
  4700. {
  4701. if (dll == null) return 0;
  4702. else
  4703. return dll.DebenuPDFLibraryGetFontFlags(instanceID, FontFlagItemID);
  4704. }
  4705. public int GetFontID(int Index)
  4706. {
  4707. if (dll == null) return 0;
  4708. else
  4709. return dll.DebenuPDFLibraryGetFontID(instanceID, Index);
  4710. }
  4711. public int GetFontIsEmbedded()
  4712. {
  4713. if (dll == null) return 0;
  4714. else
  4715. return dll.DebenuPDFLibraryGetFontIsEmbedded(instanceID);
  4716. }
  4717. public int GetFontIsSubsetted()
  4718. {
  4719. if (dll == null) return 0;
  4720. else
  4721. return dll.DebenuPDFLibraryGetFontIsSubsetted(instanceID);
  4722. }
  4723. public int GetFontMetrics(int MetricType)
  4724. {
  4725. if (dll == null) return 0;
  4726. else
  4727. return dll.DebenuPDFLibraryGetFontMetrics(instanceID, MetricType);
  4728. }
  4729. public int GetFontObjectNumber()
  4730. {
  4731. if (dll == null) return 0;
  4732. else
  4733. return dll.DebenuPDFLibraryGetFontObjectNumber(instanceID);
  4734. }
  4735. public int GetFormFieldActionID(int Index, string TriggerEvent)
  4736. {
  4737. if (dll == null) return 0;
  4738. else
  4739. return dll.DebenuPDFLibraryGetFormFieldActionID(instanceID, Index, TriggerEvent);
  4740. }
  4741. public int GetFormFieldAlignment(int Index)
  4742. {
  4743. if (dll == null) return 0;
  4744. else
  4745. return dll.DebenuPDFLibraryGetFormFieldAlignment(instanceID, Index);
  4746. }
  4747. public int GetFormFieldAnnotFlags(int Index)
  4748. {
  4749. if (dll == null) return 0;
  4750. else
  4751. return dll.DebenuPDFLibraryGetFormFieldAnnotFlags(instanceID, Index);
  4752. }
  4753. public double GetFormFieldBackgroundColor(int Index, int ColorComponent)
  4754. {
  4755. if (dll == null) return 0;
  4756. else
  4757. return dll.DebenuPDFLibraryGetFormFieldBackgroundColor(instanceID, Index,
  4758. ColorComponent);
  4759. }
  4760. public int GetFormFieldBackgroundColorType(int Index)
  4761. {
  4762. if (dll == null) return 0;
  4763. else
  4764. return dll.DebenuPDFLibraryGetFormFieldBackgroundColorType(instanceID, Index);
  4765. }
  4766. public double GetFormFieldBorderColor(int Index, int ColorComponent)
  4767. {
  4768. if (dll == null) return 0;
  4769. else
  4770. return dll.DebenuPDFLibraryGetFormFieldBorderColor(instanceID, Index, ColorComponent);
  4771. }
  4772. public int GetFormFieldBorderColorType(int Index)
  4773. {
  4774. if (dll == null) return 0;
  4775. else
  4776. return dll.DebenuPDFLibraryGetFormFieldBorderColorType(instanceID, Index);
  4777. }
  4778. public double GetFormFieldBorderProperty(int Index, int PropKey)
  4779. {
  4780. if (dll == null) return 0;
  4781. else
  4782. return dll.DebenuPDFLibraryGetFormFieldBorderProperty(instanceID, Index, PropKey);
  4783. }
  4784. public int GetFormFieldBorderStyle(int Index)
  4785. {
  4786. if (dll == null) return 0;
  4787. else
  4788. return dll.DebenuPDFLibraryGetFormFieldBorderStyle(instanceID, Index);
  4789. }
  4790. public double GetFormFieldBound(int Index, int Edge)
  4791. {
  4792. if (dll == null) return 0;
  4793. else
  4794. return dll.DebenuPDFLibraryGetFormFieldBound(instanceID, Index, Edge);
  4795. }
  4796. public string GetFormFieldCaption(int Index)
  4797. {
  4798. if (dll == null) return "";
  4799. else
  4800. return SR(dll.DebenuPDFLibraryGetFormFieldCaption(instanceID, Index));
  4801. }
  4802. public int GetFormFieldCheckStyle(int Index)
  4803. {
  4804. if (dll == null) return 0;
  4805. else
  4806. return dll.DebenuPDFLibraryGetFormFieldCheckStyle(instanceID, Index);
  4807. }
  4808. public string GetFormFieldChildTitle(int Index)
  4809. {
  4810. if (dll == null) return "";
  4811. else
  4812. return SR(dll.DebenuPDFLibraryGetFormFieldChildTitle(instanceID, Index));
  4813. }
  4814. public int GetFormFieldChoiceType(int Index)
  4815. {
  4816. if (dll == null) return 0;
  4817. else
  4818. return dll.DebenuPDFLibraryGetFormFieldChoiceType(instanceID, Index);
  4819. }
  4820. public double GetFormFieldColor(int Index, int ColorComponent)
  4821. {
  4822. if (dll == null) return 0;
  4823. else
  4824. return dll.DebenuPDFLibraryGetFormFieldColor(instanceID, Index, ColorComponent);
  4825. }
  4826. public int GetFormFieldComb(int Index)
  4827. {
  4828. if (dll == null) return 0;
  4829. else
  4830. return dll.DebenuPDFLibraryGetFormFieldComb(instanceID, Index);
  4831. }
  4832. public string GetFormFieldDefaultValue(int Index)
  4833. {
  4834. if (dll == null) return "";
  4835. else
  4836. return SR(dll.DebenuPDFLibraryGetFormFieldDefaultValue(instanceID, Index));
  4837. }
  4838. public string GetFormFieldDescription(int Index)
  4839. {
  4840. if (dll == null) return "";
  4841. else
  4842. return SR(dll.DebenuPDFLibraryGetFormFieldDescription(instanceID, Index));
  4843. }
  4844. public int GetFormFieldFlags(int Index)
  4845. {
  4846. if (dll == null) return 0;
  4847. else
  4848. return dll.DebenuPDFLibraryGetFormFieldFlags(instanceID, Index);
  4849. }
  4850. public string GetFormFieldFontName(int Index)
  4851. {
  4852. if (dll == null) return "";
  4853. else
  4854. return SR(dll.DebenuPDFLibraryGetFormFieldFontName(instanceID, Index));
  4855. }
  4856. public string GetFormFieldJavaScript(int Index, string ActionType)
  4857. {
  4858. if (dll == null) return "";
  4859. else
  4860. return SR(dll.DebenuPDFLibraryGetFormFieldJavaScript(instanceID, Index, ActionType));
  4861. }
  4862. public int GetFormFieldKidCount(int Index)
  4863. {
  4864. if (dll == null) return 0;
  4865. else
  4866. return dll.DebenuPDFLibraryGetFormFieldKidCount(instanceID, Index);
  4867. }
  4868. public int GetFormFieldKidTempIndex(int Index, int SubIndex)
  4869. {
  4870. if (dll == null) return 0;
  4871. else
  4872. return dll.DebenuPDFLibraryGetFormFieldKidTempIndex(instanceID, Index, SubIndex);
  4873. }
  4874. public int GetFormFieldMaxLen(int Index)
  4875. {
  4876. if (dll == null) return 0;
  4877. else
  4878. return dll.DebenuPDFLibraryGetFormFieldMaxLen(instanceID, Index);
  4879. }
  4880. public int GetFormFieldNoExport(int Index)
  4881. {
  4882. if (dll == null) return 0;
  4883. else
  4884. return dll.DebenuPDFLibraryGetFormFieldNoExport(instanceID, Index);
  4885. }
  4886. public int GetFormFieldPage(int Index)
  4887. {
  4888. if (dll == null) return 0;
  4889. else
  4890. return dll.DebenuPDFLibraryGetFormFieldPage(instanceID, Index);
  4891. }
  4892. public int GetFormFieldPrintable(int Index)
  4893. {
  4894. if (dll == null) return 0;
  4895. else
  4896. return dll.DebenuPDFLibraryGetFormFieldPrintable(instanceID, Index);
  4897. }
  4898. public int GetFormFieldReadOnly(int Index)
  4899. {
  4900. if (dll == null) return 0;
  4901. else
  4902. return dll.DebenuPDFLibraryGetFormFieldReadOnly(instanceID, Index);
  4903. }
  4904. public int GetFormFieldRequired(int Index)
  4905. {
  4906. if (dll == null) return 0;
  4907. else
  4908. return dll.DebenuPDFLibraryGetFormFieldRequired(instanceID, Index);
  4909. }
  4910. public string GetFormFieldRichTextString(int Index, string Key)
  4911. {
  4912. if (dll == null) return "";
  4913. else
  4914. return SR(dll.DebenuPDFLibraryGetFormFieldRichTextString(instanceID, Index, Key));
  4915. }
  4916. public int GetFormFieldRotation(int Index)
  4917. {
  4918. if (dll == null) return 0;
  4919. else
  4920. return dll.DebenuPDFLibraryGetFormFieldRotation(instanceID, Index);
  4921. }
  4922. public int GetFormFieldSubCount(int Index)
  4923. {
  4924. if (dll == null) return 0;
  4925. else
  4926. return dll.DebenuPDFLibraryGetFormFieldSubCount(instanceID, Index);
  4927. }
  4928. public string GetFormFieldSubDisplayName(int Index, int SubIndex)
  4929. {
  4930. if (dll == null) return "";
  4931. else
  4932. return SR(dll.DebenuPDFLibraryGetFormFieldSubDisplayName(instanceID, Index, SubIndex));
  4933. }
  4934. public string GetFormFieldSubName(int Index, int SubIndex)
  4935. {
  4936. if (dll == null) return "";
  4937. else
  4938. return SR(dll.DebenuPDFLibraryGetFormFieldSubName(instanceID, Index, SubIndex));
  4939. }
  4940. public int GetFormFieldTabOrder(int Index)
  4941. {
  4942. if (dll == null) return 0;
  4943. else
  4944. return dll.DebenuPDFLibraryGetFormFieldTabOrder(instanceID, Index);
  4945. }
  4946. public int GetFormFieldTabOrderEx(int Index, int Options)
  4947. {
  4948. if (dll == null) return 0;
  4949. else
  4950. return dll.DebenuPDFLibraryGetFormFieldTabOrderEx(instanceID, Index, Options);
  4951. }
  4952. public int GetFormFieldTextFlags(int Index, int ValueKey)
  4953. {
  4954. if (dll == null) return 0;
  4955. else
  4956. return dll.DebenuPDFLibraryGetFormFieldTextFlags(instanceID, Index, ValueKey);
  4957. }
  4958. public double GetFormFieldTextSize(int Index)
  4959. {
  4960. if (dll == null) return 0;
  4961. else
  4962. return dll.DebenuPDFLibraryGetFormFieldTextSize(instanceID, Index);
  4963. }
  4964. public string GetFormFieldTitle(int Index)
  4965. {
  4966. if (dll == null) return "";
  4967. else
  4968. return SR(dll.DebenuPDFLibraryGetFormFieldTitle(instanceID, Index));
  4969. }
  4970. public int GetFormFieldType(int Index)
  4971. {
  4972. if (dll == null) return 0;
  4973. else
  4974. return dll.DebenuPDFLibraryGetFormFieldType(instanceID, Index);
  4975. }
  4976. public string GetFormFieldValue(int Index)
  4977. {
  4978. if (dll == null) return "";
  4979. else
  4980. return SR(dll.DebenuPDFLibraryGetFormFieldValue(instanceID, Index));
  4981. }
  4982. public string GetFormFieldValueByTitle(string Title)
  4983. {
  4984. if (dll == null) return "";
  4985. else
  4986. return SR(dll.DebenuPDFLibraryGetFormFieldValueByTitle(instanceID, Title));
  4987. }
  4988. public int GetFormFieldVisible(int Index)
  4989. {
  4990. if (dll == null) return 0;
  4991. else
  4992. return dll.DebenuPDFLibraryGetFormFieldVisible(instanceID, Index);
  4993. }
  4994. public string GetFormFieldWebLink(int Index, string ActionType)
  4995. {
  4996. if (dll == null) return "";
  4997. else
  4998. return SR(dll.DebenuPDFLibraryGetFormFieldWebLink(instanceID, Index, ActionType));
  4999. }
  5000. public int GetFormFontCount()
  5001. {
  5002. if (dll == null) return 0;
  5003. else
  5004. return dll.DebenuPDFLibraryGetFormFontCount(instanceID);
  5005. }
  5006. public string GetFormFontName(int FontIndex)
  5007. {
  5008. if (dll == null) return "";
  5009. else
  5010. return SR(dll.DebenuPDFLibraryGetFormFontName(instanceID, FontIndex));
  5011. }
  5012. public string GetGlobalJavaScript(string PackageName)
  5013. {
  5014. if (dll == null) return "";
  5015. else
  5016. return SR(dll.DebenuPDFLibraryGetGlobalJavaScript(instanceID, PackageName));
  5017. }
  5018. public double GetHTMLTextHeight(double Width, string HTMLText)
  5019. {
  5020. if (dll == null) return 0;
  5021. else
  5022. return dll.DebenuPDFLibraryGetHTMLTextHeight(instanceID, Width, HTMLText);
  5023. }
  5024. public int GetHTMLTextLineCount(double Width, string HTMLText)
  5025. {
  5026. if (dll == null) return 0;
  5027. else
  5028. return dll.DebenuPDFLibraryGetHTMLTextLineCount(instanceID, Width, HTMLText);
  5029. }
  5030. public double GetHTMLTextWidth(double MaxWidth, string HTMLText)
  5031. {
  5032. if (dll == null) return 0;
  5033. else
  5034. return dll.DebenuPDFLibraryGetHTMLTextWidth(instanceID, MaxWidth, HTMLText);
  5035. }
  5036. public int GetImageID(int Index)
  5037. {
  5038. if (dll == null) return 0;
  5039. else
  5040. return dll.DebenuPDFLibraryGetImageID(instanceID, Index);
  5041. }
  5042. public int GetImageListCount(int ImageListID)
  5043. {
  5044. if (dll == null) return 0;
  5045. else
  5046. return dll.DebenuPDFLibraryGetImageListCount(instanceID, ImageListID);
  5047. }
  5048. public byte[] GetImageListItemDataToString(int ImageListID, int ImageIndex, int Options)
  5049. {
  5050. if (dll == null) return new byte[0];
  5051. else
  5052. {
  5053. IntPtr data = dll.DebenuPDFLibraryGetImageListItemDataToString(instanceID,
  5054. ImageListID, ImageIndex, Options);
  5055. int size = dll.DebenuPDFLibraryAnsiStringResultLength(instanceID);
  5056. byte[] result = new byte[size];
  5057. Marshal.Copy(data, result, 0, size);
  5058. return result;
  5059. }
  5060. }
  5061. public double GetImageListItemDblProperty(int ImageListID, int ImageIndex, int PropertyID)
  5062. {
  5063. if (dll == null) return 0;
  5064. else
  5065. return dll.DebenuPDFLibraryGetImageListItemDblProperty(instanceID, ImageListID,
  5066. ImageIndex, PropertyID);
  5067. }
  5068. public int GetImageListItemIntProperty(int ImageListID, int ImageIndex, int PropertyID)
  5069. {
  5070. if (dll == null) return 0;
  5071. else
  5072. return dll.DebenuPDFLibraryGetImageListItemIntProperty(instanceID, ImageListID,
  5073. ImageIndex, PropertyID);
  5074. }
  5075. public int GetImageMeasureDict()
  5076. {
  5077. if (dll == null) return 0;
  5078. else
  5079. return dll.DebenuPDFLibraryGetImageMeasureDict(instanceID);
  5080. }
  5081. public int GetImagePageCount(string FileName)
  5082. {
  5083. if (dll == null) return 0;
  5084. else
  5085. return dll.DebenuPDFLibraryGetImagePageCount(instanceID, FileName);
  5086. }
  5087. public int GetImagePageCountFromString(byte[] Source)
  5088. {
  5089. if (dll == null) return 0;
  5090. else
  5091. {
  5092. GCHandle gch = GCHandle.Alloc(Source, GCHandleType.Pinned);
  5093. IntPtr bufferID = dll.DebenuPDFLibraryCreateBuffer(instanceID, Source.Length);
  5094. dll.DebenuPDFLibraryAddToBuffer(instanceID, bufferID, gch.AddrOfPinnedObject(), Source.Length);
  5095. int result = dll.DebenuPDFLibraryGetImagePageCountFromString(instanceID, bufferID);
  5096. dll.DebenuPDFLibraryReleaseBuffer(instanceID, bufferID);
  5097. gch.Free();
  5098. return result;
  5099. }
  5100. }
  5101. public int GetImagePtDataDict()
  5102. {
  5103. if (dll == null) return 0;
  5104. else
  5105. return dll.DebenuPDFLibraryGetImagePtDataDict(instanceID);
  5106. }
  5107. public string GetInformation(int Key)
  5108. {
  5109. if (dll == null) return "";
  5110. else
  5111. return SR(dll.DebenuPDFLibraryGetInformation(instanceID, Key));
  5112. }
  5113. public string GetInstalledFontsByCharset(int CharsetIndex, int Options)
  5114. {
  5115. if (dll == null) return "";
  5116. else
  5117. return SR(dll.DebenuPDFLibraryGetInstalledFontsByCharset(instanceID, CharsetIndex,
  5118. Options));
  5119. }
  5120. public string GetInstalledFontsByCodePage(int CodePage, int Options)
  5121. {
  5122. if (dll == null) return "";
  5123. else
  5124. return SR(dll.DebenuPDFLibraryGetInstalledFontsByCodePage(instanceID, CodePage,
  5125. Options));
  5126. }
  5127. public int GetKerning(string CharPair)
  5128. {
  5129. if (dll == null) return 0;
  5130. else
  5131. return dll.DebenuPDFLibraryGetKerning(instanceID, CharPair);
  5132. }
  5133. public string GetLatestPrinterNames()
  5134. {
  5135. if (dll == null) return "";
  5136. else
  5137. return SR(dll.DebenuPDFLibraryGetLatestPrinterNames(instanceID));
  5138. }
  5139. public int GetMaxObjectNumber()
  5140. {
  5141. if (dll == null) return 0;
  5142. else
  5143. return dll.DebenuPDFLibraryGetMaxObjectNumber(instanceID);
  5144. }
  5145. public int GetMeasureDictBoundsCount(int MeasureDictID)
  5146. {
  5147. if (dll == null) return 0;
  5148. else
  5149. return dll.DebenuPDFLibraryGetMeasureDictBoundsCount(instanceID, MeasureDictID);
  5150. }
  5151. public double GetMeasureDictBoundsItem(int MeasureDictID, int ItemIndex)
  5152. {
  5153. if (dll == null) return 0;
  5154. else
  5155. return dll.DebenuPDFLibraryGetMeasureDictBoundsItem(instanceID, MeasureDictID,
  5156. ItemIndex);
  5157. }
  5158. public int GetMeasureDictCoordinateSystem(int MeasureDictID)
  5159. {
  5160. if (dll == null) return 0;
  5161. else
  5162. return dll.DebenuPDFLibraryGetMeasureDictCoordinateSystem(instanceID, MeasureDictID);
  5163. }
  5164. public int GetMeasureDictDCSDict(int MeasureDictID)
  5165. {
  5166. if (dll == null) return 0;
  5167. else
  5168. return dll.DebenuPDFLibraryGetMeasureDictDCSDict(instanceID, MeasureDictID);
  5169. }
  5170. public int GetMeasureDictGCSDict(int MeasureDictID)
  5171. {
  5172. if (dll == null) return 0;
  5173. else
  5174. return dll.DebenuPDFLibraryGetMeasureDictGCSDict(instanceID, MeasureDictID);
  5175. }
  5176. public int GetMeasureDictGPTSCount(int MeasureDictID)
  5177. {
  5178. if (dll == null) return 0;
  5179. else
  5180. return dll.DebenuPDFLibraryGetMeasureDictGPTSCount(instanceID, MeasureDictID);
  5181. }
  5182. public double GetMeasureDictGPTSItem(int MeasureDictID, int ItemIndex)
  5183. {
  5184. if (dll == null) return 0;
  5185. else
  5186. return dll.DebenuPDFLibraryGetMeasureDictGPTSItem(instanceID, MeasureDictID,
  5187. ItemIndex);
  5188. }
  5189. public int GetMeasureDictLPTSCount(int MeasureDictID)
  5190. {
  5191. if (dll == null) return 0;
  5192. else
  5193. return dll.DebenuPDFLibraryGetMeasureDictLPTSCount(instanceID, MeasureDictID);
  5194. }
  5195. public double GetMeasureDictLPTSItem(int MeasureDictID, int ItemIndex)
  5196. {
  5197. if (dll == null) return 0;
  5198. else
  5199. return dll.DebenuPDFLibraryGetMeasureDictLPTSItem(instanceID, MeasureDictID,
  5200. ItemIndex);
  5201. }
  5202. public int GetMeasureDictPDU(int MeasureDictID, int UnitIndex)
  5203. {
  5204. if (dll == null) return 0;
  5205. else
  5206. return dll.DebenuPDFLibraryGetMeasureDictPDU(instanceID, MeasureDictID, UnitIndex);
  5207. }
  5208. public int GetNamedDestination(string DestName)
  5209. {
  5210. if (dll == null) return 0;
  5211. else
  5212. return dll.DebenuPDFLibraryGetNamedDestination(instanceID, DestName);
  5213. }
  5214. public int GetNextOutline(int OutlineID)
  5215. {
  5216. if (dll == null) return 0;
  5217. else
  5218. return dll.DebenuPDFLibraryGetNextOutline(instanceID, OutlineID);
  5219. }
  5220. public int GetObjectCount()
  5221. {
  5222. if (dll == null) return 0;
  5223. else
  5224. return dll.DebenuPDFLibraryGetObjectCount(instanceID);
  5225. }
  5226. public int GetObjectDecodeError(int ObjectNumber)
  5227. {
  5228. if (dll == null) return 0;
  5229. else
  5230. return dll.DebenuPDFLibraryGetObjectDecodeError(instanceID, ObjectNumber);
  5231. }
  5232. public byte[] GetObjectToString(int ObjectNumber)
  5233. {
  5234. if (dll == null) return new byte[0];
  5235. else
  5236. {
  5237. IntPtr data = dll.DebenuPDFLibraryGetObjectToString(instanceID, ObjectNumber);
  5238. int size = dll.DebenuPDFLibraryAnsiStringResultLength(instanceID);
  5239. byte[] result = new byte[size];
  5240. Marshal.Copy(data, result, 0, size);
  5241. return result;
  5242. }
  5243. }
  5244. public int GetOpenActionDestination()
  5245. {
  5246. if (dll == null) return 0;
  5247. else
  5248. return dll.DebenuPDFLibraryGetOpenActionDestination(instanceID);
  5249. }
  5250. public string GetOpenActionJavaScript()
  5251. {
  5252. if (dll == null) return "";
  5253. else
  5254. return SR(dll.DebenuPDFLibraryGetOpenActionJavaScript(instanceID));
  5255. }
  5256. public int GetOptionalContentConfigCount()
  5257. {
  5258. if (dll == null) return 0;
  5259. else
  5260. return dll.DebenuPDFLibraryGetOptionalContentConfigCount(instanceID);
  5261. }
  5262. public int GetOptionalContentConfigLocked(int OptionalContentConfigID,
  5263. int OptionalContentGroupID)
  5264. {
  5265. if (dll == null) return 0;
  5266. else
  5267. return dll.DebenuPDFLibraryGetOptionalContentConfigLocked(instanceID,
  5268. OptionalContentConfigID, OptionalContentGroupID);
  5269. }
  5270. public int GetOptionalContentConfigOrderCount(int OptionalContentConfigID)
  5271. {
  5272. if (dll == null) return 0;
  5273. else
  5274. return dll.DebenuPDFLibraryGetOptionalContentConfigOrderCount(instanceID,
  5275. OptionalContentConfigID);
  5276. }
  5277. public int GetOptionalContentConfigOrderItemID(int OptionalContentConfigID, int ItemIndex)
  5278. {
  5279. if (dll == null) return 0;
  5280. else
  5281. return dll.DebenuPDFLibraryGetOptionalContentConfigOrderItemID(instanceID,
  5282. OptionalContentConfigID, ItemIndex);
  5283. }
  5284. public string GetOptionalContentConfigOrderItemLabel(int OptionalContentConfigID,
  5285. int ItemIndex)
  5286. {
  5287. if (dll == null) return "";
  5288. else
  5289. return SR(dll.DebenuPDFLibraryGetOptionalContentConfigOrderItemLabel(instanceID,
  5290. OptionalContentConfigID, ItemIndex));
  5291. }
  5292. public int GetOptionalContentConfigOrderItemLevel(int OptionalContentConfigID, int ItemIndex)
  5293. {
  5294. if (dll == null) return 0;
  5295. else
  5296. return dll.DebenuPDFLibraryGetOptionalContentConfigOrderItemLevel(instanceID,
  5297. OptionalContentConfigID, ItemIndex);
  5298. }
  5299. public int GetOptionalContentConfigOrderItemType(int OptionalContentConfigID, int ItemIndex)
  5300. {
  5301. if (dll == null) return 0;
  5302. else
  5303. return dll.DebenuPDFLibraryGetOptionalContentConfigOrderItemType(instanceID,
  5304. OptionalContentConfigID, ItemIndex);
  5305. }
  5306. public int GetOptionalContentConfigState(int OptionalContentConfigID,
  5307. int OptionalContentGroupID)
  5308. {
  5309. if (dll == null) return 0;
  5310. else
  5311. return dll.DebenuPDFLibraryGetOptionalContentConfigState(instanceID,
  5312. OptionalContentConfigID, OptionalContentGroupID);
  5313. }
  5314. public int GetOptionalContentGroupID(int Index)
  5315. {
  5316. if (dll == null) return 0;
  5317. else
  5318. return dll.DebenuPDFLibraryGetOptionalContentGroupID(instanceID, Index);
  5319. }
  5320. public string GetOptionalContentGroupName(int OptionalContentGroupID)
  5321. {
  5322. if (dll == null) return "";
  5323. else
  5324. return SR(dll.DebenuPDFLibraryGetOptionalContentGroupName(instanceID,
  5325. OptionalContentGroupID));
  5326. }
  5327. public int GetOptionalContentGroupPrintable(int OptionalContentGroupID)
  5328. {
  5329. if (dll == null) return 0;
  5330. else
  5331. return dll.DebenuPDFLibraryGetOptionalContentGroupPrintable(instanceID,
  5332. OptionalContentGroupID);
  5333. }
  5334. public int GetOptionalContentGroupVisible(int OptionalContentGroupID)
  5335. {
  5336. if (dll == null) return 0;
  5337. else
  5338. return dll.DebenuPDFLibraryGetOptionalContentGroupVisible(instanceID,
  5339. OptionalContentGroupID);
  5340. }
  5341. public int GetOrigin()
  5342. {
  5343. if (dll == null) return 0;
  5344. else
  5345. return dll.DebenuPDFLibraryGetOrigin(instanceID);
  5346. }
  5347. public int GetOutlineActionID(int OutlineID)
  5348. {
  5349. if (dll == null) return 0;
  5350. else
  5351. return dll.DebenuPDFLibraryGetOutlineActionID(instanceID, OutlineID);
  5352. }
  5353. public double GetOutlineColor(int OutlineID, int ColorComponent)
  5354. {
  5355. if (dll == null) return 0;
  5356. else
  5357. return dll.DebenuPDFLibraryGetOutlineColor(instanceID, OutlineID, ColorComponent);
  5358. }
  5359. public int GetOutlineDest(int OutlineID)
  5360. {
  5361. if (dll == null) return 0;
  5362. else
  5363. return dll.DebenuPDFLibraryGetOutlineDest(instanceID, OutlineID);
  5364. }
  5365. public int GetOutlineID(int Index)
  5366. {
  5367. if (dll == null) return 0;
  5368. else
  5369. return dll.DebenuPDFLibraryGetOutlineID(instanceID, Index);
  5370. }
  5371. public string GetOutlineJavaScript(int OutlineID)
  5372. {
  5373. if (dll == null) return "";
  5374. else
  5375. return SR(dll.DebenuPDFLibraryGetOutlineJavaScript(instanceID, OutlineID));
  5376. }
  5377. public int GetOutlineObjectNumber(int OutlineID)
  5378. {
  5379. if (dll == null) return 0;
  5380. else
  5381. return dll.DebenuPDFLibraryGetOutlineObjectNumber(instanceID, OutlineID);
  5382. }
  5383. public string GetOutlineOpenFile(int OutlineID)
  5384. {
  5385. if (dll == null) return "";
  5386. else
  5387. return SR(dll.DebenuPDFLibraryGetOutlineOpenFile(instanceID, OutlineID));
  5388. }
  5389. public int GetOutlinePage(int OutlineID)
  5390. {
  5391. if (dll == null) return 0;
  5392. else
  5393. return dll.DebenuPDFLibraryGetOutlinePage(instanceID, OutlineID);
  5394. }
  5395. public int GetOutlineStyle(int OutlineID)
  5396. {
  5397. if (dll == null) return 0;
  5398. else
  5399. return dll.DebenuPDFLibraryGetOutlineStyle(instanceID, OutlineID);
  5400. }
  5401. public string GetOutlineWebLink(int OutlineID)
  5402. {
  5403. if (dll == null) return "";
  5404. else
  5405. return SR(dll.DebenuPDFLibraryGetOutlineWebLink(instanceID, OutlineID));
  5406. }
  5407. public double GetPageBox(int BoxType, int Dimension)
  5408. {
  5409. if (dll == null) return 0;
  5410. else
  5411. return dll.DebenuPDFLibraryGetPageBox(instanceID, BoxType, Dimension);
  5412. }
  5413. public string GetPageColorSpaces(int Options)
  5414. {
  5415. if (dll == null) return "";
  5416. else
  5417. return SR(dll.DebenuPDFLibraryGetPageColorSpaces(instanceID, Options));
  5418. }
  5419. public byte[] GetPageContentToString()
  5420. {
  5421. if (dll == null) return new byte[0];
  5422. else
  5423. {
  5424. IntPtr data = dll.DebenuPDFLibraryGetPageContentToString(instanceID);
  5425. int size = dll.DebenuPDFLibraryAnsiStringResultLength(instanceID);
  5426. byte[] result = new byte[size];
  5427. Marshal.Copy(data, result, 0, size);
  5428. return result;
  5429. }
  5430. }
  5431. public int GetPageImageList(int Options)
  5432. {
  5433. if (dll == null) return 0;
  5434. else
  5435. return dll.DebenuPDFLibraryGetPageImageList(instanceID, Options);
  5436. }
  5437. public string GetPageJavaScript(string ActionType)
  5438. {
  5439. if (dll == null) return "";
  5440. else
  5441. return SR(dll.DebenuPDFLibraryGetPageJavaScript(instanceID, ActionType));
  5442. }
  5443. public string GetPageLGIDictContent(int DictIndex)
  5444. {
  5445. if (dll == null) return "";
  5446. else
  5447. return SR(dll.DebenuPDFLibraryGetPageLGIDictContent(instanceID, DictIndex));
  5448. }
  5449. public int GetPageLGIDictCount()
  5450. {
  5451. if (dll == null) return 0;
  5452. else
  5453. return dll.DebenuPDFLibraryGetPageLGIDictCount(instanceID);
  5454. }
  5455. public string GetPageLabel(int Page)
  5456. {
  5457. if (dll == null) return "";
  5458. else
  5459. return SR(dll.DebenuPDFLibraryGetPageLabel(instanceID, Page));
  5460. }
  5461. public int GetPageLayout()
  5462. {
  5463. if (dll == null) return 0;
  5464. else
  5465. return dll.DebenuPDFLibraryGetPageLayout(instanceID);
  5466. }
  5467. public byte[] GetPageMetricsToString(int StartPage, int EndPage, int Options)
  5468. {
  5469. if (dll == null) return new byte[0];
  5470. else
  5471. {
  5472. IntPtr data = dll.DebenuPDFLibraryGetPageMetricsToString(instanceID, StartPage,
  5473. EndPage, Options);
  5474. int size = dll.DebenuPDFLibraryAnsiStringResultLength(instanceID);
  5475. byte[] result = new byte[size];
  5476. Marshal.Copy(data, result, 0, size);
  5477. return result;
  5478. }
  5479. }
  5480. public int GetPageMode()
  5481. {
  5482. if (dll == null) return 0;
  5483. else
  5484. return dll.DebenuPDFLibraryGetPageMode(instanceID);
  5485. }
  5486. public string GetPageText(int ExtractOptions)
  5487. {
  5488. if (dll == null) return "";
  5489. else
  5490. return SR(dll.DebenuPDFLibraryGetPageText(instanceID, ExtractOptions));
  5491. }
  5492. public int GetPageViewPortCount()
  5493. {
  5494. if (dll == null) return 0;
  5495. else
  5496. return dll.DebenuPDFLibraryGetPageViewPortCount(instanceID);
  5497. }
  5498. public int GetPageViewPortID(int Index)
  5499. {
  5500. if (dll == null) return 0;
  5501. else
  5502. return dll.DebenuPDFLibraryGetPageViewPortID(instanceID, Index);
  5503. }
  5504. public int GetParentOutline(int OutlineID)
  5505. {
  5506. if (dll == null) return 0;
  5507. else
  5508. return dll.DebenuPDFLibraryGetParentOutline(instanceID, OutlineID);
  5509. }
  5510. public int GetPrevOutline(int OutlineID)
  5511. {
  5512. if (dll == null) return 0;
  5513. else
  5514. return dll.DebenuPDFLibraryGetPrevOutline(instanceID, OutlineID);
  5515. }
  5516. public byte[] GetPrintPreviewBitmapToString(string PrinterName, int PreviewPage,
  5517. int PrintOptions, int MaxDimension, int PreviewOptions)
  5518. {
  5519. if (dll == null) return new byte[0];
  5520. else
  5521. {
  5522. IntPtr data = dll.DebenuPDFLibraryGetPrintPreviewBitmapToString(instanceID,
  5523. PrinterName, PreviewPage, PrintOptions, MaxDimension, PreviewOptions);
  5524. int size = dll.DebenuPDFLibraryAnsiStringResultLength(instanceID);
  5525. byte[] result = new byte[size];
  5526. Marshal.Copy(data, result, 0, size);
  5527. return result;
  5528. }
  5529. }
  5530. public string GetPrinterBins(string PrinterName)
  5531. {
  5532. if (dll == null) return "";
  5533. else
  5534. return SR(dll.DebenuPDFLibraryGetPrinterBins(instanceID, PrinterName));
  5535. }
  5536. public byte[] GetPrinterDevModeToString(string PrinterName)
  5537. {
  5538. if (dll == null) return new byte[0];
  5539. else
  5540. {
  5541. IntPtr data = dll.DebenuPDFLibraryGetPrinterDevModeToString(instanceID, PrinterName);
  5542. int size = dll.DebenuPDFLibraryAnsiStringResultLength(instanceID);
  5543. byte[] result = new byte[size];
  5544. Marshal.Copy(data, result, 0, size);
  5545. return result;
  5546. }
  5547. }
  5548. public string GetPrinterMediaTypes(string PrinterName)
  5549. {
  5550. if (dll == null) return "";
  5551. else
  5552. return SR(dll.DebenuPDFLibraryGetPrinterMediaTypes(instanceID, PrinterName));
  5553. }
  5554. public string GetPrinterNames()
  5555. {
  5556. if (dll == null) return "";
  5557. else
  5558. return SR(dll.DebenuPDFLibraryGetPrinterNames(instanceID));
  5559. }
  5560. public double GetRenderScale()
  5561. {
  5562. if (dll == null) return 0;
  5563. else
  5564. return dll.DebenuPDFLibraryGetRenderScale(instanceID);
  5565. }
  5566. public int GetSignProcessByteRange(int SignProcessID, int ArrayPosition)
  5567. {
  5568. if (dll == null) return 0;
  5569. else
  5570. return dll.DebenuPDFLibraryGetSignProcessByteRange(instanceID, SignProcessID,
  5571. ArrayPosition);
  5572. }
  5573. public int GetSignProcessResult(int SignProcessID)
  5574. {
  5575. if (dll == null) return 0;
  5576. else
  5577. return dll.DebenuPDFLibraryGetSignProcessResult(instanceID, SignProcessID);
  5578. }
  5579. public int GetStringListCount(int StringListID)
  5580. {
  5581. if (dll == null) return 0;
  5582. else
  5583. return dll.DebenuPDFLibraryGetStringListCount(instanceID, StringListID);
  5584. }
  5585. public string GetStringListItem(int StringListID, int ItemIndex)
  5586. {
  5587. if (dll == null) return "";
  5588. else
  5589. return SR(dll.DebenuPDFLibraryGetStringListItem(instanceID, StringListID, ItemIndex));
  5590. }
  5591. public string GetTabOrderMode()
  5592. {
  5593. if (dll == null) return "";
  5594. else
  5595. return SR(dll.DebenuPDFLibraryGetTabOrderMode(instanceID));
  5596. }
  5597. public double GetTableCellDblProperty(int TableID, int RowNumber, int ColumnNumber, int Tag)
  5598. {
  5599. if (dll == null) return 0;
  5600. else
  5601. return dll.DebenuPDFLibraryGetTableCellDblProperty(instanceID, TableID, RowNumber,
  5602. ColumnNumber, Tag);
  5603. }
  5604. public int GetTableCellIntProperty(int TableID, int RowNumber, int ColumnNumber, int Tag)
  5605. {
  5606. if (dll == null) return 0;
  5607. else
  5608. return dll.DebenuPDFLibraryGetTableCellIntProperty(instanceID, TableID, RowNumber,
  5609. ColumnNumber, Tag);
  5610. }
  5611. public string GetTableCellStrProperty(int TableID, int RowNumber, int ColumnNumber, int Tag)
  5612. {
  5613. if (dll == null) return "";
  5614. else
  5615. return SR(dll.DebenuPDFLibraryGetTableCellStrProperty(instanceID, TableID, RowNumber,
  5616. ColumnNumber, Tag));
  5617. }
  5618. public int GetTableColumnCount(int TableID)
  5619. {
  5620. if (dll == null) return 0;
  5621. else
  5622. return dll.DebenuPDFLibraryGetTableColumnCount(instanceID, TableID);
  5623. }
  5624. public int GetTableLastDrawnRow(int TableID)
  5625. {
  5626. if (dll == null) return 0;
  5627. else
  5628. return dll.DebenuPDFLibraryGetTableLastDrawnRow(instanceID, TableID);
  5629. }
  5630. public int GetTableRowCount(int TableID)
  5631. {
  5632. if (dll == null) return 0;
  5633. else
  5634. return dll.DebenuPDFLibraryGetTableRowCount(instanceID, TableID);
  5635. }
  5636. public string GetTempPath()
  5637. {
  5638. if (dll == null) return "";
  5639. else
  5640. return SR(dll.DebenuPDFLibraryGetTempPath(instanceID));
  5641. }
  5642. public double GetTextAscent()
  5643. {
  5644. if (dll == null) return 0;
  5645. else
  5646. return dll.DebenuPDFLibraryGetTextAscent(instanceID);
  5647. }
  5648. public double GetTextBlockBound(int TextBlockListID, int Index, int BoundIndex)
  5649. {
  5650. if (dll == null) return 0;
  5651. else
  5652. return dll.DebenuPDFLibraryGetTextBlockBound(instanceID, TextBlockListID, Index,
  5653. BoundIndex);
  5654. }
  5655. public double GetTextBlockCharWidth(int TextBlockListID, int Index, int CharIndex)
  5656. {
  5657. if (dll == null) return 0;
  5658. else
  5659. return dll.DebenuPDFLibraryGetTextBlockCharWidth(instanceID, TextBlockListID, Index,
  5660. CharIndex);
  5661. }
  5662. public double GetTextBlockColor(int TextBlockListID, int Index, int ColorComponent)
  5663. {
  5664. if (dll == null) return 0;
  5665. else
  5666. return dll.DebenuPDFLibraryGetTextBlockColor(instanceID, TextBlockListID, Index,
  5667. ColorComponent);
  5668. }
  5669. public int GetTextBlockColorType(int TextBlockListID, int Index)
  5670. {
  5671. if (dll == null) return 0;
  5672. else
  5673. return dll.DebenuPDFLibraryGetTextBlockColorType(instanceID, TextBlockListID, Index);
  5674. }
  5675. public int GetTextBlockCount(int TextBlockListID)
  5676. {
  5677. if (dll == null) return 0;
  5678. else
  5679. return dll.DebenuPDFLibraryGetTextBlockCount(instanceID, TextBlockListID);
  5680. }
  5681. public string GetTextBlockFontName(int TextBlockListID, int Index)
  5682. {
  5683. if (dll == null) return "";
  5684. else
  5685. return SR(dll.DebenuPDFLibraryGetTextBlockFontName(instanceID, TextBlockListID,
  5686. Index));
  5687. }
  5688. public double GetTextBlockFontSize(int TextBlockListID, int Index)
  5689. {
  5690. if (dll == null) return 0;
  5691. else
  5692. return dll.DebenuPDFLibraryGetTextBlockFontSize(instanceID, TextBlockListID, Index);
  5693. }
  5694. public string GetTextBlockText(int TextBlockListID, int Index)
  5695. {
  5696. if (dll == null) return "";
  5697. else
  5698. return SR(dll.DebenuPDFLibraryGetTextBlockText(instanceID, TextBlockListID, Index));
  5699. }
  5700. public double GetTextBound(int Edge)
  5701. {
  5702. if (dll == null) return 0;
  5703. else
  5704. return dll.DebenuPDFLibraryGetTextBound(instanceID, Edge);
  5705. }
  5706. public double GetTextDescent()
  5707. {
  5708. if (dll == null) return 0;
  5709. else
  5710. return dll.DebenuPDFLibraryGetTextDescent(instanceID);
  5711. }
  5712. public double GetTextHeight()
  5713. {
  5714. if (dll == null) return 0;
  5715. else
  5716. return dll.DebenuPDFLibraryGetTextHeight(instanceID);
  5717. }
  5718. public double GetTextSize()
  5719. {
  5720. if (dll == null) return 0;
  5721. else
  5722. return dll.DebenuPDFLibraryGetTextSize(instanceID);
  5723. }
  5724. public double GetTextWidth(string Text)
  5725. {
  5726. if (dll == null) return 0;
  5727. else
  5728. return dll.DebenuPDFLibraryGetTextWidth(instanceID, Text);
  5729. }
  5730. public string GetUnicodeCharactersFromEncoding(int Encoding)
  5731. {
  5732. if (dll == null) return "";
  5733. else
  5734. return SR(dll.DebenuPDFLibraryGetUnicodeCharactersFromEncoding(instanceID, Encoding));
  5735. }
  5736. public double GetViewPortBBox(int ViewPortID, int Dimension)
  5737. {
  5738. if (dll == null) return 0;
  5739. else
  5740. return dll.DebenuPDFLibraryGetViewPortBBox(instanceID, ViewPortID, Dimension);
  5741. }
  5742. public int GetViewPortMeasureDict(int ViewPortID)
  5743. {
  5744. if (dll == null) return 0;
  5745. else
  5746. return dll.DebenuPDFLibraryGetViewPortMeasureDict(instanceID, ViewPortID);
  5747. }
  5748. public string GetViewPortName(int ViewPortID)
  5749. {
  5750. if (dll == null) return "";
  5751. else
  5752. return SR(dll.DebenuPDFLibraryGetViewPortName(instanceID, ViewPortID));
  5753. }
  5754. public int GetViewPortPtDataDict(int ViewPortID)
  5755. {
  5756. if (dll == null) return 0;
  5757. else
  5758. return dll.DebenuPDFLibraryGetViewPortPtDataDict(instanceID, ViewPortID);
  5759. }
  5760. public int GetViewerPreferences(int Option)
  5761. {
  5762. if (dll == null) return 0;
  5763. else
  5764. return dll.DebenuPDFLibraryGetViewerPreferences(instanceID, Option);
  5765. }
  5766. public string GetWrappedText(double Width, string Delimiter, string Text)
  5767. {
  5768. if (dll == null) return "";
  5769. else
  5770. return SR(dll.DebenuPDFLibraryGetWrappedText(instanceID, Width, Delimiter, Text));
  5771. }
  5772. public string GetWrappedTextBreakString(double Width, string Delimiter, string Text)
  5773. {
  5774. if (dll == null) return "";
  5775. else
  5776. return SR(dll.DebenuPDFLibraryGetWrappedTextBreakString(instanceID, Width, Delimiter,
  5777. Text));
  5778. }
  5779. public double GetWrappedTextHeight(double Width, string Text)
  5780. {
  5781. if (dll == null) return 0;
  5782. else
  5783. return dll.DebenuPDFLibraryGetWrappedTextHeight(instanceID, Width, Text);
  5784. }
  5785. public int GetWrappedTextLineCount(double Width, string Text)
  5786. {
  5787. if (dll == null) return 0;
  5788. else
  5789. return dll.DebenuPDFLibraryGetWrappedTextLineCount(instanceID, Width, Text);
  5790. }
  5791. public int GetXFAFormFieldCount()
  5792. {
  5793. if (dll == null) return 0;
  5794. else
  5795. return dll.DebenuPDFLibraryGetXFAFormFieldCount(instanceID);
  5796. }
  5797. public string GetXFAFormFieldName(int Index)
  5798. {
  5799. if (dll == null) return "";
  5800. else
  5801. return SR(dll.DebenuPDFLibraryGetXFAFormFieldName(instanceID, Index));
  5802. }
  5803. public string GetXFAFormFieldNames(string Delimiter)
  5804. {
  5805. if (dll == null) return "";
  5806. else
  5807. return SR(dll.DebenuPDFLibraryGetXFAFormFieldNames(instanceID, Delimiter));
  5808. }
  5809. public string GetXFAFormFieldValue(string XFAFieldName)
  5810. {
  5811. if (dll == null) return "";
  5812. else
  5813. return SR(dll.DebenuPDFLibraryGetXFAFormFieldValue(instanceID, XFAFieldName));
  5814. }
  5815. public byte[] GetXFAToString(int Options)
  5816. {
  5817. if (dll == null) return new byte[0];
  5818. else
  5819. {
  5820. IntPtr data = dll.DebenuPDFLibraryGetXFAToString(instanceID, Options);
  5821. int size = dll.DebenuPDFLibraryAnsiStringResultLength(instanceID);
  5822. byte[] result = new byte[size];
  5823. Marshal.Copy(data, result, 0, size);
  5824. return result;
  5825. }
  5826. }
  5827. public int GlobalJavaScriptCount()
  5828. {
  5829. if (dll == null) return 0;
  5830. else
  5831. return dll.DebenuPDFLibraryGlobalJavaScriptCount(instanceID);
  5832. }
  5833. public string GlobalJavaScriptPackageName(int Index)
  5834. {
  5835. if (dll == null) return "";
  5836. else
  5837. return SR(dll.DebenuPDFLibraryGlobalJavaScriptPackageName(instanceID, Index));
  5838. }
  5839. public int HasFontResources()
  5840. {
  5841. if (dll == null) return 0;
  5842. else
  5843. return dll.DebenuPDFLibraryHasFontResources(instanceID);
  5844. }
  5845. public int HasPageBox(int BoxType)
  5846. {
  5847. if (dll == null) return 0;
  5848. else
  5849. return dll.DebenuPDFLibraryHasPageBox(instanceID, BoxType);
  5850. }
  5851. public int HidePage()
  5852. {
  5853. if (dll == null) return 0;
  5854. else
  5855. return dll.DebenuPDFLibraryHidePage(instanceID);
  5856. }
  5857. public int ImageCount()
  5858. {
  5859. if (dll == null) return 0;
  5860. else
  5861. return dll.DebenuPDFLibraryImageCount(instanceID);
  5862. }
  5863. public int ImageFillColor()
  5864. {
  5865. if (dll == null) return 0;
  5866. else
  5867. return dll.DebenuPDFLibraryImageFillColor(instanceID);
  5868. }
  5869. public int ImageHeight()
  5870. {
  5871. if (dll == null) return 0;
  5872. else
  5873. return dll.DebenuPDFLibraryImageHeight(instanceID);
  5874. }
  5875. public int ImageHorizontalResolution()
  5876. {
  5877. if (dll == null) return 0;
  5878. else
  5879. return dll.DebenuPDFLibraryImageHorizontalResolution(instanceID);
  5880. }
  5881. public int ImageResolutionUnits()
  5882. {
  5883. if (dll == null) return 0;
  5884. else
  5885. return dll.DebenuPDFLibraryImageResolutionUnits(instanceID);
  5886. }
  5887. public int ImageType()
  5888. {
  5889. if (dll == null) return 0;
  5890. else
  5891. return dll.DebenuPDFLibraryImageType(instanceID);
  5892. }
  5893. public int ImageVerticalResolution()
  5894. {
  5895. if (dll == null) return 0;
  5896. else
  5897. return dll.DebenuPDFLibraryImageVerticalResolution(instanceID);
  5898. }
  5899. public int ImageWidth()
  5900. {
  5901. if (dll == null) return 0;
  5902. else
  5903. return dll.DebenuPDFLibraryImageWidth(instanceID);
  5904. }
  5905. public int ImportEMFFromFile(string FileName, int FontOptions, int GeneralOptions)
  5906. {
  5907. if (dll == null) return 0;
  5908. else
  5909. return dll.DebenuPDFLibraryImportEMFFromFile(instanceID, FileName, FontOptions,
  5910. GeneralOptions);
  5911. }
  5912. public int InsertPages(int StartPage, int PageCount)
  5913. {
  5914. if (dll == null) return 0;
  5915. else
  5916. return dll.DebenuPDFLibraryInsertPages(instanceID, StartPage, PageCount);
  5917. }
  5918. public int InsertTableColumns(int TableID, int Position, int NewColumnCount)
  5919. {
  5920. if (dll == null) return 0;
  5921. else
  5922. return dll.DebenuPDFLibraryInsertTableColumns(instanceID, TableID, Position,
  5923. NewColumnCount);
  5924. }
  5925. public int InsertTableRows(int TableID, int Position, int NewRowCount)
  5926. {
  5927. if (dll == null) return 0;
  5928. else
  5929. return dll.DebenuPDFLibraryInsertTableRows(instanceID, TableID, Position,
  5930. NewRowCount);
  5931. }
  5932. public int IsAnnotFormField(int Index)
  5933. {
  5934. if (dll == null) return 0;
  5935. else
  5936. return dll.DebenuPDFLibraryIsAnnotFormField(instanceID, Index);
  5937. }
  5938. public int IsTaggedPDF()
  5939. {
  5940. if (dll == null) return 0;
  5941. else
  5942. return dll.DebenuPDFLibraryIsTaggedPDF(instanceID);
  5943. }
  5944. public int LastErrorCode()
  5945. {
  5946. if (dll == null) return 0;
  5947. else
  5948. return dll.DebenuPDFLibraryLastErrorCode(instanceID);
  5949. }
  5950. public string LastRenderError()
  5951. {
  5952. if (dll == null) return "";
  5953. else
  5954. return SR(dll.DebenuPDFLibraryLastRenderError(instanceID));
  5955. }
  5956. public string LibraryVersion()
  5957. {
  5958. if (dll == null) return "";
  5959. else
  5960. return SR(dll.DebenuPDFLibraryLibraryVersion(instanceID));
  5961. }
  5962. public string LicenseInfo()
  5963. {
  5964. if (dll == null) return "";
  5965. else
  5966. return SR(dll.DebenuPDFLibraryLicenseInfo(instanceID));
  5967. }
  5968. public int Linearized()
  5969. {
  5970. if (dll == null) return 0;
  5971. else
  5972. return dll.DebenuPDFLibraryLinearized(instanceID);
  5973. }
  5974. public int LoadFromCanvasDC(double DPI, int Options)
  5975. {
  5976. if (dll == null) return 0;
  5977. else
  5978. return dll.DebenuPDFLibraryLoadFromCanvasDC(instanceID, DPI, Options);
  5979. }
  5980. public int LoadFromFile(string FileName, string Password)
  5981. {
  5982. if (dll == null) return 0;
  5983. else
  5984. return dll.DebenuPDFLibraryLoadFromFile(instanceID, FileName, Password);
  5985. }
  5986. public int LoadFromString(byte[] Source, string Password)
  5987. {
  5988. if (dll == null) return 0;
  5989. else
  5990. {
  5991. GCHandle gch = GCHandle.Alloc(Source, GCHandleType.Pinned);
  5992. IntPtr bufferID = dll.DebenuPDFLibraryCreateBuffer(instanceID, Source.Length);
  5993. dll.DebenuPDFLibraryAddToBuffer(instanceID, bufferID, gch.AddrOfPinnedObject(), Source.Length);
  5994. int result = dll.DebenuPDFLibraryLoadFromString(instanceID, bufferID, Password);
  5995. dll.DebenuPDFLibraryReleaseBuffer(instanceID, bufferID);
  5996. gch.Free();
  5997. return result;
  5998. }
  5999. }
  6000. public int LoadState()
  6001. {
  6002. if (dll == null) return 0;
  6003. else
  6004. return dll.DebenuPDFLibraryLoadState(instanceID);
  6005. }
  6006. public int MergeDocument(int DocumentID)
  6007. {
  6008. if (dll == null) return 0;
  6009. else
  6010. return dll.DebenuPDFLibraryMergeDocument(instanceID, DocumentID);
  6011. }
  6012. public int MergeFileList(string ListName, string OutputFileName)
  6013. {
  6014. if (dll == null) return 0;
  6015. else
  6016. return dll.DebenuPDFLibraryMergeFileList(instanceID, ListName, OutputFileName);
  6017. }
  6018. public int MergeFileListFast(string ListName, string OutputFileName)
  6019. {
  6020. if (dll == null) return 0;
  6021. else
  6022. return dll.DebenuPDFLibraryMergeFileListFast(instanceID, ListName, OutputFileName);
  6023. }
  6024. public int MergeFiles(string FirstFileName, string SecondFileName, string OutputFileName)
  6025. {
  6026. if (dll == null) return 0;
  6027. else
  6028. return dll.DebenuPDFLibraryMergeFiles(instanceID, FirstFileName, SecondFileName,
  6029. OutputFileName);
  6030. }
  6031. public int MergeTableCells(int TableID, int FirstRow, int FirstColumn, int LastRow,
  6032. int LastColumn)
  6033. {
  6034. if (dll == null) return 0;
  6035. else
  6036. return dll.DebenuPDFLibraryMergeTableCells(instanceID, TableID, FirstRow,
  6037. FirstColumn, LastRow, LastColumn);
  6038. }
  6039. public int MoveContentStream(int FromPosition, int ToPosition)
  6040. {
  6041. if (dll == null) return 0;
  6042. else
  6043. return dll.DebenuPDFLibraryMoveContentStream(instanceID, FromPosition, ToPosition);
  6044. }
  6045. public int MoveOutlineAfter(int OutlineID, int SiblingID)
  6046. {
  6047. if (dll == null) return 0;
  6048. else
  6049. return dll.DebenuPDFLibraryMoveOutlineAfter(instanceID, OutlineID, SiblingID);
  6050. }
  6051. public int MoveOutlineBefore(int OutlineID, int SiblingID)
  6052. {
  6053. if (dll == null) return 0;
  6054. else
  6055. return dll.DebenuPDFLibraryMoveOutlineBefore(instanceID, OutlineID, SiblingID);
  6056. }
  6057. public int MovePage(int NewPosition)
  6058. {
  6059. if (dll == null) return 0;
  6060. else
  6061. return dll.DebenuPDFLibraryMovePage(instanceID, NewPosition);
  6062. }
  6063. public int MovePath(double NewX, double NewY)
  6064. {
  6065. if (dll == null) return 0;
  6066. else
  6067. return dll.DebenuPDFLibraryMovePath(instanceID, NewX, NewY);
  6068. }
  6069. public int MultiplyScale(double MultScaleBy)
  6070. {
  6071. if (dll == null) return 0;
  6072. else
  6073. return dll.DebenuPDFLibraryMultiplyScale(instanceID, MultScaleBy);
  6074. }
  6075. public int NewChildFormField(int Index, string Title, int FieldType)
  6076. {
  6077. if (dll == null) return 0;
  6078. else
  6079. return dll.DebenuPDFLibraryNewChildFormField(instanceID, Index, Title, FieldType);
  6080. }
  6081. public int NewContentStream()
  6082. {
  6083. if (dll == null) return 0;
  6084. else
  6085. return dll.DebenuPDFLibraryNewContentStream(instanceID);
  6086. }
  6087. public string NewCustomPrinter(string OriginalPrinterName)
  6088. {
  6089. if (dll == null) return "";
  6090. else
  6091. return SR(dll.DebenuPDFLibraryNewCustomPrinter(instanceID, OriginalPrinterName));
  6092. }
  6093. public int NewDestination(int DestPage, int Zoom, int DestType, double Left, double Top,
  6094. double Right, double Bottom)
  6095. {
  6096. if (dll == null) return 0;
  6097. else
  6098. return dll.DebenuPDFLibraryNewDestination(instanceID, DestPage, Zoom, DestType, Left,
  6099. Top, Right, Bottom);
  6100. }
  6101. public int NewDocument()
  6102. {
  6103. if (dll == null) return 0;
  6104. else
  6105. return dll.DebenuPDFLibraryNewDocument(instanceID);
  6106. }
  6107. public int NewFormField(string Title, int FieldType)
  6108. {
  6109. if (dll == null) return 0;
  6110. else
  6111. return dll.DebenuPDFLibraryNewFormField(instanceID, Title, FieldType);
  6112. }
  6113. public int NewInternalPrinterObject(int Options)
  6114. {
  6115. if (dll == null) return 0;
  6116. else
  6117. return dll.DebenuPDFLibraryNewInternalPrinterObject(instanceID, Options);
  6118. }
  6119. public int NewNamedDestination(string DestName, int DestID)
  6120. {
  6121. if (dll == null) return 0;
  6122. else
  6123. return dll.DebenuPDFLibraryNewNamedDestination(instanceID, DestName, DestID);
  6124. }
  6125. public int NewOptionalContentGroup(string GroupName)
  6126. {
  6127. if (dll == null) return 0;
  6128. else
  6129. return dll.DebenuPDFLibraryNewOptionalContentGroup(instanceID, GroupName);
  6130. }
  6131. public int NewOutline(int Parent, string Title, int DestPage, double DestPosition)
  6132. {
  6133. if (dll == null) return 0;
  6134. else
  6135. return dll.DebenuPDFLibraryNewOutline(instanceID, Parent, Title, DestPage,
  6136. DestPosition);
  6137. }
  6138. public int NewPage()
  6139. {
  6140. if (dll == null) return 0;
  6141. else
  6142. return dll.DebenuPDFLibraryNewPage(instanceID);
  6143. }
  6144. public int NewPageFromCanvasDC(double DPI, int Options)
  6145. {
  6146. if (dll == null) return 0;
  6147. else
  6148. return dll.DebenuPDFLibraryNewPageFromCanvasDC(instanceID, DPI, Options);
  6149. }
  6150. public int NewPages(int PageCount)
  6151. {
  6152. if (dll == null) return 0;
  6153. else
  6154. return dll.DebenuPDFLibraryNewPages(instanceID, PageCount);
  6155. }
  6156. public int NewPostScriptXObject(string PS)
  6157. {
  6158. if (dll == null) return 0;
  6159. else
  6160. return dll.DebenuPDFLibraryNewPostScriptXObject(instanceID, PS);
  6161. }
  6162. public int NewRGBAxialShader(string ShaderName, double StartX, double StartY,
  6163. double StartRed, double StartGreen, double StartBlue, double EndX, double EndY,
  6164. double EndRed, double EndGreen, double EndBlue, int Extend)
  6165. {
  6166. if (dll == null) return 0;
  6167. else
  6168. return dll.DebenuPDFLibraryNewRGBAxialShader(instanceID, ShaderName, StartX, StartY,
  6169. StartRed, StartGreen, StartBlue, EndX, EndY, EndRed, EndGreen, EndBlue, Extend);
  6170. }
  6171. public int NewSignProcessFromFile(string InputFile, string Password)
  6172. {
  6173. if (dll == null) return 0;
  6174. else
  6175. return dll.DebenuPDFLibraryNewSignProcessFromFile(instanceID, InputFile, Password);
  6176. }
  6177. public int NewSignProcessFromString(byte[] Source, string Password)
  6178. {
  6179. if (dll == null) return 0;
  6180. else
  6181. {
  6182. GCHandle gch = GCHandle.Alloc(Source, GCHandleType.Pinned);
  6183. IntPtr bufferID = dll.DebenuPDFLibraryCreateBuffer(instanceID, Source.Length);
  6184. dll.DebenuPDFLibraryAddToBuffer(instanceID, bufferID, gch.AddrOfPinnedObject(), Source.Length);
  6185. int result = dll.DebenuPDFLibraryNewSignProcessFromString(instanceID, bufferID,
  6186. Password);
  6187. dll.DebenuPDFLibraryReleaseBuffer(instanceID, bufferID);
  6188. gch.Free();
  6189. return result;
  6190. }
  6191. }
  6192. public int NewStaticOutline(int Parent, string Title)
  6193. {
  6194. if (dll == null) return 0;
  6195. else
  6196. return dll.DebenuPDFLibraryNewStaticOutline(instanceID, Parent, Title);
  6197. }
  6198. public int NewTilingPatternFromCapturedPage(string PatternName, int CaptureID)
  6199. {
  6200. if (dll == null) return 0;
  6201. else
  6202. return dll.DebenuPDFLibraryNewTilingPatternFromCapturedPage(instanceID, PatternName,
  6203. CaptureID);
  6204. }
  6205. public int NoEmbedFontListAdd(string FontName)
  6206. {
  6207. if (dll == null) return 0;
  6208. else
  6209. return dll.DebenuPDFLibraryNoEmbedFontListAdd(instanceID, FontName);
  6210. }
  6211. public int NoEmbedFontListCount()
  6212. {
  6213. if (dll == null) return 0;
  6214. else
  6215. return dll.DebenuPDFLibraryNoEmbedFontListCount(instanceID);
  6216. }
  6217. public string NoEmbedFontListGet(int Index)
  6218. {
  6219. if (dll == null) return "";
  6220. else
  6221. return SR(dll.DebenuPDFLibraryNoEmbedFontListGet(instanceID, Index));
  6222. }
  6223. public int NoEmbedFontListRemoveAll()
  6224. {
  6225. if (dll == null) return 0;
  6226. else
  6227. return dll.DebenuPDFLibraryNoEmbedFontListRemoveAll(instanceID);
  6228. }
  6229. public int NoEmbedFontListRemoveIndex(int Index)
  6230. {
  6231. if (dll == null) return 0;
  6232. else
  6233. return dll.DebenuPDFLibraryNoEmbedFontListRemoveIndex(instanceID, Index);
  6234. }
  6235. public int NoEmbedFontListRemoveName(string FontName)
  6236. {
  6237. if (dll == null) return 0;
  6238. else
  6239. return dll.DebenuPDFLibraryNoEmbedFontListRemoveName(instanceID, FontName);
  6240. }
  6241. public int NormalizePage(int NormalizeOptions)
  6242. {
  6243. if (dll == null) return 0;
  6244. else
  6245. return dll.DebenuPDFLibraryNormalizePage(instanceID, NormalizeOptions);
  6246. }
  6247. public int OpenOutline(int OutlineID)
  6248. {
  6249. if (dll == null) return 0;
  6250. else
  6251. return dll.DebenuPDFLibraryOpenOutline(instanceID, OutlineID);
  6252. }
  6253. public int OptionalContentGroupCount()
  6254. {
  6255. if (dll == null) return 0;
  6256. else
  6257. return dll.DebenuPDFLibraryOptionalContentGroupCount(instanceID);
  6258. }
  6259. public int OutlineCount()
  6260. {
  6261. if (dll == null) return 0;
  6262. else
  6263. return dll.DebenuPDFLibraryOutlineCount(instanceID);
  6264. }
  6265. public string OutlineTitle(int OutlineID)
  6266. {
  6267. if (dll == null) return "";
  6268. else
  6269. return SR(dll.DebenuPDFLibraryOutlineTitle(instanceID, OutlineID));
  6270. }
  6271. public int PageCount()
  6272. {
  6273. if (dll == null) return 0;
  6274. else
  6275. return dll.DebenuPDFLibraryPageCount(instanceID);
  6276. }
  6277. public int PageHasFontResources(int PageNumber)
  6278. {
  6279. if (dll == null) return 0;
  6280. else
  6281. return dll.DebenuPDFLibraryPageHasFontResources(instanceID, PageNumber);
  6282. }
  6283. public double PageHeight()
  6284. {
  6285. if (dll == null) return 0;
  6286. else
  6287. return dll.DebenuPDFLibraryPageHeight(instanceID);
  6288. }
  6289. public int PageJavaScriptAction(string ActionType, string JavaScript)
  6290. {
  6291. if (dll == null) return 0;
  6292. else
  6293. return dll.DebenuPDFLibraryPageJavaScriptAction(instanceID, ActionType, JavaScript);
  6294. }
  6295. public int PageRotation()
  6296. {
  6297. if (dll == null) return 0;
  6298. else
  6299. return dll.DebenuPDFLibraryPageRotation(instanceID);
  6300. }
  6301. public double PageWidth()
  6302. {
  6303. if (dll == null) return 0;
  6304. else
  6305. return dll.DebenuPDFLibraryPageWidth(instanceID);
  6306. }
  6307. public int PrintDocument(string PrinterName, int StartPage, int EndPage, int Options)
  6308. {
  6309. if (dll == null) return 0;
  6310. else
  6311. return dll.DebenuPDFLibraryPrintDocument(instanceID, PrinterName, StartPage, EndPage,
  6312. Options);
  6313. }
  6314. public int PrintDocumentToFile(string PrinterName, int StartPage, int EndPage, int Options,
  6315. string FileName)
  6316. {
  6317. if (dll == null) return 0;
  6318. else
  6319. return dll.DebenuPDFLibraryPrintDocumentToFile(instanceID, PrinterName, StartPage,
  6320. EndPage, Options, FileName);
  6321. }
  6322. public int PrintOptions(int PageScaling, int AutoRotateCenter, string Title)
  6323. {
  6324. if (dll == null) return 0;
  6325. else
  6326. return dll.DebenuPDFLibraryPrintOptions(instanceID, PageScaling, AutoRotateCenter,
  6327. Title);
  6328. }
  6329. public int PrintPages(string PrinterName, string PageRanges, int Options)
  6330. {
  6331. if (dll == null) return 0;
  6332. else
  6333. return dll.DebenuPDFLibraryPrintPages(instanceID, PrinterName, PageRanges, Options);
  6334. }
  6335. public int PrintPagesToFile(string PrinterName, string PageRanges, int Options,
  6336. string FileName)
  6337. {
  6338. if (dll == null) return 0;
  6339. else
  6340. return dll.DebenuPDFLibraryPrintPagesToFile(instanceID, PrinterName, PageRanges,
  6341. Options, FileName);
  6342. }
  6343. public int ReleaseImage(int ImageID)
  6344. {
  6345. if (dll == null) return 0;
  6346. else
  6347. return dll.DebenuPDFLibraryReleaseImage(instanceID, ImageID);
  6348. }
  6349. public int ReleaseImageList(int ImageListID)
  6350. {
  6351. if (dll == null) return 0;
  6352. else
  6353. return dll.DebenuPDFLibraryReleaseImageList(instanceID, ImageListID);
  6354. }
  6355. public int ReleaseSignProcess(int SignProcessID)
  6356. {
  6357. if (dll == null) return 0;
  6358. else
  6359. return dll.DebenuPDFLibraryReleaseSignProcess(instanceID, SignProcessID);
  6360. }
  6361. public int ReleaseStringList(int StringListID)
  6362. {
  6363. if (dll == null) return 0;
  6364. else
  6365. return dll.DebenuPDFLibraryReleaseStringList(instanceID, StringListID);
  6366. }
  6367. public int ReleaseTextBlocks(int TextBlockListID)
  6368. {
  6369. if (dll == null) return 0;
  6370. else
  6371. return dll.DebenuPDFLibraryReleaseTextBlocks(instanceID, TextBlockListID);
  6372. }
  6373. public int RemoveAppearanceStream(int Index)
  6374. {
  6375. if (dll == null) return 0;
  6376. else
  6377. return dll.DebenuPDFLibraryRemoveAppearanceStream(instanceID, Index);
  6378. }
  6379. public int RemoveCustomInformation(string Key)
  6380. {
  6381. if (dll == null) return 0;
  6382. else
  6383. return dll.DebenuPDFLibraryRemoveCustomInformation(instanceID, Key);
  6384. }
  6385. public int RemoveDocument(int DocumentID)
  6386. {
  6387. if (dll == null) return 0;
  6388. else
  6389. return dll.DebenuPDFLibraryRemoveDocument(instanceID, DocumentID);
  6390. }
  6391. public int RemoveEmbeddedFile(int Index)
  6392. {
  6393. if (dll == null) return 0;
  6394. else
  6395. return dll.DebenuPDFLibraryRemoveEmbeddedFile(instanceID, Index);
  6396. }
  6397. public int RemoveFormFieldBackgroundColor(int Index)
  6398. {
  6399. if (dll == null) return 0;
  6400. else
  6401. return dll.DebenuPDFLibraryRemoveFormFieldBackgroundColor(instanceID, Index);
  6402. }
  6403. public int RemoveFormFieldBorderColor(int Index)
  6404. {
  6405. if (dll == null) return 0;
  6406. else
  6407. return dll.DebenuPDFLibraryRemoveFormFieldBorderColor(instanceID, Index);
  6408. }
  6409. public int RemoveFormFieldChoiceSub(int Index, string Subname)
  6410. {
  6411. if (dll == null) return 0;
  6412. else
  6413. return dll.DebenuPDFLibraryRemoveFormFieldChoiceSub(instanceID, Index, Subname);
  6414. }
  6415. public int RemoveGlobalJavaScript(string PackageName)
  6416. {
  6417. if (dll == null) return 0;
  6418. else
  6419. return dll.DebenuPDFLibraryRemoveGlobalJavaScript(instanceID, PackageName);
  6420. }
  6421. public int RemoveOpenAction()
  6422. {
  6423. if (dll == null) return 0;
  6424. else
  6425. return dll.DebenuPDFLibraryRemoveOpenAction(instanceID);
  6426. }
  6427. public int RemoveOutline(int OutlineID)
  6428. {
  6429. if (dll == null) return 0;
  6430. else
  6431. return dll.DebenuPDFLibraryRemoveOutline(instanceID, OutlineID);
  6432. }
  6433. public int RemovePageBox(int BoxType)
  6434. {
  6435. if (dll == null) return 0;
  6436. else
  6437. return dll.DebenuPDFLibraryRemovePageBox(instanceID, BoxType);
  6438. }
  6439. public int RemoveSharedContentStreams()
  6440. {
  6441. if (dll == null) return 0;
  6442. else
  6443. return dll.DebenuPDFLibraryRemoveSharedContentStreams(instanceID);
  6444. }
  6445. public int RemoveStyle(string StyleName)
  6446. {
  6447. if (dll == null) return 0;
  6448. else
  6449. return dll.DebenuPDFLibraryRemoveStyle(instanceID, StyleName);
  6450. }
  6451. public int RemoveUsageRights()
  6452. {
  6453. if (dll == null) return 0;
  6454. else
  6455. return dll.DebenuPDFLibraryRemoveUsageRights(instanceID);
  6456. }
  6457. public int RemoveXFAEntries(int Options)
  6458. {
  6459. if (dll == null) return 0;
  6460. else
  6461. return dll.DebenuPDFLibraryRemoveXFAEntries(instanceID, Options);
  6462. }
  6463. public int RenderAsMultipageTIFFToFile(double DPI, string PageRanges, int ImageOptions,
  6464. int OutputOptions, string FileName)
  6465. {
  6466. if (dll == null) return 0;
  6467. else
  6468. return dll.DebenuPDFLibraryRenderAsMultipageTIFFToFile(instanceID, DPI, PageRanges,
  6469. ImageOptions, OutputOptions, FileName);
  6470. }
  6471. public int RenderDocumentToFile(double DPI, int StartPage, int EndPage, int Options,
  6472. string FileName)
  6473. {
  6474. if (dll == null) return 0;
  6475. else
  6476. return dll.DebenuPDFLibraryRenderDocumentToFile(instanceID, DPI, StartPage, EndPage,
  6477. Options, FileName);
  6478. }
  6479. public int RenderPageToDC(double DPI, int Page, IntPtr DC)
  6480. {
  6481. if (dll == null) return 0;
  6482. else
  6483. return dll.DebenuPDFLibraryRenderPageToDC(instanceID, DPI, Page, DC);
  6484. }
  6485. public int RenderPageToFile(double DPI, int Page, int Options, string FileName)
  6486. {
  6487. if (dll == null) return 0;
  6488. else
  6489. return dll.DebenuPDFLibraryRenderPageToFile(instanceID, DPI, Page, Options, FileName);
  6490. }
  6491. public byte[] RenderPageToString(double DPI, int Page, int Options)
  6492. {
  6493. if (dll == null) return new byte[0];
  6494. else
  6495. {
  6496. IntPtr data = dll.DebenuPDFLibraryRenderPageToString(instanceID, DPI, Page, Options);
  6497. int size = dll.DebenuPDFLibraryAnsiStringResultLength(instanceID);
  6498. byte[] result = new byte[size];
  6499. Marshal.Copy(data, result, 0, size);
  6500. return result;
  6501. }
  6502. }
  6503. public int ReplaceFonts()
  6504. {
  6505. if (dll == null) return 0;
  6506. else
  6507. return dll.DebenuPDFLibraryReplaceFonts(instanceID);
  6508. }
  6509. public int ReplaceImage(int OriginalImageID, int NewImageID)
  6510. {
  6511. if (dll == null) return 0;
  6512. else
  6513. return dll.DebenuPDFLibraryReplaceImage(instanceID, OriginalImageID, NewImageID);
  6514. }
  6515. public int ReplaceTag(string Tag, string NewValue)
  6516. {
  6517. if (dll == null) return 0;
  6518. else
  6519. return dll.DebenuPDFLibraryReplaceTag(instanceID, Tag, NewValue);
  6520. }
  6521. public int RequestPrinterStatus(int StatusCommand)
  6522. {
  6523. if (dll == null) return 0;
  6524. else
  6525. return dll.DebenuPDFLibraryRequestPrinterStatus(instanceID, StatusCommand);
  6526. }
  6527. public int RetrieveCustomDataToFile(string Key, string FileName, int Location)
  6528. {
  6529. if (dll == null) return 0;
  6530. else
  6531. return dll.DebenuPDFLibraryRetrieveCustomDataToFile(instanceID, Key, FileName,
  6532. Location);
  6533. }
  6534. public byte[] RetrieveCustomDataToString(string Key, int Location)
  6535. {
  6536. if (dll == null) return new byte[0];
  6537. else
  6538. {
  6539. IntPtr data = dll.DebenuPDFLibraryRetrieveCustomDataToString(instanceID, Key,
  6540. Location);
  6541. int size = dll.DebenuPDFLibraryAnsiStringResultLength(instanceID);
  6542. byte[] result = new byte[size];
  6543. Marshal.Copy(data, result, 0, size);
  6544. return result;
  6545. }
  6546. }
  6547. public int ReverseImage(int Reset)
  6548. {
  6549. if (dll == null) return 0;
  6550. else
  6551. return dll.DebenuPDFLibraryReverseImage(instanceID, Reset);
  6552. }
  6553. public int RotatePage(int PageRotation)
  6554. {
  6555. if (dll == null) return 0;
  6556. else
  6557. return dll.DebenuPDFLibraryRotatePage(instanceID, PageRotation);
  6558. }
  6559. public int SaveFontToFile(string FileName)
  6560. {
  6561. if (dll == null) return 0;
  6562. else
  6563. return dll.DebenuPDFLibrarySaveFontToFile(instanceID, FileName);
  6564. }
  6565. public int SaveImageListItemDataToFile(int ImageListID, int ImageIndex, int Options,
  6566. string ImageFileName)
  6567. {
  6568. if (dll == null) return 0;
  6569. else
  6570. return dll.DebenuPDFLibrarySaveImageListItemDataToFile(instanceID, ImageListID,
  6571. ImageIndex, Options, ImageFileName);
  6572. }
  6573. public int SaveImageToFile(string FileName)
  6574. {
  6575. if (dll == null) return 0;
  6576. else
  6577. return dll.DebenuPDFLibrarySaveImageToFile(instanceID, FileName);
  6578. }
  6579. public byte[] SaveImageToString()
  6580. {
  6581. if (dll == null) return new byte[0];
  6582. else
  6583. {
  6584. IntPtr data = dll.DebenuPDFLibrarySaveImageToString(instanceID);
  6585. int size = dll.DebenuPDFLibraryAnsiStringResultLength(instanceID);
  6586. byte[] result = new byte[size];
  6587. Marshal.Copy(data, result, 0, size);
  6588. return result;
  6589. }
  6590. }
  6591. public int SaveState()
  6592. {
  6593. if (dll == null) return 0;
  6594. else
  6595. return dll.DebenuPDFLibrarySaveState(instanceID);
  6596. }
  6597. public int SaveStyle(string StyleName)
  6598. {
  6599. if (dll == null) return 0;
  6600. else
  6601. return dll.DebenuPDFLibrarySaveStyle(instanceID, StyleName);
  6602. }
  6603. public int SaveToFile(string FileName)
  6604. {
  6605. if (dll == null) return 0;
  6606. else
  6607. return dll.DebenuPDFLibrarySaveToFile(instanceID, FileName);
  6608. }
  6609. public byte[] SaveToString()
  6610. {
  6611. if (dll == null) return new byte[0];
  6612. else
  6613. {
  6614. IntPtr data = dll.DebenuPDFLibrarySaveToString(instanceID);
  6615. int size = dll.DebenuPDFLibraryAnsiStringResultLength(instanceID);
  6616. byte[] result = new byte[size];
  6617. Marshal.Copy(data, result, 0, size);
  6618. return result;
  6619. }
  6620. }
  6621. public int SecurityInfo(int SecurityItem)
  6622. {
  6623. if (dll == null) return 0;
  6624. else
  6625. return dll.DebenuPDFLibrarySecurityInfo(instanceID, SecurityItem);
  6626. }
  6627. public int SelectContentStream(int NewIndex)
  6628. {
  6629. if (dll == null) return 0;
  6630. else
  6631. return dll.DebenuPDFLibrarySelectContentStream(instanceID, NewIndex);
  6632. }
  6633. public int SelectDocument(int DocumentID)
  6634. {
  6635. if (dll == null) return 0;
  6636. else
  6637. return dll.DebenuPDFLibrarySelectDocument(instanceID, DocumentID);
  6638. }
  6639. public int SelectFont(int FontID)
  6640. {
  6641. if (dll == null) return 0;
  6642. else
  6643. return dll.DebenuPDFLibrarySelectFont(instanceID, FontID);
  6644. }
  6645. public int SelectImage(int ImageID)
  6646. {
  6647. if (dll == null) return 0;
  6648. else
  6649. return dll.DebenuPDFLibrarySelectImage(instanceID, ImageID);
  6650. }
  6651. public int SelectPage(int PageNumber)
  6652. {
  6653. if (dll == null) return 0;
  6654. else
  6655. return dll.DebenuPDFLibrarySelectPage(instanceID, PageNumber);
  6656. }
  6657. public int SelectRenderer(int RendererID)
  6658. {
  6659. if (dll == null) return 0;
  6660. else
  6661. return dll.DebenuPDFLibrarySelectRenderer(instanceID, RendererID);
  6662. }
  6663. public int SelectedDocument()
  6664. {
  6665. if (dll == null) return 0;
  6666. else
  6667. return dll.DebenuPDFLibrarySelectedDocument(instanceID);
  6668. }
  6669. public int SelectedFont()
  6670. {
  6671. if (dll == null) return 0;
  6672. else
  6673. return dll.DebenuPDFLibrarySelectedFont(instanceID);
  6674. }
  6675. public int SelectedImage()
  6676. {
  6677. if (dll == null) return 0;
  6678. else
  6679. return dll.DebenuPDFLibrarySelectedImage(instanceID);
  6680. }
  6681. public int SelectedPage()
  6682. {
  6683. if (dll == null) return 0;
  6684. else
  6685. return dll.DebenuPDFLibrarySelectedPage(instanceID);
  6686. }
  6687. public int SetActionURL(int ActionID, string NewURL)
  6688. {
  6689. if (dll == null) return 0;
  6690. else
  6691. return dll.DebenuPDFLibrarySetActionURL(instanceID, ActionID, NewURL);
  6692. }
  6693. public int SetAnnotBorderColor(int Index, double Red, double Green, double Blue)
  6694. {
  6695. if (dll == null) return 0;
  6696. else
  6697. return dll.DebenuPDFLibrarySetAnnotBorderColor(instanceID, Index, Red, Green, Blue);
  6698. }
  6699. public int SetAnnotBorderStyle(int Index, double Width, int Style, double DashOn,
  6700. double DashOff)
  6701. {
  6702. if (dll == null) return 0;
  6703. else
  6704. return dll.DebenuPDFLibrarySetAnnotBorderStyle(instanceID, Index, Width, Style,
  6705. DashOn, DashOff);
  6706. }
  6707. public int SetAnnotContents(int Index, string NewContents)
  6708. {
  6709. if (dll == null) return 0;
  6710. else
  6711. return dll.DebenuPDFLibrarySetAnnotContents(instanceID, Index, NewContents);
  6712. }
  6713. public int SetAnnotDblProperty(int Index, int Tag, double NewValue)
  6714. {
  6715. if (dll == null) return 0;
  6716. else
  6717. return dll.DebenuPDFLibrarySetAnnotDblProperty(instanceID, Index, Tag, NewValue);
  6718. }
  6719. public int SetAnnotIntProperty(int Index, int Tag, int NewValue)
  6720. {
  6721. if (dll == null) return 0;
  6722. else
  6723. return dll.DebenuPDFLibrarySetAnnotIntProperty(instanceID, Index, Tag, NewValue);
  6724. }
  6725. public int SetAnnotQuadPoints(int Index, int QuadNumber, double X1, double Y1, double X2,
  6726. double Y2, double X3, double Y3, double X4, double Y4)
  6727. {
  6728. if (dll == null) return 0;
  6729. else
  6730. return dll.DebenuPDFLibrarySetAnnotQuadPoints(instanceID, Index, QuadNumber, X1, Y1,
  6731. X2, Y2, X3, Y3, X4, Y4);
  6732. }
  6733. public int SetAnnotRect(int Index, double Left, double Top, double Width, double Height)
  6734. {
  6735. if (dll == null) return 0;
  6736. else
  6737. return dll.DebenuPDFLibrarySetAnnotRect(instanceID, Index, Left, Top, Width, Height);
  6738. }
  6739. public int SetAnnotStrProperty(int Index, int Tag, string NewValue)
  6740. {
  6741. if (dll == null) return 0;
  6742. else
  6743. return dll.DebenuPDFLibrarySetAnnotStrProperty(instanceID, Index, Tag, NewValue);
  6744. }
  6745. public int SetAnsiMode(int NewAnsiMode)
  6746. {
  6747. if (dll == null) return 0;
  6748. else
  6749. return dll.DebenuPDFLibrarySetAnsiMode(instanceID, NewAnsiMode);
  6750. }
  6751. public int SetBaseURL(string NewBaseURL)
  6752. {
  6753. if (dll == null) return 0;
  6754. else
  6755. return dll.DebenuPDFLibrarySetBaseURL(instanceID, NewBaseURL);
  6756. }
  6757. public int SetBlendMode(int BlendMode)
  6758. {
  6759. if (dll == null) return 0;
  6760. else
  6761. return dll.DebenuPDFLibrarySetBlendMode(instanceID, BlendMode);
  6762. }
  6763. public int SetBreakString(string NewBreakString)
  6764. {
  6765. if (dll == null) return 0;
  6766. else
  6767. return dll.DebenuPDFLibrarySetBreakString(instanceID, NewBreakString);
  6768. }
  6769. public int SetCSDictEPSG(int CSDictID, int NewEPSG)
  6770. {
  6771. if (dll == null) return 0;
  6772. else
  6773. return dll.DebenuPDFLibrarySetCSDictEPSG(instanceID, CSDictID, NewEPSG);
  6774. }
  6775. public int SetCSDictType(int CSDictID, int NewDictType)
  6776. {
  6777. if (dll == null) return 0;
  6778. else
  6779. return dll.DebenuPDFLibrarySetCSDictType(instanceID, CSDictID, NewDictType);
  6780. }
  6781. public int SetCSDictWKT(int CSDictID, string NewWKT)
  6782. {
  6783. if (dll == null) return 0;
  6784. else
  6785. return dll.DebenuPDFLibrarySetCSDictWKT(instanceID, CSDictID, NewWKT);
  6786. }
  6787. public int SetCairoFileName(string FileName)
  6788. {
  6789. if (dll == null) return 0;
  6790. else
  6791. return dll.DebenuPDFLibrarySetCairoFileName(instanceID, FileName);
  6792. }
  6793. public int SetCapturedPageOptional(int CaptureID, int OptionalContentGroupID)
  6794. {
  6795. if (dll == null) return 0;
  6796. else
  6797. return dll.DebenuPDFLibrarySetCapturedPageOptional(instanceID, CaptureID,
  6798. OptionalContentGroupID);
  6799. }
  6800. public int SetCapturedPageTransparencyGroup(int CaptureID, int CS, int Isolate, int Knockout)
  6801. {
  6802. if (dll == null) return 0;
  6803. else
  6804. return dll.DebenuPDFLibrarySetCapturedPageTransparencyGroup(instanceID, CaptureID,
  6805. CS, Isolate, Knockout);
  6806. }
  6807. public int SetCatalogInformation(string Key, string NewValue)
  6808. {
  6809. if (dll == null) return 0;
  6810. else
  6811. return dll.DebenuPDFLibrarySetCatalogInformation(instanceID, Key, NewValue);
  6812. }
  6813. public int SetCharWidth(int CharCode, int NewWidth)
  6814. {
  6815. if (dll == null) return 0;
  6816. else
  6817. return dll.DebenuPDFLibrarySetCharWidth(instanceID, CharCode, NewWidth);
  6818. }
  6819. public int SetClippingPath()
  6820. {
  6821. if (dll == null) return 0;
  6822. else
  6823. return dll.DebenuPDFLibrarySetClippingPath(instanceID);
  6824. }
  6825. public int SetClippingPathEvenOdd()
  6826. {
  6827. if (dll == null) return 0;
  6828. else
  6829. return dll.DebenuPDFLibrarySetClippingPathEvenOdd(instanceID);
  6830. }
  6831. public int SetCompatibility(int CompatibilityItem, int CompatibilityMode)
  6832. {
  6833. if (dll == null) return 0;
  6834. else
  6835. return dll.DebenuPDFLibrarySetCompatibility(instanceID, CompatibilityItem,
  6836. CompatibilityMode);
  6837. }
  6838. public int SetContentStreamFromString(byte[] Source)
  6839. {
  6840. if (dll == null) return 0;
  6841. else
  6842. {
  6843. GCHandle gch = GCHandle.Alloc(Source, GCHandleType.Pinned);
  6844. IntPtr bufferID = dll.DebenuPDFLibraryCreateBuffer(instanceID, Source.Length);
  6845. dll.DebenuPDFLibraryAddToBuffer(instanceID, bufferID, gch.AddrOfPinnedObject(), Source.Length);
  6846. int result = dll.DebenuPDFLibrarySetContentStreamFromString(instanceID, bufferID);
  6847. dll.DebenuPDFLibraryReleaseBuffer(instanceID, bufferID);
  6848. gch.Free();
  6849. return result;
  6850. }
  6851. }
  6852. public int SetContentStreamOptional(int OptionalContentGroupID)
  6853. {
  6854. if (dll == null) return 0;
  6855. else
  6856. return dll.DebenuPDFLibrarySetContentStreamOptional(instanceID,
  6857. OptionalContentGroupID);
  6858. }
  6859. public int SetCropBox(double Left, double Top, double Width, double Height)
  6860. {
  6861. if (dll == null) return 0;
  6862. else
  6863. return dll.DebenuPDFLibrarySetCropBox(instanceID, Left, Top, Width, Height);
  6864. }
  6865. public int SetCustomInformation(string Key, string NewValue)
  6866. {
  6867. if (dll == null) return 0;
  6868. else
  6869. return dll.DebenuPDFLibrarySetCustomInformation(instanceID, Key, NewValue);
  6870. }
  6871. public int SetCustomLineDash(string DashPattern, double DashPhase)
  6872. {
  6873. if (dll == null) return 0;
  6874. else
  6875. return dll.DebenuPDFLibrarySetCustomLineDash(instanceID, DashPattern, DashPhase);
  6876. }
  6877. public int SetDPLRFileName(string FileName)
  6878. {
  6879. if (dll == null) return 0;
  6880. else
  6881. return dll.DebenuPDFLibrarySetDPLRFileName(instanceID, FileName);
  6882. }
  6883. public int SetDestProperties(int DestID, int Zoom, int DestType, double Left, double Top,
  6884. double Right, double Bottom)
  6885. {
  6886. if (dll == null) return 0;
  6887. else
  6888. return dll.DebenuPDFLibrarySetDestProperties(instanceID, DestID, Zoom, DestType,
  6889. Left, Top, Right, Bottom);
  6890. }
  6891. public int SetDestValue(int DestID, int ValueKey, double NewValue)
  6892. {
  6893. if (dll == null) return 0;
  6894. else
  6895. return dll.DebenuPDFLibrarySetDestValue(instanceID, DestID, ValueKey, NewValue);
  6896. }
  6897. public int SetDocumentMetadata(string XMP)
  6898. {
  6899. if (dll == null) return 0;
  6900. else
  6901. return dll.DebenuPDFLibrarySetDocumentMetadata(instanceID, XMP);
  6902. }
  6903. public int SetEmbeddedFileStrProperty(int Index, int Tag, string NewValue)
  6904. {
  6905. if (dll == null) return 0;
  6906. else
  6907. return dll.DebenuPDFLibrarySetEmbeddedFileStrProperty(instanceID, Index, Tag,
  6908. NewValue);
  6909. }
  6910. public int SetFillColor(double Red, double Green, double Blue)
  6911. {
  6912. if (dll == null) return 0;
  6913. else
  6914. return dll.DebenuPDFLibrarySetFillColor(instanceID, Red, Green, Blue);
  6915. }
  6916. public int SetFillColorCMYK(double C, double M, double Y, double K)
  6917. {
  6918. if (dll == null) return 0;
  6919. else
  6920. return dll.DebenuPDFLibrarySetFillColorCMYK(instanceID, C, M, Y, K);
  6921. }
  6922. public int SetFillColorSep(string ColorName, double Tint)
  6923. {
  6924. if (dll == null) return 0;
  6925. else
  6926. return dll.DebenuPDFLibrarySetFillColorSep(instanceID, ColorName, Tint);
  6927. }
  6928. public int SetFillShader(string ShaderName)
  6929. {
  6930. if (dll == null) return 0;
  6931. else
  6932. return dll.DebenuPDFLibrarySetFillShader(instanceID, ShaderName);
  6933. }
  6934. public int SetFillTilingPattern(string PatternName)
  6935. {
  6936. if (dll == null) return 0;
  6937. else
  6938. return dll.DebenuPDFLibrarySetFillTilingPattern(instanceID, PatternName);
  6939. }
  6940. public int SetFindImagesMode(int NewFindImagesMode)
  6941. {
  6942. if (dll == null) return 0;
  6943. else
  6944. return dll.DebenuPDFLibrarySetFindImagesMode(instanceID, NewFindImagesMode);
  6945. }
  6946. public int SetFontEncoding(int Encoding)
  6947. {
  6948. if (dll == null) return 0;
  6949. else
  6950. return dll.DebenuPDFLibrarySetFontEncoding(instanceID, Encoding);
  6951. }
  6952. public int SetFontFlags(int Fixed, int Serif, int Symbolic, int Script, int Italic,
  6953. int AllCap, int SmallCap, int ForceBold)
  6954. {
  6955. if (dll == null) return 0;
  6956. else
  6957. return dll.DebenuPDFLibrarySetFontFlags(instanceID, Fixed, Serif, Symbolic, Script,
  6958. Italic, AllCap, SmallCap, ForceBold);
  6959. }
  6960. public int SetFormFieldAlignment(int Index, int Alignment)
  6961. {
  6962. if (dll == null) return 0;
  6963. else
  6964. return dll.DebenuPDFLibrarySetFormFieldAlignment(instanceID, Index, Alignment);
  6965. }
  6966. public int SetFormFieldAnnotFlags(int Index, int NewFlags)
  6967. {
  6968. if (dll == null) return 0;
  6969. else
  6970. return dll.DebenuPDFLibrarySetFormFieldAnnotFlags(instanceID, Index, NewFlags);
  6971. }
  6972. public int SetFormFieldBackgroundColor(int Index, double Red, double Green, double Blue)
  6973. {
  6974. if (dll == null) return 0;
  6975. else
  6976. return dll.DebenuPDFLibrarySetFormFieldBackgroundColor(instanceID, Index, Red, Green,
  6977. Blue);
  6978. }
  6979. public int SetFormFieldBackgroundColorCMYK(int Index, double C, double M, double Y, double K)
  6980. {
  6981. if (dll == null) return 0;
  6982. else
  6983. return dll.DebenuPDFLibrarySetFormFieldBackgroundColorCMYK(instanceID, Index, C, M,
  6984. Y, K);
  6985. }
  6986. public int SetFormFieldBackgroundColorGray(int Index, double Gray)
  6987. {
  6988. if (dll == null) return 0;
  6989. else
  6990. return dll.DebenuPDFLibrarySetFormFieldBackgroundColorGray(instanceID, Index, Gray);
  6991. }
  6992. public int SetFormFieldBackgroundColorSep(int Index, string ColorName, double Tint)
  6993. {
  6994. if (dll == null) return 0;
  6995. else
  6996. return dll.DebenuPDFLibrarySetFormFieldBackgroundColorSep(instanceID, Index,
  6997. ColorName, Tint);
  6998. }
  6999. public int SetFormFieldBorderColor(int Index, double Red, double Green, double Blue)
  7000. {
  7001. if (dll == null) return 0;
  7002. else
  7003. return dll.DebenuPDFLibrarySetFormFieldBorderColor(instanceID, Index, Red, Green,
  7004. Blue);
  7005. }
  7006. public int SetFormFieldBorderColorCMYK(int Index, double C, double M, double Y, double K)
  7007. {
  7008. if (dll == null) return 0;
  7009. else
  7010. return dll.DebenuPDFLibrarySetFormFieldBorderColorCMYK(instanceID, Index, C, M, Y, K);
  7011. }
  7012. public int SetFormFieldBorderColorGray(int Index, double Gray)
  7013. {
  7014. if (dll == null) return 0;
  7015. else
  7016. return dll.DebenuPDFLibrarySetFormFieldBorderColorGray(instanceID, Index, Gray);
  7017. }
  7018. public int SetFormFieldBorderColorSep(int Index, string ColorName, double Tint)
  7019. {
  7020. if (dll == null) return 0;
  7021. else
  7022. return dll.DebenuPDFLibrarySetFormFieldBorderColorSep(instanceID, Index, ColorName,
  7023. Tint);
  7024. }
  7025. public int SetFormFieldBorderStyle(int Index, double Width, int Style, double DashOn,
  7026. double DashOff)
  7027. {
  7028. if (dll == null) return 0;
  7029. else
  7030. return dll.DebenuPDFLibrarySetFormFieldBorderStyle(instanceID, Index, Width, Style,
  7031. DashOn, DashOff);
  7032. }
  7033. public int SetFormFieldBounds(int Index, double Left, double Top, double Width,
  7034. double Height)
  7035. {
  7036. if (dll == null) return 0;
  7037. else
  7038. return dll.DebenuPDFLibrarySetFormFieldBounds(instanceID, Index, Left, Top, Width,
  7039. Height);
  7040. }
  7041. public int SetFormFieldCalcOrder(int Index, int Order)
  7042. {
  7043. if (dll == null) return 0;
  7044. else
  7045. return dll.DebenuPDFLibrarySetFormFieldCalcOrder(instanceID, Index, Order);
  7046. }
  7047. public int SetFormFieldCaption(int Index, string NewCaption)
  7048. {
  7049. if (dll == null) return 0;
  7050. else
  7051. return dll.DebenuPDFLibrarySetFormFieldCaption(instanceID, Index, NewCaption);
  7052. }
  7053. public int SetFormFieldCheckStyle(int Index, int CheckStyle, int Position)
  7054. {
  7055. if (dll == null) return 0;
  7056. else
  7057. return dll.DebenuPDFLibrarySetFormFieldCheckStyle(instanceID, Index, CheckStyle,
  7058. Position);
  7059. }
  7060. public int SetFormFieldChildTitle(int Index, string NewTitle)
  7061. {
  7062. if (dll == null) return 0;
  7063. else
  7064. return dll.DebenuPDFLibrarySetFormFieldChildTitle(instanceID, Index, NewTitle);
  7065. }
  7066. public int SetFormFieldChoiceSub(int Index, int SubIndex, string SubName, string DisplayName)
  7067. {
  7068. if (dll == null) return 0;
  7069. else
  7070. return dll.DebenuPDFLibrarySetFormFieldChoiceSub(instanceID, Index, SubIndex,
  7071. SubName, DisplayName);
  7072. }
  7073. public int SetFormFieldChoiceType(int Index, int ChoiceType)
  7074. {
  7075. if (dll == null) return 0;
  7076. else
  7077. return dll.DebenuPDFLibrarySetFormFieldChoiceType(instanceID, Index, ChoiceType);
  7078. }
  7079. public int SetFormFieldColor(int Index, double Red, double Green, double Blue)
  7080. {
  7081. if (dll == null) return 0;
  7082. else
  7083. return dll.DebenuPDFLibrarySetFormFieldColor(instanceID, Index, Red, Green, Blue);
  7084. }
  7085. public int SetFormFieldColorCMYK(int Index, double C, double M, double Y, double K)
  7086. {
  7087. if (dll == null) return 0;
  7088. else
  7089. return dll.DebenuPDFLibrarySetFormFieldColorCMYK(instanceID, Index, C, M, Y, K);
  7090. }
  7091. public int SetFormFieldColorSep(int Index, string ColorName, double Tint)
  7092. {
  7093. if (dll == null) return 0;
  7094. else
  7095. return dll.DebenuPDFLibrarySetFormFieldColorSep(instanceID, Index, ColorName, Tint);
  7096. }
  7097. public int SetFormFieldComb(int Index, int Comb)
  7098. {
  7099. if (dll == null) return 0;
  7100. else
  7101. return dll.DebenuPDFLibrarySetFormFieldComb(instanceID, Index, Comb);
  7102. }
  7103. public int SetFormFieldDefaultValue(int Index, string NewDefaultValue)
  7104. {
  7105. if (dll == null) return 0;
  7106. else
  7107. return dll.DebenuPDFLibrarySetFormFieldDefaultValue(instanceID, Index,
  7108. NewDefaultValue);
  7109. }
  7110. public int SetFormFieldDescription(int Index, string NewDescription)
  7111. {
  7112. if (dll == null) return 0;
  7113. else
  7114. return dll.DebenuPDFLibrarySetFormFieldDescription(instanceID, Index, NewDescription);
  7115. }
  7116. public int SetFormFieldFlags(int Index, int NewFlags)
  7117. {
  7118. if (dll == null) return 0;
  7119. else
  7120. return dll.DebenuPDFLibrarySetFormFieldFlags(instanceID, Index, NewFlags);
  7121. }
  7122. public int SetFormFieldFont(int Index, int FontIndex)
  7123. {
  7124. if (dll == null) return 0;
  7125. else
  7126. return dll.DebenuPDFLibrarySetFormFieldFont(instanceID, Index, FontIndex);
  7127. }
  7128. public int SetFormFieldHighlightMode(int Index, int NewMode)
  7129. {
  7130. if (dll == null) return 0;
  7131. else
  7132. return dll.DebenuPDFLibrarySetFormFieldHighlightMode(instanceID, Index, NewMode);
  7133. }
  7134. public int SetFormFieldIcon(int Index, int IconType, int CaptureID)
  7135. {
  7136. if (dll == null) return 0;
  7137. else
  7138. return dll.DebenuPDFLibrarySetFormFieldIcon(instanceID, Index, IconType, CaptureID);
  7139. }
  7140. public int SetFormFieldIconStyle(int Index, int Placement, int Scale, int ScaleType,
  7141. int HorizontalShift, int VerticalShift)
  7142. {
  7143. if (dll == null) return 0;
  7144. else
  7145. return dll.DebenuPDFLibrarySetFormFieldIconStyle(instanceID, Index, Placement, Scale,
  7146. ScaleType, HorizontalShift, VerticalShift);
  7147. }
  7148. public int SetFormFieldMaxLen(int Index, int NewMaxLen)
  7149. {
  7150. if (dll == null) return 0;
  7151. else
  7152. return dll.DebenuPDFLibrarySetFormFieldMaxLen(instanceID, Index, NewMaxLen);
  7153. }
  7154. public int SetFormFieldNoExport(int Index, int NoExport)
  7155. {
  7156. if (dll == null) return 0;
  7157. else
  7158. return dll.DebenuPDFLibrarySetFormFieldNoExport(instanceID, Index, NoExport);
  7159. }
  7160. public int SetFormFieldOptional(int Index, int OptionalContentGroupID)
  7161. {
  7162. if (dll == null) return 0;
  7163. else
  7164. return dll.DebenuPDFLibrarySetFormFieldOptional(instanceID, Index,
  7165. OptionalContentGroupID);
  7166. }
  7167. public int SetFormFieldPage(int Index, int NewPage)
  7168. {
  7169. if (dll == null) return 0;
  7170. else
  7171. return dll.DebenuPDFLibrarySetFormFieldPage(instanceID, Index, NewPage);
  7172. }
  7173. public int SetFormFieldPrintable(int Index, int Printable)
  7174. {
  7175. if (dll == null) return 0;
  7176. else
  7177. return dll.DebenuPDFLibrarySetFormFieldPrintable(instanceID, Index, Printable);
  7178. }
  7179. public int SetFormFieldReadOnly(int Index, int ReadOnly)
  7180. {
  7181. if (dll == null) return 0;
  7182. else
  7183. return dll.DebenuPDFLibrarySetFormFieldReadOnly(instanceID, Index, ReadOnly);
  7184. }
  7185. public int SetFormFieldRequired(int Index, int Required)
  7186. {
  7187. if (dll == null) return 0;
  7188. else
  7189. return dll.DebenuPDFLibrarySetFormFieldRequired(instanceID, Index, Required);
  7190. }
  7191. public int SetFormFieldResetAction(int Index, string ActionType)
  7192. {
  7193. if (dll == null) return 0;
  7194. else
  7195. return dll.DebenuPDFLibrarySetFormFieldResetAction(instanceID, Index, ActionType);
  7196. }
  7197. public int SetFormFieldRichTextString(int Index, string Key, string NewValue)
  7198. {
  7199. if (dll == null) return 0;
  7200. else
  7201. return dll.DebenuPDFLibrarySetFormFieldRichTextString(instanceID, Index, Key,
  7202. NewValue);
  7203. }
  7204. public int SetFormFieldRotation(int Index, int Angle)
  7205. {
  7206. if (dll == null) return 0;
  7207. else
  7208. return dll.DebenuPDFLibrarySetFormFieldRotation(instanceID, Index, Angle);
  7209. }
  7210. public int SetFormFieldSignatureImage(int Index, int ImageID, int Options)
  7211. {
  7212. if (dll == null) return 0;
  7213. else
  7214. return dll.DebenuPDFLibrarySetFormFieldSignatureImage(instanceID, Index, ImageID,
  7215. Options);
  7216. }
  7217. public int SetFormFieldStandardFont(int Index, int StandardFontID)
  7218. {
  7219. if (dll == null) return 0;
  7220. else
  7221. return dll.DebenuPDFLibrarySetFormFieldStandardFont(instanceID, Index,
  7222. StandardFontID);
  7223. }
  7224. public int SetFormFieldSubmitAction(int Index, string ActionType, string Link)
  7225. {
  7226. if (dll == null) return 0;
  7227. else
  7228. return dll.DebenuPDFLibrarySetFormFieldSubmitAction(instanceID, Index, ActionType,
  7229. Link);
  7230. }
  7231. public int SetFormFieldSubmitActionEx(int Index, string ActionType, string Link, int Flags)
  7232. {
  7233. if (dll == null) return 0;
  7234. else
  7235. return dll.DebenuPDFLibrarySetFormFieldSubmitActionEx(instanceID, Index, ActionType,
  7236. Link, Flags);
  7237. }
  7238. public int SetFormFieldTabOrder(int Index, int Order)
  7239. {
  7240. if (dll == null) return 0;
  7241. else
  7242. return dll.DebenuPDFLibrarySetFormFieldTabOrder(instanceID, Index, Order);
  7243. }
  7244. public int SetFormFieldTextFlags(int Index, int Multiline, int Password, int FileSelect,
  7245. int DoNotSpellCheck, int DoNotScroll)
  7246. {
  7247. if (dll == null) return 0;
  7248. else
  7249. return dll.DebenuPDFLibrarySetFormFieldTextFlags(instanceID, Index, Multiline,
  7250. Password, FileSelect, DoNotSpellCheck, DoNotScroll);
  7251. }
  7252. public int SetFormFieldTextSize(int Index, double NewTextSize)
  7253. {
  7254. if (dll == null) return 0;
  7255. else
  7256. return dll.DebenuPDFLibrarySetFormFieldTextSize(instanceID, Index, NewTextSize);
  7257. }
  7258. public int SetFormFieldTitle(int Index, string NewTitle)
  7259. {
  7260. if (dll == null) return 0;
  7261. else
  7262. return dll.DebenuPDFLibrarySetFormFieldTitle(instanceID, Index, NewTitle);
  7263. }
  7264. public int SetFormFieldValue(int Index, string NewValue)
  7265. {
  7266. if (dll == null) return 0;
  7267. else
  7268. return dll.DebenuPDFLibrarySetFormFieldValue(instanceID, Index, NewValue);
  7269. }
  7270. public int SetFormFieldValueByTitle(string Title, string NewValue)
  7271. {
  7272. if (dll == null) return 0;
  7273. else
  7274. return dll.DebenuPDFLibrarySetFormFieldValueByTitle(instanceID, Title, NewValue);
  7275. }
  7276. public int SetFormFieldVisible(int Index, int Visible)
  7277. {
  7278. if (dll == null) return 0;
  7279. else
  7280. return dll.DebenuPDFLibrarySetFormFieldVisible(instanceID, Index, Visible);
  7281. }
  7282. public int SetGDIPlusFileName(string DLLFileName)
  7283. {
  7284. if (dll == null) return 0;
  7285. else
  7286. return dll.DebenuPDFLibrarySetGDIPlusFileName(instanceID, DLLFileName);
  7287. }
  7288. public int SetGDIPlusOptions(int OptionID, int NewValue)
  7289. {
  7290. if (dll == null) return 0;
  7291. else
  7292. return dll.DebenuPDFLibrarySetGDIPlusOptions(instanceID, OptionID, NewValue);
  7293. }
  7294. public int SetHTMLBoldFont(string FontSet, int FontID)
  7295. {
  7296. if (dll == null) return 0;
  7297. else
  7298. return dll.DebenuPDFLibrarySetHTMLBoldFont(instanceID, FontSet, FontID);
  7299. }
  7300. public int SetHTMLBoldItalicFont(string FontSet, int FontID)
  7301. {
  7302. if (dll == null) return 0;
  7303. else
  7304. return dll.DebenuPDFLibrarySetHTMLBoldItalicFont(instanceID, FontSet, FontID);
  7305. }
  7306. public int SetHTMLItalicFont(string FontSet, int FontID)
  7307. {
  7308. if (dll == null) return 0;
  7309. else
  7310. return dll.DebenuPDFLibrarySetHTMLItalicFont(instanceID, FontSet, FontID);
  7311. }
  7312. public int SetHTMLNormalFont(string FontSet, int FontID)
  7313. {
  7314. if (dll == null) return 0;
  7315. else
  7316. return dll.DebenuPDFLibrarySetHTMLNormalFont(instanceID, FontSet, FontID);
  7317. }
  7318. public int SetHeaderCommentsFromString(byte[] Source)
  7319. {
  7320. if (dll == null) return 0;
  7321. else
  7322. {
  7323. GCHandle gch = GCHandle.Alloc(Source, GCHandleType.Pinned);
  7324. IntPtr bufferID = dll.DebenuPDFLibraryCreateBuffer(instanceID, Source.Length);
  7325. dll.DebenuPDFLibraryAddToBuffer(instanceID, bufferID, gch.AddrOfPinnedObject(), Source.Length);
  7326. int result = dll.DebenuPDFLibrarySetHeaderCommentsFromString(instanceID, bufferID);
  7327. dll.DebenuPDFLibraryReleaseBuffer(instanceID, bufferID);
  7328. gch.Free();
  7329. return result;
  7330. }
  7331. }
  7332. public int SetImageAsMask(int MaskType)
  7333. {
  7334. if (dll == null) return 0;
  7335. else
  7336. return dll.DebenuPDFLibrarySetImageAsMask(instanceID, MaskType);
  7337. }
  7338. public int SetImageMask(double FromRed, double FromGreen, double FromBlue, double ToRed,
  7339. double ToGreen, double ToBlue)
  7340. {
  7341. if (dll == null) return 0;
  7342. else
  7343. return dll.DebenuPDFLibrarySetImageMask(instanceID, FromRed, FromGreen, FromBlue,
  7344. ToRed, ToGreen, ToBlue);
  7345. }
  7346. public int SetImageMaskCMYK(double FromC, double FromM, double FromY, double FromK,
  7347. double ToC, double ToM, double ToY, double ToK)
  7348. {
  7349. if (dll == null) return 0;
  7350. else
  7351. return dll.DebenuPDFLibrarySetImageMaskCMYK(instanceID, FromC, FromM, FromY, FromK,
  7352. ToC, ToM, ToY, ToK);
  7353. }
  7354. public int SetImageMaskFromImage(int ImageID)
  7355. {
  7356. if (dll == null) return 0;
  7357. else
  7358. return dll.DebenuPDFLibrarySetImageMaskFromImage(instanceID, ImageID);
  7359. }
  7360. public int SetImageOptional(int OptionalContentGroupID)
  7361. {
  7362. if (dll == null) return 0;
  7363. else
  7364. return dll.DebenuPDFLibrarySetImageOptional(instanceID, OptionalContentGroupID);
  7365. }
  7366. public int SetImageResolution(int Horizontal, int Vertical, int Units)
  7367. {
  7368. if (dll == null) return 0;
  7369. else
  7370. return dll.DebenuPDFLibrarySetImageResolution(instanceID, Horizontal, Vertical,
  7371. Units);
  7372. }
  7373. public int SetInformation(int Key, string NewValue)
  7374. {
  7375. if (dll == null) return 0;
  7376. else
  7377. return dll.DebenuPDFLibrarySetInformation(instanceID, Key, NewValue);
  7378. }
  7379. public int SetJPEGQuality(int Quality)
  7380. {
  7381. if (dll == null) return 0;
  7382. else
  7383. return dll.DebenuPDFLibrarySetJPEGQuality(instanceID, Quality);
  7384. }
  7385. public int SetJavaScriptMode(int JSMode)
  7386. {
  7387. if (dll == null) return 0;
  7388. else
  7389. return dll.DebenuPDFLibrarySetJavaScriptMode(instanceID, JSMode);
  7390. }
  7391. public int SetKerning(string CharPair, int Adjustment)
  7392. {
  7393. if (dll == null) return 0;
  7394. else
  7395. return dll.DebenuPDFLibrarySetKerning(instanceID, CharPair, Adjustment);
  7396. }
  7397. public int SetLineCap(int LineCap)
  7398. {
  7399. if (dll == null) return 0;
  7400. else
  7401. return dll.DebenuPDFLibrarySetLineCap(instanceID, LineCap);
  7402. }
  7403. public int SetLineColor(double Red, double Green, double Blue)
  7404. {
  7405. if (dll == null) return 0;
  7406. else
  7407. return dll.DebenuPDFLibrarySetLineColor(instanceID, Red, Green, Blue);
  7408. }
  7409. public int SetLineColorCMYK(double C, double M, double Y, double K)
  7410. {
  7411. if (dll == null) return 0;
  7412. else
  7413. return dll.DebenuPDFLibrarySetLineColorCMYK(instanceID, C, M, Y, K);
  7414. }
  7415. public int SetLineColorSep(string ColorName, double Tint)
  7416. {
  7417. if (dll == null) return 0;
  7418. else
  7419. return dll.DebenuPDFLibrarySetLineColorSep(instanceID, ColorName, Tint);
  7420. }
  7421. public int SetLineDash(double DashOn, double DashOff)
  7422. {
  7423. if (dll == null) return 0;
  7424. else
  7425. return dll.DebenuPDFLibrarySetLineDash(instanceID, DashOn, DashOff);
  7426. }
  7427. public int SetLineDashEx(string DashValues)
  7428. {
  7429. if (dll == null) return 0;
  7430. else
  7431. return dll.DebenuPDFLibrarySetLineDashEx(instanceID, DashValues);
  7432. }
  7433. public int SetLineJoin(int LineJoin)
  7434. {
  7435. if (dll == null) return 0;
  7436. else
  7437. return dll.DebenuPDFLibrarySetLineJoin(instanceID, LineJoin);
  7438. }
  7439. public int SetLineShader(string ShaderName)
  7440. {
  7441. if (dll == null) return 0;
  7442. else
  7443. return dll.DebenuPDFLibrarySetLineShader(instanceID, ShaderName);
  7444. }
  7445. public int SetLineWidth(double LineWidth)
  7446. {
  7447. if (dll == null) return 0;
  7448. else
  7449. return dll.DebenuPDFLibrarySetLineWidth(instanceID, LineWidth);
  7450. }
  7451. public int SetMarkupAnnotStyle(int Index, double Red, double Green, double Blue,
  7452. double Transparency)
  7453. {
  7454. if (dll == null) return 0;
  7455. else
  7456. return dll.DebenuPDFLibrarySetMarkupAnnotStyle(instanceID, Index, Red, Green, Blue,
  7457. Transparency);
  7458. }
  7459. public int SetMeasureDictBoundsCount(int MeasureDictID, int NewCount)
  7460. {
  7461. if (dll == null) return 0;
  7462. else
  7463. return dll.DebenuPDFLibrarySetMeasureDictBoundsCount(instanceID, MeasureDictID,
  7464. NewCount);
  7465. }
  7466. public int SetMeasureDictBoundsItem(int MeasureDictID, int ItemIndex, double NewValue)
  7467. {
  7468. if (dll == null) return 0;
  7469. else
  7470. return dll.DebenuPDFLibrarySetMeasureDictBoundsItem(instanceID, MeasureDictID,
  7471. ItemIndex, NewValue);
  7472. }
  7473. public int SetMeasureDictCoordinateSystem(int MeasureDictID, int CoordinateSystemID)
  7474. {
  7475. if (dll == null) return 0;
  7476. else
  7477. return dll.DebenuPDFLibrarySetMeasureDictCoordinateSystem(instanceID, MeasureDictID,
  7478. CoordinateSystemID);
  7479. }
  7480. public int SetMeasureDictGPTSCount(int MeasureDictID, int NewCount)
  7481. {
  7482. if (dll == null) return 0;
  7483. else
  7484. return dll.DebenuPDFLibrarySetMeasureDictGPTSCount(instanceID, MeasureDictID,
  7485. NewCount);
  7486. }
  7487. public int SetMeasureDictGPTSItem(int MeasureDictID, int ItemIndex, double NewValue)
  7488. {
  7489. if (dll == null) return 0;
  7490. else
  7491. return dll.DebenuPDFLibrarySetMeasureDictGPTSItem(instanceID, MeasureDictID,
  7492. ItemIndex, NewValue);
  7493. }
  7494. public int SetMeasureDictLPTSCount(int MeasureDictID, int NewCount)
  7495. {
  7496. if (dll == null) return 0;
  7497. else
  7498. return dll.DebenuPDFLibrarySetMeasureDictLPTSCount(instanceID, MeasureDictID,
  7499. NewCount);
  7500. }
  7501. public int SetMeasureDictLPTSItem(int MeasureDictID, int ItemIndex, double NewValue)
  7502. {
  7503. if (dll == null) return 0;
  7504. else
  7505. return dll.DebenuPDFLibrarySetMeasureDictLPTSItem(instanceID, MeasureDictID,
  7506. ItemIndex, NewValue);
  7507. }
  7508. public int SetMeasureDictPDU(int MeasureDictID, int LinearUnit, int AreaUnit,
  7509. int AngularUnit)
  7510. {
  7511. if (dll == null) return 0;
  7512. else
  7513. return dll.DebenuPDFLibrarySetMeasureDictPDU(instanceID, MeasureDictID, LinearUnit,
  7514. AreaUnit, AngularUnit);
  7515. }
  7516. public int SetMeasurementUnits(int MeasurementUnits)
  7517. {
  7518. if (dll == null) return 0;
  7519. else
  7520. return dll.DebenuPDFLibrarySetMeasurementUnits(instanceID, MeasurementUnits);
  7521. }
  7522. public int SetNeedAppearances(int NewValue)
  7523. {
  7524. if (dll == null) return 0;
  7525. else
  7526. return dll.DebenuPDFLibrarySetNeedAppearances(instanceID, NewValue);
  7527. }
  7528. public int SetObjectFromString(int ObjectNumber, byte[] Source)
  7529. {
  7530. if (dll == null) return 0;
  7531. else
  7532. {
  7533. GCHandle gch = GCHandle.Alloc(Source, GCHandleType.Pinned);
  7534. IntPtr bufferID = dll.DebenuPDFLibraryCreateBuffer(instanceID, Source.Length);
  7535. dll.DebenuPDFLibraryAddToBuffer(instanceID, bufferID, gch.AddrOfPinnedObject(), Source.Length);
  7536. int result = dll.DebenuPDFLibrarySetObjectFromString(instanceID, ObjectNumber,
  7537. bufferID);
  7538. dll.DebenuPDFLibraryReleaseBuffer(instanceID, bufferID);
  7539. gch.Free();
  7540. return result;
  7541. }
  7542. }
  7543. public int SetOpenActionDestination(int OpenPage, int Zoom)
  7544. {
  7545. if (dll == null) return 0;
  7546. else
  7547. return dll.DebenuPDFLibrarySetOpenActionDestination(instanceID, OpenPage, Zoom);
  7548. }
  7549. public int SetOpenActionDestinationFull(int OpenPage, int Zoom, int DestType, double Left,
  7550. double Top, double Right, double Bottom)
  7551. {
  7552. if (dll == null) return 0;
  7553. else
  7554. return dll.DebenuPDFLibrarySetOpenActionDestinationFull(instanceID, OpenPage, Zoom,
  7555. DestType, Left, Top, Right, Bottom);
  7556. }
  7557. public int SetOpenActionJavaScript(string JavaScript)
  7558. {
  7559. if (dll == null) return 0;
  7560. else
  7561. return dll.DebenuPDFLibrarySetOpenActionJavaScript(instanceID, JavaScript);
  7562. }
  7563. public int SetOpenActionMenu(string MenuItem)
  7564. {
  7565. if (dll == null) return 0;
  7566. else
  7567. return dll.DebenuPDFLibrarySetOpenActionMenu(instanceID, MenuItem);
  7568. }
  7569. public int SetOptionalContentConfigLocked(int OptionalContentConfigID,
  7570. int OptionalContentGroupID, int NewLocked)
  7571. {
  7572. if (dll == null) return 0;
  7573. else
  7574. return dll.DebenuPDFLibrarySetOptionalContentConfigLocked(instanceID,
  7575. OptionalContentConfigID, OptionalContentGroupID, NewLocked);
  7576. }
  7577. public int SetOptionalContentConfigState(int OptionalContentConfigID,
  7578. int OptionalContentGroupID, int NewState)
  7579. {
  7580. if (dll == null) return 0;
  7581. else
  7582. return dll.DebenuPDFLibrarySetOptionalContentConfigState(instanceID,
  7583. OptionalContentConfigID, OptionalContentGroupID, NewState);
  7584. }
  7585. public int SetOptionalContentGroupName(int OptionalContentGroupID, string NewGroupName)
  7586. {
  7587. if (dll == null) return 0;
  7588. else
  7589. return dll.DebenuPDFLibrarySetOptionalContentGroupName(instanceID,
  7590. OptionalContentGroupID, NewGroupName);
  7591. }
  7592. public int SetOptionalContentGroupPrintable(int OptionalContentGroupID, int Printable)
  7593. {
  7594. if (dll == null) return 0;
  7595. else
  7596. return dll.DebenuPDFLibrarySetOptionalContentGroupPrintable(instanceID,
  7597. OptionalContentGroupID, Printable);
  7598. }
  7599. public int SetOptionalContentGroupVisible(int OptionalContentGroupID, int Visible)
  7600. {
  7601. if (dll == null) return 0;
  7602. else
  7603. return dll.DebenuPDFLibrarySetOptionalContentGroupVisible(instanceID,
  7604. OptionalContentGroupID, Visible);
  7605. }
  7606. public int SetOrigin(int Origin)
  7607. {
  7608. if (dll == null) return 0;
  7609. else
  7610. return dll.DebenuPDFLibrarySetOrigin(instanceID, Origin);
  7611. }
  7612. public int SetOutlineColor(int OutlineID, double Red, double Green, double Blue)
  7613. {
  7614. if (dll == null) return 0;
  7615. else
  7616. return dll.DebenuPDFLibrarySetOutlineColor(instanceID, OutlineID, Red, Green, Blue);
  7617. }
  7618. public int SetOutlineDestination(int OutlineID, int DestPage, double DestPosition)
  7619. {
  7620. if (dll == null) return 0;
  7621. else
  7622. return dll.DebenuPDFLibrarySetOutlineDestination(instanceID, OutlineID, DestPage,
  7623. DestPosition);
  7624. }
  7625. public int SetOutlineDestinationFull(int OutlineID, int DestPage, int Zoom, int DestType,
  7626. double Left, double Top, double Right, double Bottom)
  7627. {
  7628. if (dll == null) return 0;
  7629. else
  7630. return dll.DebenuPDFLibrarySetOutlineDestinationFull(instanceID, OutlineID, DestPage,
  7631. Zoom, DestType, Left, Top, Right, Bottom);
  7632. }
  7633. public int SetOutlineDestinationZoom(int OutlineID, int DestPage, double DestPosition,
  7634. int Zoom)
  7635. {
  7636. if (dll == null) return 0;
  7637. else
  7638. return dll.DebenuPDFLibrarySetOutlineDestinationZoom(instanceID, OutlineID, DestPage,
  7639. DestPosition, Zoom);
  7640. }
  7641. public int SetOutlineJavaScript(int OutlineID, string JavaScript)
  7642. {
  7643. if (dll == null) return 0;
  7644. else
  7645. return dll.DebenuPDFLibrarySetOutlineJavaScript(instanceID, OutlineID, JavaScript);
  7646. }
  7647. public int SetOutlineNamedDestination(int OutlineID, string DestName)
  7648. {
  7649. if (dll == null) return 0;
  7650. else
  7651. return dll.DebenuPDFLibrarySetOutlineNamedDestination(instanceID, OutlineID,
  7652. DestName);
  7653. }
  7654. public int SetOutlineOpenFile(int OutlineID, string FileName)
  7655. {
  7656. if (dll == null) return 0;
  7657. else
  7658. return dll.DebenuPDFLibrarySetOutlineOpenFile(instanceID, OutlineID, FileName);
  7659. }
  7660. public int SetOutlineRemoteDestination(int OutlineID, string FileName, int OpenPage,
  7661. int Zoom, int DestType, double PntLeft, double PntTop, double PntRight, double PntBottom,
  7662. int NewWindow)
  7663. {
  7664. if (dll == null) return 0;
  7665. else
  7666. return dll.DebenuPDFLibrarySetOutlineRemoteDestination(instanceID, OutlineID,
  7667. FileName, OpenPage, Zoom, DestType, PntLeft, PntTop, PntRight, PntBottom,
  7668. NewWindow);
  7669. }
  7670. public int SetOutlineStyle(int OutlineID, int SetItalic, int SetBold)
  7671. {
  7672. if (dll == null) return 0;
  7673. else
  7674. return dll.DebenuPDFLibrarySetOutlineStyle(instanceID, OutlineID, SetItalic, SetBold);
  7675. }
  7676. public int SetOutlineTitle(int OutlineID, string NewTitle)
  7677. {
  7678. if (dll == null) return 0;
  7679. else
  7680. return dll.DebenuPDFLibrarySetOutlineTitle(instanceID, OutlineID, NewTitle);
  7681. }
  7682. public int SetOutlineWebLink(int OutlineID, string Link)
  7683. {
  7684. if (dll == null) return 0;
  7685. else
  7686. return dll.DebenuPDFLibrarySetOutlineWebLink(instanceID, OutlineID, Link);
  7687. }
  7688. public int SetOverprint(int StrokingOverprint, int OtherOverprint, int OverprintMode)
  7689. {
  7690. if (dll == null) return 0;
  7691. else
  7692. return dll.DebenuPDFLibrarySetOverprint(instanceID, StrokingOverprint,
  7693. OtherOverprint, OverprintMode);
  7694. }
  7695. public int SetPDFAMode(int NewMode)
  7696. {
  7697. if (dll == null) return 0;
  7698. else
  7699. return dll.DebenuPDFLibrarySetPDFAMode(instanceID, NewMode);
  7700. }
  7701. public int SetPNGTransparencyColor(int RedByte, int GreenByte, int BlueByte)
  7702. {
  7703. if (dll == null) return 0;
  7704. else
  7705. return dll.DebenuPDFLibrarySetPNGTransparencyColor(instanceID, RedByte, GreenByte,
  7706. BlueByte);
  7707. }
  7708. public int SetPageActionMenu(string MenuItem)
  7709. {
  7710. if (dll == null) return 0;
  7711. else
  7712. return dll.DebenuPDFLibrarySetPageActionMenu(instanceID, MenuItem);
  7713. }
  7714. public int SetPageBox(int BoxType, double Left, double Top, double Width, double Height)
  7715. {
  7716. if (dll == null) return 0;
  7717. else
  7718. return dll.DebenuPDFLibrarySetPageBox(instanceID, BoxType, Left, Top, Width, Height);
  7719. }
  7720. public int SetPageContentFromString(byte[] Source)
  7721. {
  7722. if (dll == null) return 0;
  7723. else
  7724. {
  7725. GCHandle gch = GCHandle.Alloc(Source, GCHandleType.Pinned);
  7726. IntPtr bufferID = dll.DebenuPDFLibraryCreateBuffer(instanceID, Source.Length);
  7727. dll.DebenuPDFLibraryAddToBuffer(instanceID, bufferID, gch.AddrOfPinnedObject(), Source.Length);
  7728. int result = dll.DebenuPDFLibrarySetPageContentFromString(instanceID, bufferID);
  7729. dll.DebenuPDFLibraryReleaseBuffer(instanceID, bufferID);
  7730. gch.Free();
  7731. return result;
  7732. }
  7733. }
  7734. public int SetPageDimensions(double NewPageWidth, double NewPageHeight)
  7735. {
  7736. if (dll == null) return 0;
  7737. else
  7738. return dll.DebenuPDFLibrarySetPageDimensions(instanceID, NewPageWidth, NewPageHeight);
  7739. }
  7740. public int SetPageLayout(int NewPageLayout)
  7741. {
  7742. if (dll == null) return 0;
  7743. else
  7744. return dll.DebenuPDFLibrarySetPageLayout(instanceID, NewPageLayout);
  7745. }
  7746. public int SetPageMode(int NewPageMode)
  7747. {
  7748. if (dll == null) return 0;
  7749. else
  7750. return dll.DebenuPDFLibrarySetPageMode(instanceID, NewPageMode);
  7751. }
  7752. public int SetPageSize(string PaperName)
  7753. {
  7754. if (dll == null) return 0;
  7755. else
  7756. return dll.DebenuPDFLibrarySetPageSize(instanceID, PaperName);
  7757. }
  7758. public int SetPageThumbnail()
  7759. {
  7760. if (dll == null) return 0;
  7761. else
  7762. return dll.DebenuPDFLibrarySetPageThumbnail(instanceID);
  7763. }
  7764. public int SetPageTransparencyGroup(int CS, int Isolate, int Knockout)
  7765. {
  7766. if (dll == null) return 0;
  7767. else
  7768. return dll.DebenuPDFLibrarySetPageTransparencyGroup(instanceID, CS, Isolate,
  7769. Knockout);
  7770. }
  7771. public int SetPrecision(int NewPrecision)
  7772. {
  7773. if (dll == null) return 0;
  7774. else
  7775. return dll.DebenuPDFLibrarySetPrecision(instanceID, NewPrecision);
  7776. }
  7777. public int SetPrinterDevModeFromString(byte[] Source)
  7778. {
  7779. if (dll == null) return 0;
  7780. else
  7781. {
  7782. GCHandle gch = GCHandle.Alloc(Source, GCHandleType.Pinned);
  7783. IntPtr bufferID = dll.DebenuPDFLibraryCreateBuffer(instanceID, Source.Length);
  7784. dll.DebenuPDFLibraryAddToBuffer(instanceID, bufferID, gch.AddrOfPinnedObject(), Source.Length);
  7785. int result = dll.DebenuPDFLibrarySetPrinterDevModeFromString(instanceID, bufferID);
  7786. dll.DebenuPDFLibraryReleaseBuffer(instanceID, bufferID);
  7787. gch.Free();
  7788. return result;
  7789. }
  7790. }
  7791. public int SetRenderCropType(int NewCropType)
  7792. {
  7793. if (dll == null) return 0;
  7794. else
  7795. return dll.DebenuPDFLibrarySetRenderCropType(instanceID, NewCropType);
  7796. }
  7797. public int SetRenderDCErasePage(int NewErasePage)
  7798. {
  7799. if (dll == null) return 0;
  7800. else
  7801. return dll.DebenuPDFLibrarySetRenderDCErasePage(instanceID, NewErasePage);
  7802. }
  7803. public int SetRenderDCOffset(int NewOffsetX, int NewOffsetY)
  7804. {
  7805. if (dll == null) return 0;
  7806. else
  7807. return dll.DebenuPDFLibrarySetRenderDCOffset(instanceID, NewOffsetX, NewOffsetY);
  7808. }
  7809. public int SetRenderOptions(int OptionID, int NewValue)
  7810. {
  7811. if (dll == null) return 0;
  7812. else
  7813. return dll.DebenuPDFLibrarySetRenderOptions(instanceID, OptionID, NewValue);
  7814. }
  7815. public int SetRenderScale(double NewScale)
  7816. {
  7817. if (dll == null) return 0;
  7818. else
  7819. return dll.DebenuPDFLibrarySetRenderScale(instanceID, NewScale);
  7820. }
  7821. public int SetScale(double NewScale)
  7822. {
  7823. if (dll == null) return 0;
  7824. else
  7825. return dll.DebenuPDFLibrarySetScale(instanceID, NewScale);
  7826. }
  7827. public int SetSignProcessField(int SignProcessID, string SignatureFieldName)
  7828. {
  7829. if (dll == null) return 0;
  7830. else
  7831. return dll.DebenuPDFLibrarySetSignProcessField(instanceID, SignProcessID,
  7832. SignatureFieldName);
  7833. }
  7834. public int SetSignProcessFieldBounds(int SignProcessID, double Left, double Top,
  7835. double Width, double Height)
  7836. {
  7837. if (dll == null) return 0;
  7838. else
  7839. return dll.DebenuPDFLibrarySetSignProcessFieldBounds(instanceID, SignProcessID, Left,
  7840. Top, Width, Height);
  7841. }
  7842. public int SetSignProcessFieldImageFromFile(int SignProcessID, string ImageFileName,
  7843. int Options)
  7844. {
  7845. if (dll == null) return 0;
  7846. else
  7847. return dll.DebenuPDFLibrarySetSignProcessFieldImageFromFile(instanceID,
  7848. SignProcessID, ImageFileName, Options);
  7849. }
  7850. public int SetSignProcessFieldPage(int SignProcessID, int SignaturePage)
  7851. {
  7852. if (dll == null) return 0;
  7853. else
  7854. return dll.DebenuPDFLibrarySetSignProcessFieldPage(instanceID, SignProcessID,
  7855. SignaturePage);
  7856. }
  7857. public int SetSignProcessInfo(int SignProcessID, string Reason, string Location,
  7858. string ContactInfo)
  7859. {
  7860. if (dll == null) return 0;
  7861. else
  7862. return dll.DebenuPDFLibrarySetSignProcessInfo(instanceID, SignProcessID, Reason,
  7863. Location, ContactInfo);
  7864. }
  7865. public int SetSignProcessKeyset(int SignProcessID, int KeysetID)
  7866. {
  7867. if (dll == null) return 0;
  7868. else
  7869. return dll.DebenuPDFLibrarySetSignProcessKeyset(instanceID, SignProcessID, KeysetID);
  7870. }
  7871. public int SetSignProcessPFXFromFile(int SignProcessID, string PFXFileName,
  7872. string PFXPassword)
  7873. {
  7874. if (dll == null) return 0;
  7875. else
  7876. return dll.DebenuPDFLibrarySetSignProcessPFXFromFile(instanceID, SignProcessID,
  7877. PFXFileName, PFXPassword);
  7878. }
  7879. public int SetSignProcessPassthrough(int SignProcessID, int SignatureLength)
  7880. {
  7881. if (dll == null) return 0;
  7882. else
  7883. return dll.DebenuPDFLibrarySetSignProcessPassthrough(instanceID, SignProcessID,
  7884. SignatureLength);
  7885. }
  7886. public int SetSignProcessSubFilter(int SignProcessID, int SubFilter)
  7887. {
  7888. if (dll == null) return 0;
  7889. else
  7890. return dll.DebenuPDFLibrarySetSignProcessSubFilter(instanceID, SignProcessID,
  7891. SubFilter);
  7892. }
  7893. public int SetTabOrderMode(string Mode)
  7894. {
  7895. if (dll == null) return 0;
  7896. else
  7897. return dll.DebenuPDFLibrarySetTabOrderMode(instanceID, Mode);
  7898. }
  7899. public int SetTableBorderColor(int TableID, int BorderIndex, double Red, double Green,
  7900. double Blue)
  7901. {
  7902. if (dll == null) return 0;
  7903. else
  7904. return dll.DebenuPDFLibrarySetTableBorderColor(instanceID, TableID, BorderIndex, Red,
  7905. Green, Blue);
  7906. }
  7907. public int SetTableBorderColorCMYK(int TableID, int BorderIndex, double C, double M,
  7908. double Y, double K)
  7909. {
  7910. if (dll == null) return 0;
  7911. else
  7912. return dll.DebenuPDFLibrarySetTableBorderColorCMYK(instanceID, TableID, BorderIndex,
  7913. C, M, Y, K);
  7914. }
  7915. public int SetTableBorderWidth(int TableID, int BorderIndex, double NewWidth)
  7916. {
  7917. if (dll == null) return 0;
  7918. else
  7919. return dll.DebenuPDFLibrarySetTableBorderWidth(instanceID, TableID, BorderIndex,
  7920. NewWidth);
  7921. }
  7922. public int SetTableCellAlignment(int TableID, int FirstRow, int FirstColumn, int LastRow,
  7923. int LastColumn, int NewCellAlignment)
  7924. {
  7925. if (dll == null) return 0;
  7926. else
  7927. return dll.DebenuPDFLibrarySetTableCellAlignment(instanceID, TableID, FirstRow,
  7928. FirstColumn, LastRow, LastColumn, NewCellAlignment);
  7929. }
  7930. public int SetTableCellBackgroundColor(int TableID, int FirstRow, int FirstColumn,
  7931. int LastRow, int LastColumn, double Red, double Green, double Blue)
  7932. {
  7933. if (dll == null) return 0;
  7934. else
  7935. return dll.DebenuPDFLibrarySetTableCellBackgroundColor(instanceID, TableID, FirstRow,
  7936. FirstColumn, LastRow, LastColumn, Red, Green, Blue);
  7937. }
  7938. public int SetTableCellBackgroundColorCMYK(int TableID, int FirstRow, int FirstColumn,
  7939. int LastRow, int LastColumn, double C, double M, double Y, double K)
  7940. {
  7941. if (dll == null) return 0;
  7942. else
  7943. return dll.DebenuPDFLibrarySetTableCellBackgroundColorCMYK(instanceID, TableID,
  7944. FirstRow, FirstColumn, LastRow, LastColumn, C, M, Y, K);
  7945. }
  7946. public int SetTableCellBorderColor(int TableID, int FirstRow, int FirstColumn, int LastRow,
  7947. int LastColumn, int BorderIndex, double Red, double Green, double Blue)
  7948. {
  7949. if (dll == null) return 0;
  7950. else
  7951. return dll.DebenuPDFLibrarySetTableCellBorderColor(instanceID, TableID, FirstRow,
  7952. FirstColumn, LastRow, LastColumn, BorderIndex, Red, Green, Blue);
  7953. }
  7954. public int SetTableCellBorderColorCMYK(int TableID, int FirstRow, int FirstColumn,
  7955. int LastRow, int LastColumn, int BorderIndex, double C, double M, double Y, double K)
  7956. {
  7957. if (dll == null) return 0;
  7958. else
  7959. return dll.DebenuPDFLibrarySetTableCellBorderColorCMYK(instanceID, TableID, FirstRow,
  7960. FirstColumn, LastRow, LastColumn, BorderIndex, C, M, Y, K);
  7961. }
  7962. public int SetTableCellBorderWidth(int TableID, int FirstRow, int FirstColumn, int LastRow,
  7963. int LastColumn, int BorderIndex, double NewWidth)
  7964. {
  7965. if (dll == null) return 0;
  7966. else
  7967. return dll.DebenuPDFLibrarySetTableCellBorderWidth(instanceID, TableID, FirstRow,
  7968. FirstColumn, LastRow, LastColumn, BorderIndex, NewWidth);
  7969. }
  7970. public int SetTableCellContent(int TableID, int RowNumber, int ColumnNumber, string HTMLText)
  7971. {
  7972. if (dll == null) return 0;
  7973. else
  7974. return dll.DebenuPDFLibrarySetTableCellContent(instanceID, TableID, RowNumber,
  7975. ColumnNumber, HTMLText);
  7976. }
  7977. public int SetTableCellPadding(int TableID, int FirstRow, int FirstColumn, int LastRow,
  7978. int LastColumn, int BorderIndex, double NewPadding)
  7979. {
  7980. if (dll == null) return 0;
  7981. else
  7982. return dll.DebenuPDFLibrarySetTableCellPadding(instanceID, TableID, FirstRow,
  7983. FirstColumn, LastRow, LastColumn, BorderIndex, NewPadding);
  7984. }
  7985. public int SetTableCellTextColor(int TableID, int FirstRow, int FirstColumn, int LastRow,
  7986. int LastColumn, double Red, double Green, double Blue)
  7987. {
  7988. if (dll == null) return 0;
  7989. else
  7990. return dll.DebenuPDFLibrarySetTableCellTextColor(instanceID, TableID, FirstRow,
  7991. FirstColumn, LastRow, LastColumn, Red, Green, Blue);
  7992. }
  7993. public int SetTableCellTextColorCMYK(int TableID, int FirstRow, int FirstColumn, int LastRow,
  7994. int LastColumn, double C, double M, double Y, double K)
  7995. {
  7996. if (dll == null) return 0;
  7997. else
  7998. return dll.DebenuPDFLibrarySetTableCellTextColorCMYK(instanceID, TableID, FirstRow,
  7999. FirstColumn, LastRow, LastColumn, C, M, Y, K);
  8000. }
  8001. public int SetTableCellTextSize(int TableID, int FirstRow, int FirstColumn, int LastRow,
  8002. int LastColumn, double NewTextSize)
  8003. {
  8004. if (dll == null) return 0;
  8005. else
  8006. return dll.DebenuPDFLibrarySetTableCellTextSize(instanceID, TableID, FirstRow,
  8007. FirstColumn, LastRow, LastColumn, NewTextSize);
  8008. }
  8009. public int SetTableColumnWidth(int TableID, int FirstColumn, int LastColumn, double NewWidth)
  8010. {
  8011. if (dll == null) return 0;
  8012. else
  8013. return dll.DebenuPDFLibrarySetTableColumnWidth(instanceID, TableID, FirstColumn,
  8014. LastColumn, NewWidth);
  8015. }
  8016. public int SetTableRowHeight(int TableID, int FirstRow, int LastRow, double NewHeight)
  8017. {
  8018. if (dll == null) return 0;
  8019. else
  8020. return dll.DebenuPDFLibrarySetTableRowHeight(instanceID, TableID, FirstRow, LastRow,
  8021. NewHeight);
  8022. }
  8023. public int SetTableThinBorders(int TableID, int ThinBorders, double Red, double Green,
  8024. double Blue)
  8025. {
  8026. if (dll == null) return 0;
  8027. else
  8028. return dll.DebenuPDFLibrarySetTableThinBorders(instanceID, TableID, ThinBorders, Red,
  8029. Green, Blue);
  8030. }
  8031. public int SetTableThinBordersCMYK(int TableID, int ThinBorders, double C, double M,
  8032. double Y, double K)
  8033. {
  8034. if (dll == null) return 0;
  8035. else
  8036. return dll.DebenuPDFLibrarySetTableThinBordersCMYK(instanceID, TableID, ThinBorders,
  8037. C, M, Y, K);
  8038. }
  8039. public int SetTempFile(string FileName)
  8040. {
  8041. if (dll == null) return 0;
  8042. else
  8043. return dll.DebenuPDFLibrarySetTempFile(instanceID, FileName);
  8044. }
  8045. public int SetTempPath(string NewPath)
  8046. {
  8047. if (dll == null) return 0;
  8048. else
  8049. return dll.DebenuPDFLibrarySetTempPath(instanceID, NewPath);
  8050. }
  8051. public int SetTextAlign(int TextAlign)
  8052. {
  8053. if (dll == null) return 0;
  8054. else
  8055. return dll.DebenuPDFLibrarySetTextAlign(instanceID, TextAlign);
  8056. }
  8057. public int SetTextCharSpacing(double CharSpacing)
  8058. {
  8059. if (dll == null) return 0;
  8060. else
  8061. return dll.DebenuPDFLibrarySetTextCharSpacing(instanceID, CharSpacing);
  8062. }
  8063. public int SetTextColor(double Red, double Green, double Blue)
  8064. {
  8065. if (dll == null) return 0;
  8066. else
  8067. return dll.DebenuPDFLibrarySetTextColor(instanceID, Red, Green, Blue);
  8068. }
  8069. public int SetTextColorCMYK(double C, double M, double Y, double K)
  8070. {
  8071. if (dll == null) return 0;
  8072. else
  8073. return dll.DebenuPDFLibrarySetTextColorCMYK(instanceID, C, M, Y, K);
  8074. }
  8075. public int SetTextColorSep(string ColorName, double Tint)
  8076. {
  8077. if (dll == null) return 0;
  8078. else
  8079. return dll.DebenuPDFLibrarySetTextColorSep(instanceID, ColorName, Tint);
  8080. }
  8081. public int SetTextExtractionArea(double Left, double Top, double Width, double Height)
  8082. {
  8083. if (dll == null) return 0;
  8084. else
  8085. return dll.DebenuPDFLibrarySetTextExtractionArea(instanceID, Left, Top, Width,
  8086. Height);
  8087. }
  8088. public int SetTextExtractionOptions(int OptionID, int NewValue)
  8089. {
  8090. if (dll == null) return 0;
  8091. else
  8092. return dll.DebenuPDFLibrarySetTextExtractionOptions(instanceID, OptionID, NewValue);
  8093. }
  8094. public int SetTextExtractionScaling(int Options, double Horizontal, double Vertical)
  8095. {
  8096. if (dll == null) return 0;
  8097. else
  8098. return dll.DebenuPDFLibrarySetTextExtractionScaling(instanceID, Options, Horizontal,
  8099. Vertical);
  8100. }
  8101. public int SetTextExtractionWordGap(double NewWordGap)
  8102. {
  8103. if (dll == null) return 0;
  8104. else
  8105. return dll.DebenuPDFLibrarySetTextExtractionWordGap(instanceID, NewWordGap);
  8106. }
  8107. public int SetTextHighlight(int Highlight)
  8108. {
  8109. if (dll == null) return 0;
  8110. else
  8111. return dll.DebenuPDFLibrarySetTextHighlight(instanceID, Highlight);
  8112. }
  8113. public int SetTextHighlightColor(double Red, double Green, double Blue)
  8114. {
  8115. if (dll == null) return 0;
  8116. else
  8117. return dll.DebenuPDFLibrarySetTextHighlightColor(instanceID, Red, Green, Blue);
  8118. }
  8119. public int SetTextHighlightColorCMYK(double C, double M, double Y, double K)
  8120. {
  8121. if (dll == null) return 0;
  8122. else
  8123. return dll.DebenuPDFLibrarySetTextHighlightColorCMYK(instanceID, C, M, Y, K);
  8124. }
  8125. public int SetTextHighlightColorSep(string ColorName, double Tint)
  8126. {
  8127. if (dll == null) return 0;
  8128. else
  8129. return dll.DebenuPDFLibrarySetTextHighlightColorSep(instanceID, ColorName, Tint);
  8130. }
  8131. public int SetTextMode(int TextMode)
  8132. {
  8133. if (dll == null) return 0;
  8134. else
  8135. return dll.DebenuPDFLibrarySetTextMode(instanceID, TextMode);
  8136. }
  8137. public int SetTextRise(double Rise)
  8138. {
  8139. if (dll == null) return 0;
  8140. else
  8141. return dll.DebenuPDFLibrarySetTextRise(instanceID, Rise);
  8142. }
  8143. public int SetTextScaling(double ScalePercentage)
  8144. {
  8145. if (dll == null) return 0;
  8146. else
  8147. return dll.DebenuPDFLibrarySetTextScaling(instanceID, ScalePercentage);
  8148. }
  8149. public int SetTextShader(string ShaderName)
  8150. {
  8151. if (dll == null) return 0;
  8152. else
  8153. return dll.DebenuPDFLibrarySetTextShader(instanceID, ShaderName);
  8154. }
  8155. public int SetTextSize(double TextSize)
  8156. {
  8157. if (dll == null) return 0;
  8158. else
  8159. return dll.DebenuPDFLibrarySetTextSize(instanceID, TextSize);
  8160. }
  8161. public int SetTextSpacing(double Spacing)
  8162. {
  8163. if (dll == null) return 0;
  8164. else
  8165. return dll.DebenuPDFLibrarySetTextSpacing(instanceID, Spacing);
  8166. }
  8167. public int SetTextUnderline(int Underline)
  8168. {
  8169. if (dll == null) return 0;
  8170. else
  8171. return dll.DebenuPDFLibrarySetTextUnderline(instanceID, Underline);
  8172. }
  8173. public int SetTextUnderlineColor(double Red, double Green, double Blue)
  8174. {
  8175. if (dll == null) return 0;
  8176. else
  8177. return dll.DebenuPDFLibrarySetTextUnderlineColor(instanceID, Red, Green, Blue);
  8178. }
  8179. public int SetTextUnderlineColorCMYK(double C, double M, double Y, double K)
  8180. {
  8181. if (dll == null) return 0;
  8182. else
  8183. return dll.DebenuPDFLibrarySetTextUnderlineColorCMYK(instanceID, C, M, Y, K);
  8184. }
  8185. public int SetTextUnderlineColorSep(string ColorName, double Tint)
  8186. {
  8187. if (dll == null) return 0;
  8188. else
  8189. return dll.DebenuPDFLibrarySetTextUnderlineColorSep(instanceID, ColorName, Tint);
  8190. }
  8191. public int SetTextUnderlineCustomDash(string DashPattern, double DashPhase)
  8192. {
  8193. if (dll == null) return 0;
  8194. else
  8195. return dll.DebenuPDFLibrarySetTextUnderlineCustomDash(instanceID, DashPattern,
  8196. DashPhase);
  8197. }
  8198. public int SetTextUnderlineDash(double DashOn, double DashOff)
  8199. {
  8200. if (dll == null) return 0;
  8201. else
  8202. return dll.DebenuPDFLibrarySetTextUnderlineDash(instanceID, DashOn, DashOff);
  8203. }
  8204. public int SetTextUnderlineDistance(double UnderlineDistance)
  8205. {
  8206. if (dll == null) return 0;
  8207. else
  8208. return dll.DebenuPDFLibrarySetTextUnderlineDistance(instanceID, UnderlineDistance);
  8209. }
  8210. public int SetTextUnderlineWidth(double UnderlineWidth)
  8211. {
  8212. if (dll == null) return 0;
  8213. else
  8214. return dll.DebenuPDFLibrarySetTextUnderlineWidth(instanceID, UnderlineWidth);
  8215. }
  8216. public int SetTextWordSpacing(double WordSpacing)
  8217. {
  8218. if (dll == null) return 0;
  8219. else
  8220. return dll.DebenuPDFLibrarySetTextWordSpacing(instanceID, WordSpacing);
  8221. }
  8222. public int SetTransparency(int Transparency)
  8223. {
  8224. if (dll == null) return 0;
  8225. else
  8226. return dll.DebenuPDFLibrarySetTransparency(instanceID, Transparency);
  8227. }
  8228. public int SetViewerPreferences(int Option, int NewValue)
  8229. {
  8230. if (dll == null) return 0;
  8231. else
  8232. return dll.DebenuPDFLibrarySetViewerPreferences(instanceID, Option, NewValue);
  8233. }
  8234. public int SetXFAFormFieldAccess(string XFAFieldName, int NewAccess)
  8235. {
  8236. if (dll == null) return 0;
  8237. else
  8238. return dll.DebenuPDFLibrarySetXFAFormFieldAccess(instanceID, XFAFieldName, NewAccess);
  8239. }
  8240. public int SetXFAFormFieldBorderColor(string XFAFieldName, double Red, double Green,
  8241. double Blue)
  8242. {
  8243. if (dll == null) return 0;
  8244. else
  8245. return dll.DebenuPDFLibrarySetXFAFormFieldBorderColor(instanceID, XFAFieldName, Red,
  8246. Green, Blue);
  8247. }
  8248. public int SetXFAFormFieldBorderPresence(string XFAFieldName, int NewPresence)
  8249. {
  8250. if (dll == null) return 0;
  8251. else
  8252. return dll.DebenuPDFLibrarySetXFAFormFieldBorderPresence(instanceID, XFAFieldName,
  8253. NewPresence);
  8254. }
  8255. public int SetXFAFormFieldBorderWidth(string XFAFieldName, double BorderWidth)
  8256. {
  8257. if (dll == null) return 0;
  8258. else
  8259. return dll.DebenuPDFLibrarySetXFAFormFieldBorderWidth(instanceID, XFAFieldName,
  8260. BorderWidth);
  8261. }
  8262. public int SetXFAFormFieldValue(string XFAFieldName, string NewValue)
  8263. {
  8264. if (dll == null) return 0;
  8265. else
  8266. return dll.DebenuPDFLibrarySetXFAFormFieldValue(instanceID, XFAFieldName, NewValue);
  8267. }
  8268. public int SetXFAFromString(byte[] Source, int Options)
  8269. {
  8270. if (dll == null) return 0;
  8271. else
  8272. {
  8273. GCHandle gch = GCHandle.Alloc(Source, GCHandleType.Pinned);
  8274. IntPtr bufferID = dll.DebenuPDFLibraryCreateBuffer(instanceID, Source.Length);
  8275. dll.DebenuPDFLibraryAddToBuffer(instanceID, bufferID, gch.AddrOfPinnedObject(), Source.Length);
  8276. int result = dll.DebenuPDFLibrarySetXFAFromString(instanceID, bufferID, Options);
  8277. dll.DebenuPDFLibraryReleaseBuffer(instanceID, bufferID);
  8278. gch.Free();
  8279. return result;
  8280. }
  8281. }
  8282. public int SetupCustomPrinter(string CustomPrinterName, int Setting, int NewValue)
  8283. {
  8284. if (dll == null) return 0;
  8285. else
  8286. return dll.DebenuPDFLibrarySetupCustomPrinter(instanceID, CustomPrinterName, Setting,
  8287. NewValue);
  8288. }
  8289. public int SignFile(string InputFileName, string OpenPassword, string SignatureFieldName,
  8290. string OutputFileName, string PFXFileName, string PFXPassword, string Reason,
  8291. string Location, string ContactInfo)
  8292. {
  8293. if (dll == null) return 0;
  8294. else
  8295. return dll.DebenuPDFLibrarySignFile(instanceID, InputFileName, OpenPassword,
  8296. SignatureFieldName, OutputFileName, PFXFileName, PFXPassword, Reason, Location,
  8297. ContactInfo);
  8298. }
  8299. public int SplitPageText(int Options)
  8300. {
  8301. if (dll == null) return 0;
  8302. else
  8303. return dll.DebenuPDFLibrarySplitPageText(instanceID, Options);
  8304. }
  8305. public int StartPath(double StartX, double StartY)
  8306. {
  8307. if (dll == null) return 0;
  8308. else
  8309. return dll.DebenuPDFLibraryStartPath(instanceID, StartX, StartY);
  8310. }
  8311. public int StoreCustomDataFromFile(string Key, string FileName, int Location, int Options)
  8312. {
  8313. if (dll == null) return 0;
  8314. else
  8315. return dll.DebenuPDFLibraryStoreCustomDataFromFile(instanceID, Key, FileName,
  8316. Location, Options);
  8317. }
  8318. public int StoreCustomDataFromString(string Key, byte[] NewValue, int Location, int Options)
  8319. {
  8320. if (dll == null) return 0;
  8321. else
  8322. {
  8323. GCHandle gch = GCHandle.Alloc(NewValue, GCHandleType.Pinned);
  8324. IntPtr bufferID = dll.DebenuPDFLibraryCreateBuffer(instanceID, NewValue.Length);
  8325. dll.DebenuPDFLibraryAddToBuffer(instanceID, bufferID, gch.AddrOfPinnedObject(), NewValue.Length);
  8326. int result = dll.DebenuPDFLibraryStoreCustomDataFromString(instanceID, Key, bufferID,
  8327. Location, Options);
  8328. dll.DebenuPDFLibraryReleaseBuffer(instanceID, bufferID);
  8329. gch.Free();
  8330. return result;
  8331. }
  8332. }
  8333. public int StringResultLength()
  8334. {
  8335. if (dll == null) return 0;
  8336. else
  8337. return dll.DebenuPDFLibraryStringResultLength(instanceID);
  8338. }
  8339. public int TestTempPath()
  8340. {
  8341. if (dll == null) return 0;
  8342. else
  8343. return dll.DebenuPDFLibraryTestTempPath(instanceID);
  8344. }
  8345. public int TransformFile(string InputFileName, string Password, string OutputFileName,
  8346. int TransformType, int Options)
  8347. {
  8348. if (dll == null) return 0;
  8349. else
  8350. return dll.DebenuPDFLibraryTransformFile(instanceID, InputFileName, Password,
  8351. OutputFileName, TransformType, Options);
  8352. }
  8353. public int UnlockKey(string LicenseKey)
  8354. {
  8355. if (dll == null) return 0;
  8356. else
  8357. return dll.DebenuPDFLibraryUnlockKey(instanceID, LicenseKey);
  8358. }
  8359. public int Unlocked()
  8360. {
  8361. if (dll == null) return 0;
  8362. else
  8363. return dll.DebenuPDFLibraryUnlocked(instanceID);
  8364. }
  8365. public int UpdateAndFlattenFormField(int Index)
  8366. {
  8367. if (dll == null) return 0;
  8368. else
  8369. return dll.DebenuPDFLibraryUpdateAndFlattenFormField(instanceID, Index);
  8370. }
  8371. public int UpdateAppearanceStream(int Index)
  8372. {
  8373. if (dll == null) return 0;
  8374. else
  8375. return dll.DebenuPDFLibraryUpdateAppearanceStream(instanceID, Index);
  8376. }
  8377. public int UpdateTrueTypeSubsettedFont(string SubsetChars)
  8378. {
  8379. if (dll == null) return 0;
  8380. else
  8381. return dll.DebenuPDFLibraryUpdateTrueTypeSubsettedFont(instanceID, SubsetChars);
  8382. }
  8383. public int UseKerning(int Kern)
  8384. {
  8385. if (dll == null) return 0;
  8386. else
  8387. return dll.DebenuPDFLibraryUseKerning(instanceID, Kern);
  8388. }
  8389. public int UseUnsafeContentStreams(int SafetyLevel)
  8390. {
  8391. if (dll == null) return 0;
  8392. else
  8393. return dll.DebenuPDFLibraryUseUnsafeContentStreams(instanceID, SafetyLevel);
  8394. }
  8395. }
  8396. }

Powered by TurnKey Linux.