Page 1 of 1

TrvActionNew Page Defaults

Posted: Tue Aug 28, 2012 10:19 pm
by MarkElder
Hello,

I am trying to figure our where page defaults get set when using the action TrvActionNew. I am starting with the ScaleRichView ActionTest project. I want the default page setting to be a letter size page with .5 inch margins for new documents. If I change the PageProperty properties on the ScaleRichView control my first document is set correct. However, if I choose File -> New (mapped to the TrvActionNew action), then things revert back to A4 and other settings.

Do I just need to change the setting back in code or are these defaults being read in from somewhere?

Thanks,

Mark

Posted: Wed Aug 29, 2012 6:29 am
by Sergey Tkachenko
RVAControlPanel1.DefaultDocParameters

Posted: Wed Aug 29, 2012 2:57 pm
by MarkElder
Great - just what I was looking for. I didn't originally see the separate help file for Actions - that answers a lot of my questions.