Eplan Platform API
Eplan.EplApi.DataModel.Graphics Namespace / ContactImage Class / Create Method
Eplan.EplApi.DataModel.Function object to which contact image will be assigned.
If true created object will be displayed next to the parent.

In This Topic
    Create Method (ContactImage)
    In This Topic
    Creates the ContactImage object for specified function.
    Syntax
    public void Create( 
       Function pParent,
       bool bOnComponent
    )
    public:
    void Create( 
       Function^ pParent,
       bool bOnComponent
    ) 

    Parameters

    pParent
    Eplan.EplApi.DataModel.Function object to which contact image will be assigned.
    bOnComponent
    If true created object will be displayed next to the parent.
    Exceptions
    ExceptionDescription
    Thrown when pParent is null or invalid.
    Thrown when object has already been created.
    Remarks

    If parent object already contains contact image object then it is removed and new one is created.

    Method sets value of parents property UseLocalPropertyPlacements to true if it's set to false and the selected scheme to 'User-defined'.

    See Also