ImagePlaceholder.Solid = true;

This commit is contained in:
Marcin Ziąbek
2021-11-07 16:19:54 +01:00
parent c64754241d
commit 82e29d5fdd
3 changed files with 4 additions and 6 deletions
@@ -55,7 +55,7 @@ namespace QuestPDF.ReportSample.Layouts
row.Spacing(50);
row.RelativeColumn().PaddingTop(-10).Text(Model.Title, Typography.Title);
row.ConstantColumn(150).ExternalLink("https://www.questpdf.com").Background(Colors.Grey.Lighten3);
row.ConstantColumn(90).ExternalLink("https://www.questpdf.com").MaxHeight(30).Component<ImagePlaceholder>();
});
stack.Item().ShowOnce().PaddingVertical(15).Border(1f).BorderColor(Colors.Grey.Lighten1).ExtendHorizontal();
+2 -4
View File
@@ -17,12 +17,8 @@ namespace QuestPDF.ReportSample
[SetUp]
public void SetUp()
{
ImagePlaceholder.Solid = true;
var model = DataSource.GetReport();
Report = new StandardReport(model);
ImagePlaceholder.Solid = true;
}
[Test]
@@ -37,6 +33,8 @@ namespace QuestPDF.ReportSample
[Test]
public void Profile()
{
ImagePlaceholder.Solid = true;
var container = new DocumentContainer();
Report.Compose(container);
var content = container.Compose();
+1 -1
View File
@@ -4,7 +4,7 @@
<Authors>MarcinZiabek</Authors>
<Company>CodeFlint</Company>
<PackageId>QuestPDF</PackageId>
<Version>2021.11.0-beta3</Version>
<Version>2021.11.0</Version>
<PackageDescription>QuestPDF is an open-source, modern and battle-tested library that can help you with generating PDF documents by offering friendly, discoverable and predictable C# fluent API.</PackageDescription>
<PackageReleaseNotes>Implemented new elements: SkipOnce and Inlined. Added possibility to define global, page-wide test style. Improved exception handling experience.</PackageReleaseNotes>
<LangVersion>8</LangVersion>