Hello,
Is there a possibility to check whether the digital signature overlapping with the text before applying digital signature using spire.pdf
Thanks in advance.
//input x coordinate
Console.WriteLine("Please input x coordinate:");
float x = Convert.ToSingle(Console.ReadLine());
//input y coordinate
Console.WriteLine("Please input y coordinate:");
float y = Convert.ToSingle(Console.ReadLine());
//Check if there is text content in the rectangle
string text = doc.Pages[0].ExtractText(new RectangleF(x, y, 100, 100));
if (text == "")
{
//Sign signature in the rectangle
...
}
else
Console.WriteLine("overlap with text!");