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

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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