dwg editor API Set Page Size

in dwgeditor when I pdf out or save as and select PDF itallows for me to set the page size where I select custom and input10" by 6"via a popup. This works great.

Now I am trying to do this via API and cannot find where I can setthe size. Here is the API I am looking at.

Sub Export(FileName As String, Extension As String, [SelectionSetAs SelectionSet])
Member of DWGeditor.Document

or

Sub SaveAs(SaveFile As String, [Version As FileVersions =vicVersionR14])
Member of DWGeditor.Document

What reference will allow me to tell it to use the above settingsonce I call the export or save as.SolidworksApi macros