Tekla Open API

Detailed and full API reference helps you master Tekla Open API

This is the most recent version of Tekla Open API.
For older versions, please visit Tekla Warehouse.

TextFile Constructor (ViewBase, Point, String, Size)

Creates a new text file instance using standard attributes.

Namespace:  Tekla.Structures.Drawing
Assembly:  Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2019.0.0.0 (2019.0.0.0)
Syntax
public TextFile(
	ViewBase view,
	Point insertionPoint,
	string fileName,
	Size size
)

Parameters

view
Type: Tekla.Structures.DrawingViewBase
The view for the object.
insertionPoint
Type: Tekla.Structures.Geometry3dPoint
The location of the object.
fileName
Type: SystemString
The name of the referenced text file.
size
Type: Tekla.Structures.DrawingSize
The maximum height of the text file object.
See Also