Skip to content

Instantly share code, notes, and snippets.

@wwdablu
Created May 19, 2019 22:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wwdablu/423e9196075e0bbea17bf1dbac49cb9c to your computer and use it in GitHub Desktop.
Save wwdablu/423e9196075e0bbea17bf1dbac49cb9c to your computer and use it in GitHub Desktop.
TextProperties textProperties = new TextProperties();
textProperties.textSize = 24;
textProperties.typeface = Typeface.create(Typeface.DEFAULT, Typeface.BOLD);
textProperties.alignment = Layout.Alignment.ALIGN_CENTER;
TextComposer textComposer = new TextComposer(simplyPdfDocument);
textComposer.write("SimplyPDF", textProperties);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment