API Help
Eplan.EplApi.DataModel.Graphics Namespace / PathText Class / Create Method / Create(Page,String,Double) Method
Eplan.EplApi.DataModel.Page the Text will be placed on.
System.String containing text to display.
Height of the Text.

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

    Parameters

    page
    Eplan.EplApi.DataModel.Page the Text will be placed on.
    contents
    System.String 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