When I use the method
page.getPageProps().getPageScale().setValue() although it resizes the page as well the shapes, it does not resize the font size and the line weight.
I also noted that, it doesn’t work to multiply the font size or the line weight with the same factor as the scale factor. The font size/ line weight would be too big or too little.
Is this method
page.getPageProps().getPageScale().setValue() supposed to change the font size and the line weight? If not, what is the factor which would make my font size and my line weight keep the proportion of the resized page and shapes?
I attached my code, and the obtained vsdx.
ResizeBug.zip (196.6 KB)