Table of Contents

Property CaseMode

Namespace
LMKit.Extraction
Assembly
LM-Kit.NET.dll

CaseMode

Gets or sets the case mode to apply to the extracted text.

public TextExtractionElementFormat.TextCaseMode CaseMode { get; set; }

Property Value

TextExtractionElementFormat.TextCaseMode

Examples

var country = new TextExtractionElement("Country", ElementType.String);
country.Format.CaseMode = TextCaseMode.UpperCase; // e.g., "france" -> "FRANCE"

Remarks

Only applicable when ElementType is String or StringArray. In JSON: use the "caseMode" property with values "UpperCase" or "LowerCase".