more table fixes, and address

This commit is contained in:
Tyrel Souza 2023-07-29 00:52:07 -04:00
parent e8be33f28d
commit 1331878a6a
No known key found for this signature in database
GPG Key ID: F3614B02ACBE438E

View File

@ -45,20 +45,46 @@ namespace BenchtopPDF
{ {
container.Row(row => container.Row(row =>
{ {
row.RelativeItem().Column(column =>
row.ConstantItem(100).Image(LogoImage);
row.RelativeItem().PaddingHorizontal(10).Column(column =>
{ {
column column.Item().Text(text =>
.Item().Text("Certificate Of Calibration") {
.FontSize(20).SemiBold().FontColor(Colors.Blue.Medium); text.Span("518 Route 9, PO Box 357, West Chesterfield, NH 03466").FontSize(6);
// text.Span($"{Sheet.IssueDate:d}");
});
column.Item().Text(text =>
{
text.Span("Phone: 603.256.6100 Cell: 603.801.4551").FontSize(6);
});
column.Item().Text(text => column.Item().Text(text =>
{ {
text.Span("CERTIFICATE OF CALIBRATION")
.FontSize(12)
.SemiBold()
.FontColor(Colors.Blue.Medium);
text.AlignCenter();
});
column.Item().Text(text =>
{
// Instrument
// CustomerName
// CustomerAddress
// ControlNumber
// SerialNumber
// Accuracy
// BarometricPressure
// Temperature
// Humidity
text.Span("Issue date: ").SemiBold(); text.Span("Issue date: ").SemiBold();
// text.Span($"{Sheet.IssueDate:d}"); // text.Span($"{Sheet.IssueDate:d}");
}); });
}); });
row.ConstantItem(175).Image(LogoImage);
}); });
} }