Codeunit 3109 PDF Document Impl.

System Application, System.IO

Source AL, 522 lines

src/System Application/App/Pdf/src/PDFDocumentImpl.Codeunit.allines 13 to 28 of 522, Copyright (c) Microsoft Corporation. MIT

codeunit 3109 "PDF Document Impl."{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    var        DocumentStream: InStream;        Loaded: Boolean;        AttachmentNames: List of [Text];        AttachmentDataTypes: List of [Enum "PDF Attach. Data Relationship"];        AttachmentMimeTypes: List of [Text];        AttachmentFileNames: List of [Text];        AttachmentDescriptions: List of [Text];        AdditionalDocumenNames: List of [Text];        UserCode: SecretText;

All 522 lines

Public procedures 17 in 29

Initialize()new in 26
Load(DocStream: InStream): Booleannew in 26
ConvertToImage(var ImageStream: InStream; ImageFormat: Enum "Image Format"; PageNumber: Integer): Booleannew in 26
GetDocumentAttachmentStream(PdfStream: InStream; var TempBlob: Codeunit "Temp Blob"): Booleannew in 26
GetPdfProperties(DocumentInStream: InStream): JsonObjectnew in 26
GetPdfPageCount(DocumentInStream: InStream): Integernew in 26

All 17 procedures

Changes 1 in 27

List17181920212223242526272829
Procedures1
AddAttachment(AttachmentName: Text; PDFAttachmentDataType: Enum "PDF Attach. Data Relationship"; MimeType: Text; FileInStream: InStream; Description: Text; PrimaryDocument: Boolean)new in 27
added

All 1 changes in 26-29