API Reference

Detailed and full API reference helps you master Tekla development

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

Meta.Microsoft.Help.Id
M:Tekla.Structures.Drawing.TextFile.#ctor(Tekla.Structures.Drawing.ViewBase,Tekla.Structures.Geometry3d.Point,System.String,Tekla.Structures.Drawing.Size,Tekla.Structures.Drawing.TextFile.TextFileAttributes)

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: 2020.0.0.0 (2020.0.55582.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