I am trying to use this PdfZoomBehaviour feature but seems like it has issues.
FIT_WIDTH works fine but other option in this class does not.
Like FIT_HEIGHT does not set the magnification to fit the height.
The same applies for FIT_BOX & FIT_PAGE.
This can be reproduced with any word to pdf transformation using Latest Aspose.words
Document doc = new Document(word_file); PdfSaveOptions saveOptions = new PdfSaveOptions(); saveOptions.setZoomFactor(PdfZoomBehavior.FIT_HEIGHT);