# LoadSettings Class

> The LoadSettings class provides properties for advanced settings and information during load operations. See the TextControl.Load method for more information.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Class
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Inherits:** `TXTextControl.LoadSaveSettingsBase`
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl > LoadSettings Class
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/#description)
- [Syntax](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/#syntax)
- [Examples](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/#examples)
- [Members](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/#members)

---

## In This Section

- [LoadSettings.AddParagraph Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/addparagraph-property/llms.txt): Specifies whether or not a new paragraph is created before text is loaded. This property has only an effect, when a LoadSettings object is used with the Selection.Load method. By default a new paragraph is not created. When text is loaded into an existing paragraph the formatting attributes of the existing and the last loaded paragraph are merged. When this property is true, attributes are not merged and the newly created paragraph gets the attributes of the last loaded paragraph.
- [LoadSettings.ApplicationFieldFormat Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/applicationfieldformat-property/llms.txt): Specifies the format of text fields which are imported. The property's value can be one of the ApplicationFieldFormat values.
- [LoadSettings.ApplicationFieldTypeNames Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/applicationfieldtypenames-property/llms.txt): Specifies an array of strings containing the type names of fields which are to be imported. This property is only taken into account, if the LoadSettings.ApplicationFieldFormat property is set to ApplicationFieldFormat.MSWord or ApplicationFieldFormat.HighEdit. For example, if the LoadSettings.ApplicationFieldFormat is set to ApplicationFieldFormat.MSWord and this array has the single string MERGEFIELD only Microsoft Word Merge Fields are loaded. If this property is null, which is the default value, all fields with the format specified through the LoadSettings.ApplicationFieldFormat are loaded.
- [LoadSettings.Author Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/author-property/llms.txt): Gets the document's author. It is an empty string, if there is no author saved in the loaded document.
- [LoadSettings.BytesRead Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/bytesread-property/llms.txt): Gets the number of bytes read during the load operation.
- [LoadSettings.CreationDate Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/creationdate-property/llms.txt): Gets the document's creation date. It is January 1, 0001 in the Gregorian calendar, if there is no creation date saved in the loaded document.
- [LoadSettings.CreatorApplication Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/creatorapplication-property/llms.txt): Gets the application, which has created the document. It is an empty string, if a creator application is not saved in the loaded document.
- [LoadSettings.CssFileName Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/cssfilename-property/llms.txt): Gets the path and filename of the CSS file belonging to a HTML or XML document.
- [LoadSettings.DocumentAccessPermissions Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/documentaccesspermissions-property/llms.txt): Specifies how a document can be accessed after it has been loaded. If a valid master password has been specified with the MasterPassword property, the document can be accessed without any restrictions. The property's value can be a bitwise combination of more than one of the described values.
- [LoadSettings.DocumentKeywords Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/documentkeywords-property/llms.txt): Gets the document's keywords. The property value is null, if there are no keywords saved in the document.
- [LoadSettings.DocumentPartName Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/documentpartname-property/llms.txt): SpreadsheetML only. Gets or sets the name of the part of the document to be loaded. Each SpreadsheetML document can contain multiple named worksheets. This property can be used to select a certain worksheet. The LoadSettings.GetDocumentPartNames method returns a list of all worksheet names. When this property is null, which is the deafault value, the first worksheet in loaded. When this property is an empty string, a dialog box is opened showing the names of all worksheets the document contains. The end-user can then select the worksheet to be loaded.
- [LoadSettings.DocumentSubject Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/documentsubject-property/llms.txt): Gets the document's subject string. It is an empty string, if there is no subject saved in the loaded document.
- [LoadSettings.DocumentTitle Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/documenttitle-property/llms.txt): Gets the document's title. It is an empty string, if there is no title saved in the loaded document.
- [LoadSettings.EmbeddedData Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/embeddeddata-property/llms.txt): Gets a System.Collections.Generic.Dictionary containing additional embedded data contained in a PDF document. Supported formats are specified through the EmbeddedDataFormat enumeration. Each entry in the dictionary is a key-value pair, the key is an EmbeddedDataFormat enumeration value and the value is a string with the data in the specified format. This Dictionary is filled only, if the PDFImportSettings property specifies the LoadEmbeddedData setting.
- [LoadSettings.GetDocumentPartNames Method](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/getdocumentpartnames-method/llms.txt): SpreadsheetML only. Returns the names of all document parts the specified document contains. Each SpreadsheetML document can contain multiple named worksheets.
- [LoadSettings.ImageSearchPath Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/imagesearchpath-property/llms.txt): Sets a file path that is used to search for resources like images or hypertext links. This path replaces all absolute file paths used in the document.
- [LoadSettings.LastModificationDate Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/lastmodificationdate-property/llms.txt): Gets the date the document is last modified. It is January 1, 0001 in the Gregorian calendar, if such a date is not saved in the loaded document.
- [LoadSettings.LoadDocumentBackColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/loaddocumentbackcolor-property/llms.txt): Specifies whether or not the document background color is loaded. By default it is loaded.
- [LoadSettings.LoadedFile Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/loadedfile-property/llms.txt): Gets the name and path of the file that has been loaded.
- [LoadSettings.LoadedStreamType Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/loadedstreamtype-property/llms.txt): Gets the StreamType of the file that has been loaded.
- [LoadSettings.LoadHypertextLinks Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/loadhypertextlinks-property/llms.txt): Specifies whether or not hypertext links are loaded. By default hypertext links are loaded.
- [LoadSettings.LoadImages Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/loadimages-property/llms.txt): Specifies whether or not images are loaded. If set to false images are displayed through a rectangle and the image's name. By default images are loaded.
- [LoadSettings.LoadSubTextParts Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/loadsubtextparts-property/llms.txt): DOCX, DOC and RTF Formats only: Specifies whether or not bookmarks which extend over several characters are converted to SubTextParts. By default bookmarks are converted to DocumentTargets and when a bookmark extend over several characters, the first character is used as the target position.
- [LoadSettings.PageMargins Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/pagemargins-property/llms.txt): Gets the margins of the loaded document's pages. If the document does not contain margins the values are set to -1.
- [LoadSettings.PageSize Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/pagesize-property/llms.txt): Gets the width and height of the loaded document's pages. If the document does not contain a page size the Width and Height is set to 0.
- [LoadSettings.PDFImportSettings Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/pdfimportsettings-property/llms.txt): Specifies how the document structure is generated when a PDF document is imported. Adobe PDF format is a low-level output format. In most cases in contains only geometrical information about the single characters. A high-level document structure specifying paragraphs, tables, sections and styles is not available. The TXTextControl PDF import filter will reconstruct the original document according to the value of the PDFImportSettigs property.
- [LoadSettings.UserDefinedDocumentProperties Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/userdefineddocumentproperties-property/llms.txt): Gets a dictionary with all user-defined document properties contained in the loaded document. The property's value is an object of the type UserDefinedPropertyDictionary or null, if the document does not contain any user-defined property.

---

## Nearby

- **Previous:** [LoadSaveSettingsBase.UserPassword Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsavesettingsbase/userpassword-property/llms.txt)
- **Next:** [LoadSettings.AddParagraph Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/addparagraph-property/llms.txt)
