Eplan Platform API
Eplan.EplApi.DataModel.Graphics Namespace / PathText 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.

Create(Page,MultiLangString,Double) Method
Creates the Text object.
Syntax
public override 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