C# 클래스 SharpPlant.SharpPlantReview.SprTag

Provides the properties for creating a tag in SmartPlant Review.
상속: SprDbObject, IDisposable
파일 보기 프로젝트 열기: phusband/SharpPlant 1 사용 예제들

공개 메소드들

메소드 설명
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