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, TextFileTextFileAttributes)

Creates a new text file instance using specific attributes.

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

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.
attributes
Type: Tekla.Structures.DrawingTextFileTextFileAttributes
The text file attributes to be used.
See Also