Print Preview ActiveX Active Users: 72 / Visits Today: 103
Highest Active Users: 72
Print Preview ActiveX
Home | Profile | Register | Active Topics | Members | Search | FAQ | RSS
Save Password
Forgot your Password?

 All Forums
 Print Preview
 Help file
 AddPageTemplate - Method
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic: AddStyle - Method Topic Next Topic: AddPageNumberAt - Method  


327 Posts

Posted - 07/14/2005 :  12:13:58  Show Profile
Method AddPageTemplate


This method adds a new page based on an existing page.


AddPageTemplate ( strOldpage As String )

Parameter       Description             
  • strOldPage Key to page to be copied

    A new page is added to the end of document, based on the page reffered by the key sOldPage. If this parameter is omitted then the current page is copied.

    All of the frames on the original page are copied exactly except for the frame "Inside". Its size and position are copied but its content is left empty.

    AddPageTemplate is only related to the page, when executed FontName, FontSize and other font related properties are reset to the default values, thus they must be set or reset directly, or by calling a sub, after the code AddPageTemplate.

    This line of code can also be an ApplyStyle reference.


    To add a new page based on the current page:

    or to add a new page based on a certain page:

    preview.AddPageTemplate "page 3"
    See also:

    AddFirstPage ->
    AddPage -------->
    ApplyStyle ----->

    Come and visit :

    Edited by - emiel on 07/27/2005 12:30:12
    Go to Bottom of Page
      Previous Topic: AddStyle - Method Topic Next Topic: AddPageNumberAt - Method  
     New Topic  Topic Locked
     Printer Friendly
    Jump To:
    Print Preview ActiveX © Mandix Go To Top Of Page
    This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000 Version 3.4.02