Hello,
We’re facing an issue where StampAnnotation rotation is not respected when explicitly setting it to zero. The PDF document is scanned at 270 degrees. But we want the stamp annotation be added at rotation zero.
Code:
var stamp = new StampAnnotation(document.Pages[page], new Rectangle(llx, lly, urx, ury))
{
Image = svgMemoryStream
};
stamp.Characteristics.Rotate = Rotation.None;
document.Pages[page].Annotations.Add(stamp);
using (var outputStream = new MemoryStream())
{
document.Save(outputStream);
returnValue = outputStream.ToArray();
outputStream.Close();
}
image.png (27.6 KB)
Thanks,
Bishan M.