Table of Contents

Method ApplyToFileAsync

Namespace
LMKit.Document.Pdf
Assembly
LM-Kit.NET.dll

ApplyToFileAsync(Attachment, IReadOnlyList<PageEdit>, string, CancellationToken)

Applies a sequence of page edits and writes the result to a file.

public static Task ApplyToFileAsync(Attachment source, IReadOnlyList<PageEdit> edits, string outputPath, CancellationToken cancellationToken = default)

Parameters

source Attachment

The source PDF attachment.

edits IReadOnlyList<PageEdit>

Ordered list of page edits.

outputPath string

Destination file path.

cancellationToken CancellationToken

Cancels the operation.

Returns

Task
Share