API PageSetup on multiple sheets document

There is any method in API to make print settings on documents with multiple sheets. I must mention that is the case where sheets formats and orientation are different.

I use ModelDocExtension to set that I use swPageSetupInUse_e.swPageSetupInUse_DrawingSheet, but when I set each page characteristics, all have the same format as first one.

If I use ModelDocExtension set as swPageSetupInUse_e.swPageSetupInUse_Document I can make the settings, but pages had different sizes.....

SolidworksApi macros