Codeunit 18122336 EOS004 PDF API Client

Codeunit 18122336 EOS004 PDF API Client

Methods

Initialize

procedure Initialize(Config: Record "EOS004 Service Config.")

Parameters / Return Value

  • Config Record "EOS004 Service Config."

SuppressError

procedure SuppressError(value: Boolean)

Parameters / Return Value

  • value Boolean

SuppressError

procedure SuppressError(): Boolean

Parameters / Return Value

  • Returns Boolean

GetMetadata

procedure GetMetadata(var input: Codeunit "Temp Blob"; var result: Record "EOS004 PDF Metadata"): Boolean

Returns metadata about the PDF document.

Parameters / Return Value

  • input Codeunit "Temp Blob"

    The PDF document.

  • result Record "EOS004 PDF Metadata"

    The metadata result.

  • Returns Boolean


Metadata

procedure Metadata(var input: Codeunit "Temp Blob"; var output: JsonObject): Boolean

Parameters / Return Value

  • input Codeunit "Temp Blob"

  • output JsonObject

  • Returns Boolean


GetPageMetadata

procedure GetPageMetadata(var input: Codeunit "Temp Blob"; pageIndex: Integer; var result: Record "EOS004 PDF Page Metadata"): Boolean

Get the metadata of a specific page in the PDF. This is only available with FunctionAPI version 1.0.119 and later.

Parameters / Return Value

  • input Codeunit "Temp Blob"

    The PDF document.

  • pageIndex Integer

    The page index to retrieve metadata for.

  • result Record "EOS004 PDF Page Metadata"

    The result.

  • Returns Boolean

    True if the request succeeded.


GetPageMetadata

procedure GetPageMetadata(var input: Codeunit "Temp Blob"; var result: Record "EOS004 PDF Page Metadata"): Boolean

Get the metadata of all pages in the PDF. This is only available with FunctionAPI version 1.0.119 and later.

Parameters / Return Value

  • input Codeunit "Temp Blob"

    The PDF document.

  • result Record "EOS004 PDF Page Metadata"

    The result.

  • Returns Boolean

    True if the request succeeded.


GetPageMetadata

procedure GetPageMetadata(var input: Codeunit "Temp Blob"; pageIndices: List of [Integer]; var result: Record "EOS004 PDF Page Metadata"): Boolean

Get the metadata of a list of pages in the PDF. This is only available with FunctionAPI version 1.0.119 and later.

Parameters / Return Value

  • input Codeunit "Temp Blob"

    The PDF document.

  • pageIndices List[Integer]

    The page indices to retrieve metadata for.

  • result Record "EOS004 PDF Page Metadata"

    The result.

  • Returns Boolean

    True if the request succeeded.


Split

procedure Split(var input: Codeunit "Temp Blob"; var output: Record "Name/Value Buffer"): Boolean

Parameters / Return Value

  • input Codeunit "Temp Blob"

  • output Record "Name/Value Buffer"

  • Returns Boolean


Combine

procedure Combine(var input: Record "Name/Value Buffer"; var output: Codeunit "Temp Blob"): Boolean

Parameters / Return Value

  • input Record "Name/Value Buffer"

  • output Codeunit "Temp Blob"

  • Returns Boolean


SetBackground

procedure SetBackground(var pdf: Codeunit "Temp Blob"; var background: Codeunit "Temp Blob"; BackgroundPageNo: Integer; var ZipOutput: Codeunit "Temp Blob"): Boolean

Parameters / Return Value

  • pdf Codeunit "Temp Blob"

  • background Codeunit "Temp Blob"

  • BackgroundPageNo Integer

  • ZipOutput Codeunit "Temp Blob"

  • Returns Boolean


Protect

procedure Protect(var pdf: Codeunit "Temp Blob"; var PDFProtectSettings: Record "EOS004 PDF Protect Settings"; var output: Codeunit "Temp Blob"): Boolean

Parameters / Return Value

  • pdf Codeunit "Temp Blob"

  • PDFProtectSettings Record "EOS004 PDF Protect Settings"

  • output Codeunit "Temp Blob"

  • Returns Boolean



EOS Labs -