Page Constructor (masterName)

Pageflex Document Action API

Pageflex Document Action API Page Constructor (masterName)
Namespaces > Pageflex.Scripting > Page > PageNew(String)
Creates a new Page document element using the specified master page.
Syntax
C# Visual Basic Managed C++
public Page (
	string masterName
)
Public Sub New ( _
	masterName As String _
)
public:
Page (
	String^ masterName
)
Parameters
masterName (String)
A String identifying the master page to use, or "" or nullNothingnullptr for "[No_Master]".
Remarks
Creates a new Page as the last page in the document, using the specified masterName. Use MoveBefore(Element, Element) to reposition the newly created page.
Exceptions
Exception Condition
MasterPageNotFoundException The specified master page is not defined in the current document.

Assembly: PFScript Version: 8.0.7.1407 (Module: PFScript)