@@ -35,7 +35,7 @@ void ComposeHeader(IContainer container)
3535 {
3636 row . RelativeColumn ( ) . Stack ( column =>
3737 {
38- column . Element ( ) . Text ( $ "Invoice #{ Model . InvoiceNumber } ", TextStyle . Default . Size ( 20 ) ) ;
38+ column . Element ( ) . Text ( $ "Invoice #{ Model . InvoiceNumber } ", TextStyle . Default . Size ( 20 ) . Bold ( ) ) ;
3939 column . Element ( ) . Text ( $ "Issue date: { Model . IssueDate : d} ") ;
4040 column . Element ( ) . Text ( $ "Due date: { Model . DueDate : d} ") ;
4141 } ) ;
@@ -60,7 +60,7 @@ void ComposeContent(IContainer container)
6060 column . Element ( ComposeTable ) ;
6161
6262 var totalPrice = Model . Items . Sum ( x => x . Price * x . Quantity ) ;
63- column . Element ( ) . AlignRight ( ) . Text ( $ "Grand total: { totalPrice } $", TextStyle . Default . Size ( 14 ) ) ;
63+ column . Element ( ) . AlignRight ( ) . Text ( $ "Grand total: { totalPrice } $", TextStyle . Default . SemiBold ( ) ) ;
6464
6565 if ( ! string . IsNullOrWhiteSpace ( Model . Comments ) )
6666 column . Element ( ) . PaddingTop ( 25 ) . Element ( ComposeComments ) ;
@@ -74,11 +74,11 @@ void ComposeTable(IContainer container)
7474 // header
7575 section . Header ( ) . BorderBottom ( 1 ) . Padding ( 5 ) . Row ( row =>
7676 {
77- row . ConstantColumn ( 25 ) . Text ( "#" ) ;
78- row . RelativeColumn ( 3 ) . Text ( "Product" ) ;
79- row . RelativeColumn ( ) . AlignRight ( ) . Text ( "Unit price" ) ;
80- row . RelativeColumn ( ) . AlignRight ( ) . Text ( "Quantity" ) ;
81- row . RelativeColumn ( ) . AlignRight ( ) . Text ( "Total" ) ;
77+ row . ConstantColumn ( 25 ) . Text ( "#" , TextStyle . Default . SemiBold ( ) ) ;
78+ row . RelativeColumn ( 3 ) . Text ( "Product" , TextStyle . Default . SemiBold ( ) ) ;
79+ row . RelativeColumn ( ) . AlignRight ( ) . Text ( "Unit price" , TextStyle . Default . SemiBold ( ) ) ;
80+ row . RelativeColumn ( ) . AlignRight ( ) . Text ( "Quantity" , TextStyle . Default . SemiBold ( ) ) ;
81+ row . RelativeColumn ( ) . AlignRight ( ) . Text ( "Total" , TextStyle . Default . SemiBold ( ) ) ;
8282 } ) ;
8383
8484 // content
@@ -106,7 +106,7 @@ void ComposeComments(IContainer container)
106106 container . Background ( "#EEE" ) . Padding ( 10 ) . Stack ( message =>
107107 {
108108 message . Spacing ( 5 ) ;
109- message . Element ( ) . Text ( "Comments" , TextStyle . Default . Size ( 14 ) ) ;
109+ message . Element ( ) . Text ( "Comments" , TextStyle . Default . Size ( 14 ) . SemiBold ( ) ) ;
110110 message . Element ( ) . Text ( Model . Comments ) ;
111111 } ) ;
112112 }
@@ -129,7 +129,7 @@ public void Compose(IContainer container)
129129 {
130130 column . Spacing ( 5 ) ;
131131
132- column . Element ( ) . BorderBottom ( 1 ) . PaddingBottom ( 5 ) . Text ( Title ) ;
132+ column . Element ( ) . BorderBottom ( 1 ) . PaddingBottom ( 5 ) . Text ( Title , TextStyle . Default . SemiBold ( ) ) ;
133133
134134 column . Element ( ) . Text ( Address . CompanyName ) ;
135135 column . Element ( ) . Text ( Address . Street ) ;
0 commit comments