Print Preview ActiveX Active Users: 85 / Visits Today: 130
Highest Active Users: 85
Print Preview ActiveX
Home | Profile | Register | Active Topics | Members | Search | FAQ | RSS
Username:
Password:
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  

emiel
Administrator

Belgium
327 Posts

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

Action:

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

Syntax:

AddPageTemplate ( strOldpage As String )

Parameter       Description             
  • strOldPage Key to page to be copied
    Remarks:

    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.

    Example:

    To add a new page based on the current page:

    Preview.AddPageTemplate
    or to add a new page based on a certain page:

    preview.AddPageTemplate "page 3"
    See also:

    AddFirstPage -> http://www.ppreview.net/forum/topic.asp?TOPIC_ID=324
    AddPage --------> http://www.ppreview.net/forum/topic.asp?TOPIC_ID=325
    ApplyStyle -----> http://www.ppreview.net/forum/topic.asp?TOPIC_ID=399



    Come and visit :
    www.immoassist.com
    www.ppreview.net
    www.vbdiamond.com
    www.d2dsources.com
    www.mandix.com

    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.06 seconds. Powered By: Snitz Forums 2000 Version 3.4.02