TxtLoadOptions Class
Represents the options for loading text file.
Inheritance Hierarchy

Namespace: Aspose.Cells
Assembly: Aspose.Cells (in Aspose.Cells.dll) Version: 19.9.0.0 (19.9)
Syntax
public class TxtLoadOptions : AbstractTextLoadOptions

The TxtLoadOptions type exposes the following members.

Constructors
  NameDescription
Public methodTxtLoadOptions
Creates the options for loading text file.
Public methodTxtLoadOptions(LoadFormat)
Creates the options for loading text file.
Properties
  NameDescription
Public propertyAutoFitterOptions
Gets and sets the auto fitter options
(Inherited from LoadOptions.)
Public propertyCheckExcelRestriction
Whether check restriction of excel file when user modify cells related objects. For example, excel does not allow inputting string value longer than 32K. When you input a value longer than 32K such as by Cell.PutValue(string), if this property is true, you will get an Exception. If this property is false, we will accept your input string value as the cell's value so that later you can output the complete string value for other file formats such as CSV. However, if you have set such kind of value that is invalid for excel file format, you should not save the workbook as excel file format later. Otherwise there may be unexpected error for the generated excel file.
(Inherited from LoadOptions.)
Public propertyConvertDateTimeData
Gets or sets a value that indicates whether the string in text file is converted to date data.
(Inherited from AbstractTextLoadOptions.)
Public propertyConvertNumericData
Gets or sets a value that indicates whether the string in text file is converted to numeric data.
(Inherited from AbstractTextLoadOptions.)
Public propertyCultureInfo
Gets or sets the system culture info at the time the file was loaded.
(Inherited from LoadOptions.)
Public propertyEncoding
Gets and sets the default encoding.Only applies for csv file.
(Inherited from AbstractTextLoadOptions.)
Public propertyFontConfigs
Gets and sets individual font configs. Only works for the Workbook which uses this LoadOptions to load.>
(Inherited from LoadOptions.)
Public propertyHasFormula
Indicates whether the text is formula if it starts with "=".
Public propertyIgnoreNotPrinted
Ignore the data which are not printed if directly printing the file
(Inherited from LoadOptions.)
Public propertyInterruptMonitor
Gets and sets the interrupt monitor.
(Inherited from LoadOptions.)
Public propertyIsMultiEncoded
True means that the file contains several encoding.
Public propertyKeepPrecision
Indicates whether not parsing a string value if the length is 15.
(Inherited from AbstractTextLoadOptions.)
Public propertyLanguageCode
Gets or sets the user interface language of the Workbook version based on CountryCode that has saved the file.
(Inherited from LoadOptions.)
Public propertyLightCellsDataHandler
The data handler for processing cells data when reading template file.
(Inherited from LoadOptions.)
Public propertyLoadFilter
The filter to denote how to load data.
(Inherited from LoadOptions.)
Public propertyLoadFormat
Gets the load format.
(Inherited from LoadOptions.)
Public propertyLoadStyleStrategy
Indicates the strategy to apply style for parsed values when converting string value to number or datetime.
(Inherited from AbstractTextLoadOptions.)
Public propertyMemorySetting
Gets or sets the memory usage options.
(Inherited from LoadOptions.)
Public propertyParsingFormulaOnOpen
Indicates whether parsing the formula when reading the file.
(Inherited from LoadOptions.)
Public propertyParsingPivotCachedRecords
Inidicates whether parsing pivot cached records when loadiing the file. The default value is false.
(Inherited from LoadOptions.)
Public propertyPassword
Gets and set the password of the workbook.
(Inherited from LoadOptions.)
Public propertyPreferredParsers
Gets and sets preferred value parsers for loading text file.
Public propertyRegion
Gets or sets the system regional settings based on CountryCode at the time the file was loaded.
(Inherited from LoadOptions.)
Public propertySeparator
Gets and sets character separator of text file.
Public propertySeparatorString
Gets and sets the a string value as separator.
Public propertyStandardFont
Sets the default standard font name
(Inherited from LoadOptions.)
Public propertyStandardFontSize
Sets the default standard font size.
(Inherited from LoadOptions.)
Public propertyTreatConsecutiveDelimitersAsOne
Whether consecutive delimiters should be treated as one.
Public propertyWarningCallback
Gets or sets warning callback.
(Inherited from LoadOptions.)
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetPaperSize
Sets the default print paper size from default printer's setting.
(Inherited from LoadOptions.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Fields
  NameDescription
Protected fieldm_LoadFormat (Inherited from LoadOptions.)
See Also