C# Класс SharpPlant.SharpPlantReview.SprTag

Provides the properties for creating a tag in SmartPlant Review.
Наследование: SprDbObject, IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Delete ( bool setNext = false ) : void

Deletes the current tag from inside the SprApplication.

DeleteSnapshot ( ) : void

Deletes the snapshot owned by the current SprTag.

EditLeader ( ) : void

Prompts a user to select new leader points for an existing tag. DisplayLeader will automatically be set to true.

ExportSnapshot ( string imagePath, bool overWrite = true ) : void

Exports the saved tag snapshot if one exists.

Goto ( bool displayTag = true ) : void

Locates the specified tag in the SmartPlant Review application main window.

Place ( ) : void

Prompts a user to place the current tag.

SendToTextWindow ( ) : void

Updates the SmartPlant Review text window with the SprTag text.

SprTag ( ) : System
SprTag ( DataRow dataRow ) : System
TakeSnapshot ( bool zoomToTag, SprSnapShot snapShot = null ) : void

Saves a snapshot of the current SprApplication main view to the MDB database.

ToString ( ) : string

Converts the current tag to a string representation.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void
GetDataRow ( ) : DataRow
GetDefaultRow ( ) : DataRow

Приватные методы

Метод Описание
GetImage ( ) : Image
GetLeaderPoint ( ) : SprPoint3D
GetLinkedObject ( ) : SprObject
GetOriginPoint ( ) : SprPoint3D
SetLeaderPoint ( SprPoint3D newpoint ) : void
SetOriginPoint ( SprPoint3D newpoint ) : void

Описание методов

Delete() публичный Метод

Deletes the current tag from inside the SprApplication.
public Delete ( bool setNext = false ) : void
setNext bool Determines if the SprApplication.NextTag should be set to the deleted Id.
Результат void

DeleteSnapshot() публичный Метод

Deletes the snapshot owned by the current SprTag.
public DeleteSnapshot ( ) : void
Результат void

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

EditLeader() публичный Метод

Prompts a user to select new leader points for an existing tag. DisplayLeader will automatically be set to true.
public EditLeader ( ) : void
Результат void

ExportSnapshot() публичный Метод

Exports the saved tag snapshot if one exists.
public ExportSnapshot ( string imagePath, bool overWrite = true ) : void
imagePath string The full path where the image will be saved.
overWrite bool True if the destination image can be overwritten; Otherwise false.
Результат void

GetDataRow() защищенный Метод

protected GetDataRow ( ) : DataRow
Результат System.Data.DataRow

GetDefaultRow() защищенный Метод

protected GetDefaultRow ( ) : DataRow
Результат System.Data.DataRow

Goto() публичный Метод

Locates the specified tag in the SmartPlant Review application main window.
public Goto ( bool displayTag = true ) : void
displayTag bool Determines if the tag will be displayed in the main view.
Результат void

Place() публичный Метод

Prompts a user to place the current tag.
public Place ( ) : void
Результат void

SendToTextWindow() публичный Метод

Updates the SmartPlant Review text window with the SprTag text.
public SendToTextWindow ( ) : void
Результат void

SprTag() публичный Метод

public SprTag ( ) : System
Результат System

SprTag() публичный Метод

public SprTag ( DataRow dataRow ) : System
dataRow System.Data.DataRow
Результат System

TakeSnapshot() публичный Метод

Saves a snapshot of the current SprApplication main view to the MDB database.
public TakeSnapshot ( bool zoomToTag, SprSnapShot snapShot = null ) : void
zoomToTag bool Determines if the main view zooms to the tag in the main SmartPlant screen.
snapShot SprSnapShot The snapshot format the image will be created with.
Результат void

ToString() публичный Метод

Converts the current tag to a string representation.
public ToString ( ) : string
Результат string