Fit printout images to Letter template - for entire section

If you import an 8.5x11 page from a printout (Ex. from a PDF) into OneNote, this macro will fit the image to the size of the Letter template and also set the image to background, making it ready to annonate and easily print out to paper if necessary. Note that this will only work when using the Letter template included in OneNote. This macro will apply the change across all pages in the current section, for when the imported printout's pages are spread across multiple subpages in OneNote.


Author(s) : peetrain
Category : Image
Last Updated : June 19, 2016
Requirements : OneNote 2010 or above
Changelog :

June 19, 2016 (83910D) - peetrain
Automatically upgraded to the new Macro Language

These versions are no longer supported:

August 01, 2014 - peetrain
Initial version


henrysslee - 2014-12-02
Actually ignore my previous post, I have managed to move outlines in accordance to image, However im having trouble with outlines as not all outlines are detected, this includes things like a line drawn with ink, it is not showing up as an outline in the debug either. Sentences written in ink seems to be detectable as an outline object though strangely..
henrysslee - 2014-12-02
Just to make it clear, I'm trying to include objects such as the ink and highlight as a part of the image/printout , so that when i resize it i could keep it's place aligned with the printout.
henrysslee - 2014-12-02
Hi, thanks I was being silly and didn't see that option.

I see that it was only the printout that was set to the page , is there anyway to move annotations as well? The object paragraph doesn't seems to have x,y,z coordinates , is there a way around this? Such as grouping or linking the paragraph with the printout?