Read a string from an ini file.
Namespace: pdf7.PdfWriter
Assembly: pdf7.PdfWriter (in pdf7.PdfWriter.dll) Version: 4.0.0.0 (4.0.1000.111)
Syntax
public string ReadIniString( string fileName, string sectionName, string valueName, string defaultValue )
Parameters
- fileName
- Type: SystemString
File name of ini file. - sectionName
- Type: SystemString
Name of section in ini file. - valueName
- Type: SystemString
Name of value in section. - defaultValue
- Type: SystemString
Default value to return if value was not found.
Return Value
Type: StringThe value of the setting in the ini file. The specified default value is returned if the setting was not found.
See Also