Initializes a new instance of the LoadOptions class.
def__init__(self):...
Example
fromgroupdocs.metadata.optionsimportLoadOptionsfromgroupdocs.metadata.commonimportFileFormat# Default constructoroptions=LoadOptions()# Specify a file format to skip automatic detectionoptions_with_format=LoadOptions(FileFormat.SPREADSHEET)
init
Initializes a new instance of the LoadOptions class.
def__init__(self,file_format):...
Parameter
Type
Description
file_format
FileFormat
The exact type of the file.
Example
fromgroupdocs.metadata.optionsimportLoadOptionsfromgroupdocs.metadata.commonimportFileFormat# Load a spreadsheet file with explicit format specificationload_options=LoadOptions(FileFormat.SPREADSHEET)