Class TextFormatting
인식하고자 하는 글자의 포맷을 지정하는 옵션입니다. 글자 수에 관계 없이 인식하고자 하는 글자집합을 설정하는 방식과, 글자의 위치별로 인식하고자 하는 글자집합을 설정하는 두 가지 방식이 있습니다.
Inheritance
object
TextFormatting
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: SaigeVision.Net.V2
Assembly: SaigeVision.Net.V2.dll
Syntax
public class TextFormatting
Constructors
View SourceTextFormatting(int, bool[], bool[], bool[], bool[], bool[])
Declaration
public TextFormatting(int length, bool[] engLower, bool[] engUpper, bool[] number, bool[] kor, bool[] symbol)
Parameters
| Type | Name | Description |
|---|---|---|
| int | length | |
| bool[] | engLower | |
| bool[] | engUpper | |
| bool[] | number | |
| bool[] | kor | |
| bool[] | symbol |
Properties
View SourceEngLower
영소문자를 포함하는지 여부를 지정하는 변수입니다.
Declaration
public bool[] EngLower { get; set; }
Property Value
| Type | Description |
|---|---|
| bool[] |
EngUpper
영대문자를 포함하는지 여부를 지정하는 변수입니다.
Declaration
public bool[] EngUpper { get; set; }
Property Value
| Type | Description |
|---|---|
| bool[] |
Kor
한글을 포함하는지 여부를 지정하는 변수입니다.
지원하는 한글집합은 KSC5601을 지원하며 예외적인 글자도 추가될 수 있습니다.
Declaration
public bool[] Kor { get; set; }
Property Value
| Type | Description |
|---|---|
| bool[] |
Length
인식하려는 글자의 수를 지정합니다.
0인 경우 글자 수에 관계 없는 옵션을 의미합니다.
Declaration
public int Length { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Number
숫자를 포함하는지 여부를 지정하는 변수입니다.
Declaration
public bool[] Number { get; set; }
Property Value
| Type | Description |
|---|---|
| bool[] |
Symbol
기호를 포함하는지 여부를 지정하는 변수입니다.
지원하는 기호의 종류는 다음과 같습니다.
.,'"·●°_~-+±=*※#%&@:/!?(){}[]<>
Declaration
public bool[] Symbol { get; set; }
Property Value
| Type | Description |
|---|---|
| bool[] |
Methods
View SourceToSaigeTextFormatting(TextFormatting)
Declaration
public static SaigeTextFormatting ToSaigeTextFormatting(TextFormatting src)
Parameters
| Type | Name | Description |
|---|---|---|
| TextFormatting | src |
Returns
| Type | Description |
|---|---|
| SaigeTextFormatting |
ToTextFormatting(SaigeTextFormatting)
Declaration
public static TextFormatting ToTextFormatting(SaigeTextFormatting src)
Parameters
| Type | Name | Description |
|---|---|---|
| SaigeTextFormatting | src |
Returns
| Type | Description |
|---|---|
| TextFormatting |