Eplan Platform API
Eplan.EplApi.DataModel.Graphics Namespace / PathText Class / CreateTransient Method / CreateTransient(Project,MultiLangString,Double) Method
Eplan.EplApi.DataModel.Project the Text will be assign to.
Eplan.EplApi.Base.MultiLangString containing text to display.
Height of the Text.

CreateTransient(Project,MultiLangString,Double) Method
Creates transient and not placed PathText object.
Syntax
public void CreateTransient( 
   Project oProject,
   MultiLangString contents,
   double textHeight
)

Parameters

oProject
Eplan.EplApi.DataModel.Project the Text will be assign to.
contents
Eplan.EplApi.Base.MultiLangString containing text to display.
textHeight
Height of the Text.
Exceptions
ExceptionDescription
Thrown when oProject 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.
Remarks
After creation object is not stored in project database. It can be inserted into database after execution of Eplan.EplApi.DataModel.Placement.CopyTo.
See Also