Posted by a ceTe Software moderator
Hi,
We did some testing on our end and are unable to recreate the behavior. Below is a code sample used for testing.
Document document = new Document();
Page page = new Page();
document.Pages.Add(page);
Template template = new Template();
string path = @"Source image file path";
ImageData imageData = ImageData.GetImage(path);
BackgroundImage img = new BackgroundImage(imageData);
template.Elements.Add(img);
document.Template = template;
string output = @"Output PDF file path";
document.Draw(output);
If you continue facing problems, please send over the following information to
support@dynamicpdf.com so we can look into it further.
1. Modify the above code sample accordingly to recreate the behavior.
2. Source image.
3. Output PDF (created with v10 and v11).
4. Exact version and build number of the DynamicPDF DLL file used in your application. You can get this information in DLL references properties (Version and Description fields) in Visual Studio OR right click on the DLL file>Properties>>Details tab>>Product version, take a screenshot of Details tab showing all info and send it over to us.
Thanks,
ceTe Software Support Team