Integrated new Image API

This commit is contained in:
MarcinZiabek
2023-05-08 15:46:06 +02:00
parent ad47b82b8f
commit c21a335342
15 changed files with 242 additions and 61 deletions
+18
View File
@@ -50,6 +50,24 @@ namespace QuestPDF.Examples
});
}
[Test]
public void ScalingImageWithAlpha()
{
RenderingTest
.Create()
.PageSize(PageSizes.A4)
.ProducePdf()
.ShowResults()
.Render(page =>
{
page.Padding(25).Layers(layers =>
{
layers.Layer().Image(Placeholders.Image);
layers.PrimaryLayer().Padding(25).Image("multilingual.png");
});
});
}
[Test]
public void Exception()
{