I am using that code from the documentation to create a image stamp but it is not working…
Document document = new Document();
var page = document.Pages.Add();
ImageStamp imageStamp = new ImageStamp(@"C:\Users\{myUserID}\Documents\barcode.jpg");
// Create image stamp
imageStamp.Background = true;
imageStamp.XIndent = 100;
imageStamp.YIndent = 100;
imageStamp.Height = 300;
imageStamp.Width = 300;
imageStamp.Opacity = 0.5;
// Add stamp to particular page
page.AddStamp(imageStamp);
document.Save(@“C:\Users{myUserID}\Documents\mypage.pdf”)
i am not getting an error…but i am not getting my image stamp either…can you tell me what i am doing wrong?