Created
May 19, 2019 22:08
-
-
Save wwdablu/4f3336920f00c893a295ae0bf75bbf71 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
simplyPdfDocument = SimplyPdf.with(this, new File(Environment.getExternalStorageDirectory().getAbsolutePath() + "/test.pdf")) | |
.colorMode(DocumentInfo.ColorMode.COLOR) | |
.paperSize(PrintAttributes.MediaSize.ISO_A4) | |
.margin(DocumentInfo.Margins.DEFAULT) | |
.paperOrientation(DocumentInfo.Orientation.PORTRAIT) | |
.build(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment