API Help
Eplan.EplApi.DataModel.EObjects Namespace / PLC Class / Create Method / Create(Page,SymbolVariant) Method
Eplan.EplApi.DataModel.Page where the symbol reference will be located on
Eplan.EplApi.DataModel.MasterData.SymbolVariant representing the graphical symbol of the PLC

Create(Page,SymbolVariant) Method
Creates a SymbolReference. It is placed on the page passed as a parameter, using a given SymbolVariant.
Syntax
public override void Create( 
   Page page,
   SymbolVariant variant
)

Parameters

page
Eplan.EplApi.DataModel.Page where the symbol reference will be located on
variant
Eplan.EplApi.DataModel.MasterData.SymbolVariant representing the graphical symbol of the PLC
Exceptions
ExceptionDescription
Thrown when page is null.
Thrown when symbVariant is null.
Thrown when symbVariant is incompatible with this object. See IncorrectSymbolTypeException for details.
Thrown when the function cannot be created.
Thrown when given Page has PageType sets to ExternalDocument.
See Also