Created
April 12, 2019 02:14
-
-
Save wwdablu/01c2045695d3a1bf8875fbfe31e1fbde to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
textComposer = simplyPdfDocument.getTextComposer(); | |
TextComposer.Properties textProperties = new TextComposer.Properties(); | |
textProperties.textSize = 24; | |
textProperties.typeface = Typeface.create(Typeface.DEFAULT, Typeface.BOLD); | |
textProperties.alignment = Layout.Alignment.ALIGN_CENTER; | |
textComposer.write("SimplyPDF", textProperties); | |
textProperties.typeface = null; | |
textProperties.textSize = 20; | |
textComposer.write("An android library that allows the user to generate PDF" + | |
" files within the application ans save them in the device storage." + | |
" This sample PDF is generated using this library", textProperties); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment