Link Search Menu Expand Document

IReaderCreateProfile Method (String, Boolean, Boolean, Boolean)

Creates JSON profile will all Reader properties with current values.

Namespace:Bytescout.BarCodeReader
Assembly: Bytescout.BarCodeReader (in Bytescout.BarCodeReader.dll) Version: 12.0.1.2142-master
Syntax
string CreateProfile(
	string profileName,
	bool indented = false,
	bool singleQuotes = false,
	bool simplifiedProfile = false
)

Parameters

profileName
Type: SystemString
Name of profile (without spaces).
indented (Optional)
Type: SystemBoolean
Set to true if you need indented JSON.
singleQuotes (Optional)
Type: SystemBoolean
Set to true if you need single-quoted JSON.
simplifiedProfile (Optional)
Type: SystemBoolean
Whether to generate the simplified profile that contains only the properties.

Return Value

Type: String
JSON string.
See Also

Reference