Method ApplyToBytesAsync
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
sourceAttachmentThe source PDF attachment.
editsIReadOnlyList<PageEdit>Ordered list of page edits.
cancellationTokenCancellationTokenCancels the operation.