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