Hey Ajit,
I don’t believe this is possible through the standard interface. However, one separate solution could be to create a few document templates with different sizes that the users can select from, and then dynamically generate the document based on the user’s selection.
Good luck!