Eplan Platform API
Eplan.EplApi.DataModel Namespace / MacroBox Class / Create Method / Create(Page) Method
Page inside which the object will be located.

Create(Page) Method
Creates a MacroBox object.
Syntax
public void Create( 
   Page page
)

Parameters

page
Page inside which the object will be located.
Exceptions
ExceptionDescription
Thrown when a MacroBox cannot be created.
Thrown when null is given as a parameter.
Thrown when given Page has PageType sets to ExternalDocument.
Thrown if the default macro box symbol ('SPECIAL/MC(44)') is not available.
See Also