Eplan Platform API
Eplan.EplApi.DataModel.Graphics Namespace / Text Class / Create Method / Create(Page,MultiLangString,Double) Method
Eplan.EplApi.DataModel.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 virtual void Create( 
       Page page,
       MultiLangString contents,
       double textHeight
    )
    public:
    virtual void Create( 
       Page^ page,
       MultiLangString^ contents,
       double textHeight
    ) 

    Parameters

    page
    Eplan.EplApi.DataModel.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