Table of Contents

Method ApplyToBytes

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

ApplyToBytes(Attachment, IReadOnlyList<PageEdit>, CancellationToken)

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

public static byte[] ApplyToBytes(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

byte[]
Share