C# 클래스 SharpPlant.SharpPlantReview.SprUtilities

파일 보기 프로젝트 열기: phusband/SharpPlant 1 사용 예제들

공개 메소드들

메소드 설명
ClearTagRegistry ( ) : void

Clears the default tag settings from the registry.

From0Bgr ( int bgrColor ) : Color

Returns a fully opaque (Alpha 255) color from a 0BGR format.

Get0Bgr ( Color rgbColor ) : int

Returns a 24-bit color integer.

GetError ( int errorStatus ) : SprException

Checks for errors from a status returned by a DrApi function.

SetTagRegistry ( SprTag tag ) : void

Writes the tag properties to the default tag registry settings used by SmartPlant Review.

메소드 상세

ClearTagRegistry() 공개 정적인 메소드

Clears the default tag settings from the registry.
public static ClearTagRegistry ( ) : void
리턴 void

From0Bgr() 공개 정적인 메소드

Returns a fully opaque (Alpha 255) color from a 0BGR format.
public static From0Bgr ( int bgrColor ) : Color
bgrColor int The 0BGR integer to be converted.
리턴 Color

Get0Bgr() 공개 정적인 메소드

Returns a 24-bit color integer.
public static Get0Bgr ( Color rgbColor ) : int
rgbColor Color The System.Drawing.Color to be converted.
리턴 int

GetError() 공개 정적인 메소드

Checks for errors from a status returned by a DrApi function.
public static GetError ( int errorStatus ) : SprException
errorStatus int The integer status returned by a DrApi function.
리턴 SprException

SetTagRegistry() 공개 정적인 메소드

Writes the tag properties to the default tag registry settings used by SmartPlant Review.
public static SetTagRegistry ( SprTag tag ) : void
tag SprTag The tag used to determine settings values.
리턴 void