Method ApplyToFile
ApplyToFile(Attachment, IReadOnlyList<PageEdit>, string, CancellationToken)
Applies a sequence of page edits and writes the result to a file.
public static void ApplyToFile(Attachment source, IReadOnlyList<PageEdit> edits, string outputPath, CancellationToken cancellationToken = default)
Parameters
sourceAttachmentThe source PDF attachment.
editsIReadOnlyList<PageEdit>Ordered list of page edits.
outputPathstringDestination file path.
cancellationTokenCancellationTokenCancels the operation.