The Load
public sealed class LoadSettings : LoadSaveSettingsBasePublic NotInheritable Class LoadSettings
Inherits LoadSaveSettingsBaseThe following example shows how to use the Load
TXTextControl.LoadSettings ls = new TXTextControl.LoadSettings();
if (textControl1.Load(TXTextControl.StreamType.All, ls) == System.Windows.Forms.DialogResult.OK)
{
System.Windows.Forms.MessageBox.Show(ls.LoadedFile + " has been loaded. " + ls.BytesRead.ToString() + " bytes read.");
}Dim ls As TXTextControl.LoadSettings = New TXTextControl.LoadSettings()
If TextControl1.Load(TXTextControl.StreamType.All, ls) = System.Windows.Forms.DialogResult.OK Then
System.Windows.Forms.MessageBox.Show(ls.LoadedFile + " has been loaded. " + ls.BytesRead.ToString() + " bytes read.")
End If| Method | Description |
|---|---|
| Get |
Spreadsheet |
| Property | Description |
|---|---|
| Add |
Specifies whether or not a new paragraph is created before text is loaded. |
| Application |
Specifies the format of text fields which are imported. |
| Application |
Specifies an array of strings containing the type names of fields which are to be imported. |
| Author | Gets the document's author. |
| Bytes |
Gets the number of bytes read during the load operation. |
| Creation |
Gets the document's creation date. |
| Creator |
Gets the application, which has created the document. |
| Css |
Gets the path and filename of the CSS file belonging to a HTML or XML document. |
| Default |
Determines the default Stream (Inherited from Load |
| Document |
Specifies how a document can be accessed after it has been loaded. |
| Document |
Sets a base path saved in the document that is used to resolve relative file paths.
(Inherited from Load |
| Document |
Gets the document's keywords. |
| Document |
Spreadsheet |
| Document |
Gets the document's subject string. |
| Document |
Gets the document's title. |
| Embedded |
Gets a System. |
| Embedded |
Specifies an array of Embedded (Inherited from Load |
| Image |
Sets a file path that is used to search for resources like images or hypertext links. |
| Last |
Gets the date the document is last modified. |
| Load |
Specifies whether or not the document background color is loaded. |
| Load |
Specifies whether or not hypertext links are loaded. |
| Load |
Specifies whether or not images are loaded. |
| Load |
DOCX, DOC and RTF Formats only: Specifies whether or not bookmarks which extend over several characters are converted to Sub |
| Loaded |
Gets the name and path of the file that has been loaded. |
| Loaded |
Gets the Stream |
| Master |
Specifies a password for the document's access permissions.
(Inherited from Load |
| PDFImport |
Specifies how the document structure is generated when a PDF document is imported. |
| Page |
Gets the margins of the loaded document's pages. |
| Page |
Gets the width and height of the loaded document's pages. |
| Reporting |
Specifies how reporting merge blocks are handled when a document is saved.
(Inherited from Load |
| User |
Gets a dictionary with all user-defined document properties contained in the loaded document. |
| User |
Specifies the password for the user when the document is reopened.
(Inherited from Load |
Learn more about the TXText