Table of Contents

Method ApplyToBytesAsync

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

ApplyToBytesAsync(Attachment, IReadOnlyList<PageEdit>, CancellationToken)

Applies a sequence of page edits and returns the result as a byte array.

public static Task<byte[]> ApplyToBytesAsync(Attachment source, IReadOnlyList<PageEdit> edits, CancellationToken cancellationToken = default)

Parameters

source Attachment

The source PDF attachment.

edits IReadOnlyList<PageEdit>

Ordered list of page edits.

cancellationToken CancellationToken

Cancels the operation.

Returns

Task<byte[]>
Share