Source AL, 252 lines
src/System Application/App/Pdf/src/PDFDocument.Codeunit.allines 13 to 28 of 252, Copyright (c) Microsoft Corporation. MIT
codeunit 3110 "PDF Document"{ Access = Public; InherentEntitlements = X; InherentPermissions = X; var PDFDocumentImpl: Codeunit "PDF Document Impl."; /// <summary> /// This procedure initializes the internal state of the object by resetting attachment lists /// and clearing user and admin codes, as well as any additional document names. /// </summary> procedure Initialize() begin
All 252 lines
Public procedures 18 in 29
| Initialize() | new in 26 |
| Load(DocumentStream: InStream): Boolean | new in 26 |
| ConvertToImage(var ImageStream: InStream; ImageFormat: Enum "Image Format"; PageNumber: Integer) | new in 26 |
| Pending, tag 27.2, obsolete since 27: Use the ConvertPdfToImage procedure instead. |
| GetDocumentAttachmentStream(PdfStream: InStream; var TempBlob: Codeunit "Temp Blob"): Boolean | new in 26 |
| GetPdfProperties(DocumentInStream: InStream): JsonObject | new in 26 |
| GetPdfPageCount(DocumentInStream: InStream): Integer | new in 26 |
All 18 procedures
Changes 3 in 27
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Procedures | | | | | | | | | | | 3 | | |
|---|
| ConvertToImage(var ImageStream: InStream; ImageFormat: Enum "Image Format"; PageNumber: Integer) | new in 26 |
| marked Pending, tag 27.2: Use the ConvertPdfToImage procedure instead. |
| ConvertPdfToImage(var ImageStream: InStream; ImageFormat: Enum "Image Format"; PageNumber: Integer): Boolean | new in 27 |
| added |
| AddAttachment(AttachmentName: Text; PDFAttachmentDataType: Enum "PDF Attach. Data Relationship"; MimeType: Text; FileInStream: InStream; Description: Text; PrimaryDocument: Boolean) | new in 27 |
| added |
All 3 changes in 26-29