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.

FormBorders Class

The FormBorders class handles the storing and restoring of the form size and location.
Inheritance Hierarchy
SystemObject
  Tekla.Structures.DialogFormBorders

Namespace:  Tekla.Structures.Dialog
Assembly:  Tekla.Structures.Dialog (in Tekla.Structures.Dialog.dll) Version: 2019.0.0.0 (2019.0.0.0)
Syntax
public static class FormBorders

The FormBorders type exposes the following members.

Methods
  Name Description
Public methodStatic member CheckScreenPosition(Form)
Moves form to primary screen.
Public methodStatic member CheckScreenPosition(Window)
Moves window to primary screen.
Public methodStatic member IsOnActiveDisplays
Checks form quadrants to be sure full extents is on a single screen
Public methodStatic member RestoreFormSizeAndLocation(Form)
Restores the form size and location from the registry.
Public methodStatic member RestoreFormSizeAndLocation(Window)
Restores the WPF window size and location from the registry.
Public methodStatic member StoreFormSizeAndLocation(Form)
Stores the form size and location into the registry.
Public methodStatic member StoreFormSizeAndLocation(Window)
Stores the window size and location into the registry.
Top
See Also