This example shows how to sign specific pages in the multipage Tiff document through the PagesSetup.PageNumbers list of integer values.
using(varsignature=newSignature("multipage.tiff")){varoptions=newQrCodeSignOptions("Patient #36363393. R: No-Issues"){// set signature position Left=10,Top=10,// set signature rectangleWidth=200,Height=200,//specify pages numbers which we want to signPagesSetup=newPagesSetup(){PageNumbers=newList<int>{1,3}}};// sign document to fileSignResultsignResult=signature.Sign(outputFilePath,options);Console.WriteLine($"\nDocument signed with {signResult.Succeeded.Count} signatures");Console.WriteLine("\nList of newly created signatures:");foreach(BaseSignaturetempinsignResult.Succeeded){Console.WriteLine($"{temp.SignatureType} at page #{temp.PageNumber}: Id:{temp.SignatureId}.");}}
More resources
GitHub Examples
You may easily run the code above and see the feature in action in ourΒ GitHub examples: