Text API naming adjustments

This commit is contained in:
MarcinZiabek
2022-03-11 13:23:36 +01:00
parent 262bd3c182
commit b533a32b61
22 changed files with 79 additions and 61 deletions
+3 -3
View File
@@ -13,7 +13,7 @@ namespace QuestPDF.Examples
[Test]
public void Example()
{
FontManager.RegisterFontType(File.OpenRead("LibreBarcode39-Regular.ttf"));
FontManager.RegisterFont(File.OpenRead("LibreBarcode39-Regular.ttf"));
RenderingTest
.Create()
@@ -26,8 +26,8 @@ namespace QuestPDF.Examples
.AlignCenter()
.AlignMiddle()
.Text("*QuestPDF*")
.FontType("Libre Barcode 39")
.Size(64);
.FontFamily("Libre Barcode 39")
.FontSize(64);
});
}
}