Update README.md

I think you need to pass the byte array to the File.WriteAllBytes method.
This commit is contained in:
Benito E. Gómez
2019-08-06 11:34:54 -04:00
committed by GitHub
parent f07ab7d2c3
commit d6c4d62dac

View File

@@ -42,7 +42,7 @@ New in v0.0.5 - To create documents use the class ```PdfDocumentBuilder```. Thou
byte[] documentBytes = builder.Build(); byte[] documentBytes = builder.Build();
File.WriteAllBytes(@"C:\git\newPdf.pdf"); File.WriteAllBytes(@"C:\git\newPdf.pdf", documentBytes);
Each font must be registered with the PdfDocumentBuilder prior to use enable pages to share the font resources. Currently only Standard 14 fonts and TrueType fonts (.ttf) are supported. Each font must be registered with the PdfDocumentBuilder prior to use enable pages to share the font resources. Currently only Standard 14 fonts and TrueType fonts (.ttf) are supported.