Forum Xamarin.Android


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Remove margins when printing a PDF document on Android

I am currently generating a pdf with iTextSharp. When I try to print it, Android adds margins all around the document and I don't know how to remove them. I know that some devices have an option to remove borders when printing but we have to select that option everytime we print. The only way to solve this problem is to remove the margins programatically but I have not found anything about it. Does anyone know how to remove the margins when printing a document or do you have another way to solve this problem?

Thank you

Sign In or Register to comment.