Eplan Platform API
Eplan.EplApi.DataModel Namespace / PlaceHolderText Class / Create Method / Create(Page,MultiLangString,Double) Method
Page the Text will be placed on.
Eplan.EplApi.Base.MultiLangString containing text to display.
Height of the Text.

In This Topic
    Create(Page,MultiLangString,Double) Method
    In This Topic
    Creates the Text object.
    Syntax
    public override void Create( 
       Page page,
       MultiLangString contents,
       double textHeight
    )
    public:
    void Create( 
       Page^ page,
       MultiLangString^ contents,
       double textHeight
    ) override 

    Parameters

    page
    Page the Text will be placed on.
    contents
    Eplan.EplApi.Base.MultiLangString containing text to display.
    textHeight
    Height of the Text.
    Exceptions
    ExceptionDescription
    Thrown when page is null.
    Thrown when contents is null.
    Thrown when the Text cannot be created.
    Thrown when the Text has already been created.
    Thrown when function is invoked with object of higher class.
    Thrown when given Eplan.EplApi.DataModel.Page has PageType sets to ExternalDocument.
    See Also