Scale a4 to a5

Hi,

 

I use COM interface to  convert docx to pdf. docx contains dokuments with a4 page size. Where I can set output page size and scaling factors for pdf, that output pdf contains pages with a5 size.