{"title":"Codeunit 3109 PDF Document Impl., extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/3109-pdf-document-impl/points/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":3109,"name":"PDF Document Impl.","app":"System Application","url":"https://jonas-paprotka.de/ref/codeunit/3109-pdf-document-impl/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/3109-pdf-document-impl/source/","path":"src/System Application/App/Pdf/src/PDFDocumentImpl.Codeunit.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"codeunit:4100":{"name":"Temp Blob","url":"https://jonas-paprotka.de/ref/codeunit/4100-temp-blob/"}},"procs":[{"name":"ConvertToImage","line":54,"kind":"procedure","params":3,"steps":[[73,"call","ConvertImageFormatToPdfTargetDevice",2],[74,"call","TryToConvertPage",4]]},{"name":"GetDocumentAttachmentStream","line":110,"kind":"procedure","params":2,"steps":[[119,"ext","codeunit",4100,"CreateOutStream",1],[120,"ext","codeunit",4100,"CreateInStream",1]]},{"name":"GetPdfProperties","line":142,"kind":"procedure","params":1,"steps":[[152,"call","InitializePdfDocumentInfo",2]]},{"name":"GetPdfPageCount","line":186,"kind":"procedure","params":1,"steps":[[190,"call","InitializePdfDocumentInfo",2]]},{"name":"AddAttachment","line":249,"kind":"procedure","params":6,"steps":[[254,"call","ResetAttachmentLists",0]]},{"name":"ToJson","line":360,"kind":"procedure","params":1,"steps":[[373,"call","AddPrimaryDocument",1],[374,"call","SetJsonTokens",2],[375,"call","AddAttachments",2],[376,"call","SetDocumentProtection",4]]}]}