Click or drag to resize

SautinSoft.Document Namespace

SautinSoft is an Internet-oriented software development company. We are developing .Net components which help your applications to create, parse, modify, convert HTML, RTF, Word, Excel, Text and PDF documents.

SautinSoft.Document namespace gives ability for your apps to do anything what you want with PDF, DOCX, RTF, HTML and Text documents.

SautinSoft.Document namespace contains the main class DocumentCore.

Classes
 ClassDescription
Public classAbsolutePositionTabCharacter Represents the absolute position tab character.
Public classCode exampleBlock Represents a base class for all block elements.
Public classCode exampleBlockCollection Represents a collection of a Block derived elements.
Public classCode exampleBookmark Represents a single bookmark.
Public classCode exampleBookmarkCollection Represents a collection of Bookmarks.
Public classCode exampleBookmarkEnd Represents the end of a bookmark.
Public classCode exampleBookmarkStart Represents the start of a bookmark.
Public classCode exampleBuiltInDocumentPropertiesDictionary Represents a dictionary that contains BuiltInDocumentProperty key and String value pairs.
Public classCode exampleCharacterFormat Represents a set of formatting properties which shall be applied to a document text.
Public classCode exampleCharacterStyle Represents a character style.
Public classComment Represents a comment that is anchored to a region of document content.
Public classCommentCollection Represents a collection of Comment elements.
Public classCommentEnd Represents the end of a comment.
Public classCommentStart Represents the start of a comment.
Public classCode exampleContentPosition Represents a position within a document.
Public classCode exampleContentRange Represents an area in document bounded by two ContentPositions.
Public classCode exampleCustomDocumentPropertiesDictionary Represents a dictionary that contains String key and Object value pairs.
Public classCustomXmlPart Represents a custom XML part within a document that contains arbitrary custom XML markup.
Public classCustomXmlPartCollection Represents a collection of CustomXmlParts.
Public classDictionaryBaseTKey, TValue Provides a base class for generic dictionary.
Public classCode exampleDocLoadOptions Represents a class that stores loading options for Microsoft Word 97-2003 (DOC) format.
Public classCode exampleDocumentBuilder Provides methods to insert text, images and other content, specify character, paragraph and section formatting.
Public classCode exampleDocumentCore The main class of "Document .Net" library. Represents a document itself.
Public classDocumentEditProtection Represents a set of document editing protection restrictions which have been applied to the contents of a document.
Public classCode exampleDocumentPage Represents a document page.
Public classCode exampleDocumentPaginator Provides a functionality to paginate the document content.
Public classCode exampleDocumentProperties Contains a dictionaries of built-in and custom document properties.
Public classDocumentSettings Represents stored preferences which shall be used when processing the contents of the document.
Public classDocumentVariablesDictionary Represents a dictionary that contains String key and String value pairs.
Public classDocumentWriteProtection Represents the write protection options for the document. Supported only in DOCX format.
Public classCode exampleDocxLoadOptions Represents a class that stores loading options for Microsoft Word (DOCX) format.
Public classCode exampleDocxSaveOptions Represents a class that stores saving options for Microsoft Word (DOCX) format.
Public classCode exampleElement Represents a base class for all document elements.
Public classCode exampleElementCollection Represents a base non-generic class for Element collections.
Public classElementCollectionT Represents a base generic class for Element collections.
Public classElementFrame Represents the frame of an element that is layouted on the page.
Public classCode exampleField Field can represent a placeholder (like a Date, Time, PageNum etc), form element (FormCheckBox, FormDropDown, FormText), MergeField (to do a MailMerge process) etc.
Public classCode exampleFontSettings Contains font related settings which are used when printing, importing or exporting a document to a file format that requires font information.
Public classCode exampleFormat Represents a base class for all formatting.
Public classCode exampleFormCheckBoxData Represents a form related data associated with the parent FormCheckBox field within the document.
Public classCode exampleFormDropDownData Represents a form related data associated with the parent FormDropDown field within the document.
Public classCode exampleFormFieldData Represents a form related data associated with the parent form field within the document.
Public classFormFieldDataCollection Represents a collection of FormFieldData instances associated with form fields from a particular part of document content.
Public classCode exampleFormTextData Represents a form related data associated with the parent FormText field within the document.
Public classCode exampleHeaderFooter Represents a header or footer; allows to operate with headers and footers.
Public classCode exampleHeaderFooterCollection Represents a collection of HeaderFooter elements.
Public classHtmlDocumentPartSavingArgs Provides data for the PartSaving(HtmlDocumentPartSavingArgs) event.
Public classCode exampleHtmlFixedSaveOptions Represents options for saving to fixed HyperText Markup Language (HTML) format.
Public classCode exampleHtmlFlowingSaveOptions Represents options for saving to flowing HyperText Markup Language (HTML) format.
Public classHtmlImageSavingArgs Provides data for the ImageSaving(HtmlImageSavingArgs) event.
Public classCode exampleHtmlLoadOptions Represents a class that stores loading options for HyperText Markup Language (HTML) format.
Public classCode exampleHtmlSaveOptions Represents a base class for saving options to HyperText Markup Language (HTML) format.
Public classCode exampleHyperlink Represents a hyperlink.
Public classCode exampleImageLoadOptions Represents a class that stores options for loading images.
Public classCode exampleImageSaveOptions Represents options for saving to Image (PNG, JPE, GBitmap, TIFF etc.) format.
Public classCode exampleImportSession Represents an import session that maps styles (and other referenced objects) between two different DocumentCore instances.
Public classCode exampleInline Represents a base class for all inline elements.
Public classCode exampleInlineCollection Represents a collection of Inline derived elements.
Public classCode exampleLengthUnitConverter Utility class used for converting values between various LengthUnit measurement units.
Public classCode exampleListFormat Represents list format which shall be applied to the contents of the parent paragraph.
Public classCode exampleListItem Represents content which prefixes numbered paragraph Paragraph for which ListFormat is not null.
Public classCode exampleListLevelFormat Represents formatting definition which specifies the appearance and behavior of a list level.
Public classListLevelFormatCollection Represents a read-only collection of list level formatting.
Public classCode exampleListStyle Represents a list style.
Public classCode exampleLoadOptions Represents a base class for loading options of various file formats.
Public classCode exampleMultipleBorders Represents a set of borders.
Public classCode exampleNote Represents a footnote or an endnote in the document.
Public classCode exampleNoteSettings Represents the footnote or endnote options of a DocumentCore or Section.
Public classOCREventArgs Provides data for the OCROptions event.
Public classCode exampleOCROptions Represents a class that stores loading options for Portable Document Format (PDF).
Public classCode examplePageMargins Represents page margins.
Public classCode examplePageSetup Represents the page setup properties: paper type, orientation, margins and so forth.
Public classCode examplePaginatorOptions Represents options which used while paginating the document.
Public classCode exampleParagraph Represents a paragraph of content in the document.
Public classCode exampleParagraphFormat Represents a set of paragraph formatting properties which shall be applied to the contents of the parent paragraph.
Public classCode exampleParagraphStyle Represents a paragraph style.
Public classCode examplePdfDigitalSignatureDetails Represents a class that stores details for signing a document with a digital signature.
Public classCode examplePdfEncryptionDetails Contains details for encrypting and access permissions for a PDF document.
Public classCode examplePdfLoadOptions Represents a class that stores loading options for Portable Document Format (PDF).
Public classCode examplePdfSaveOptions Represents a class that stores saving options for Adobe Portable Document Format (PDF) format.
Public classPreservedInline Represents an Inline element that is loaded from a file and is not directly supported by SautinSoft.Document API.
Public classCode exampleRevision Represents a revision (tracked change).
Public classCode exampleRevisionCollection Represents a collection of Revisions.
Public classRevisionGroup Represents a group of sequential Revisions.
Public classRevisionGroupCollection Represents a collection of RevisionGroups.
Public classCode exampleRtfLoadOptions Represents a class that stores loading options for Rich Text (RTF) format.
Public classCode exampleRtfSaveOptions Represents options for saving to Rich Text (RTF) format.
Public classCode exampleRun Represents a run of characters with the same character formatting.
Public classCode exampleSaveOptions Represents a base class for saving options of various file formats.
Public classCode exampleSection Represents a single section in a document.
Public classCode exampleSectionCollection Represents a collection of Section elements.
Public classCode exampleSpecialCharacter Represents a character, such as break or tab, which shall be placed at the current location in the document content.
Public classCode exampleStyle Represents a base class for all styles.
Public classStyleCollection Represents a collection of styles.
Public classCode exampleTableOfEntries Represents a Table of Entries field, such as Table of Contents, Table of Figures, Table of Authorities, Index or Bibliography.
Public classTabStopCollection Represents a collection of TabStops.
Public classCode exampleTextColumn Represents a text column.
Public classCode exampleTextColumnCollection Represents a collection of text columns in a section.
Public classTextFrameFormat Represents frame related formatting for a paragraph.
Public classCode exampleTxtLoadOptions Represents a class that stores loading options for plain text (TXT) format.
Public classCode exampleTxtSaveOptions Represents options for saving to plain text (TXT) format.
Public classCode exampleXmlSaveOptions Represents options for saving to XML format.
Public classXpsSaveOptions Represents options for saving to Microsoft XML Paper Specification (XPS) format. For work use Net Core 3.1
Structures
 StructureDescription
Public structureCode exampleColor Represents a color.
Public structureHorizontalPosition Represents a horizontal positioning.
Public structurePadding Represents the space between the element border and the element content.
Public structureCode exampleSingleBorder Represents a single border around a document element.
Public structureTabStop Represents a single custom tab stop.
Public structureCode exampleVerticalPosition Represents a vertical positioning.
Interfaces
 InterfaceDescription
Public interfaceIContentElement Represents an Element that can contain other Elements underneath itself.
Public interfaceIHtmlDocumentPartSavingCallback Implement this interface if you want to receive notifications and control how Document.Net saves document parts when exporting a document to Html.
Public interfaceIHtmlImageSavingCallback Implement this interface if you want to control how Document .Net saves images when saving a document to Html.
Delegates
 DelegateDescription
Public delegateOCROptionsOCRMethod Delegate to perform OCR (any 3rd party). We offer free library from Nicomsoft: https://www.nicomsoft.com/nicomsoft-ocr-sdk-is-freeware-now.
Public delegatePdfLoadOptionsPageProgressDelegate Allows to define a progress indicator
Enumerations
 EnumerationDescription
Public enumerationAbsolutePositionTabAlignment Specifies the alignment of an absolutely positioned tab character.
Public enumerationAbsolutePositionTabAnchor Specifies the possible extents which can be used to calculate the absolute positioning of the positional tab character.
Public enumerationCode exampleBorderStyle Specifies line style for a border.
Public enumerationCode exampleBuiltInDocumentProperty Represents an available built-in document properties.
Public enumerationCharacterSpacingControl Specifies the possible ways in which full-width characters can be compressed to remove additional whitespace.
Public enumerationCode exampleCssExportMode Specifies how CSS (Cascading Style Sheet) styles are exported to HTML.
Public enumerationDocxFormat An enumeration of Microsoft Word file formats.
Public enumerationDocxSaveOptionsEmbeddedImagesFormat Specifies the image format to embed in the document during the saving. Default value: Auto.
Public enumerationDropCapPosition Specifies the position for a drop cap text.
Public enumerationEditingRestrictionType Represents a possible set of editing restrictions which may be enforced on a given document.
Public enumerationCode exampleElementType Represents an element type enumeration.
Public enumerationCode exampleFieldType Specifies Microsoft Word field types.
Public enumerationCode exampleFormTextType Specifies the type of a text form field.
Public enumerationCode exampleHeaderFooterType Specifies the type of the HeaderFooter.
Public enumerationCode exampleHeightRule Specifies the rule for determining the height of an object.
Public enumerationCode exampleHorizontalAlignment Horizontal alignment.
Public enumerationCode exampleHorizontalPositionAnchor Represents a horizontal position to which the parent object has been anchored in the document.
Public enumerationCode exampleHorizontalPositionType Represents a set of possible relative horizontal positions for the parent floating element.
Public enumerationHtmlDeviceCategory All possible devices to load HTML documents.
Public enumerationHtmlHeadersFootersExportMode Specifies how headers and footers are exported to HTML and MHTML.
Public enumerationCode exampleHtmlListExportMode Specifies how list labels are exported to HTML and MHTML.
Public enumerationHtmlSaveOptionsEmbeddedImagesFormat Specifies the image format to embed in the document during the saving. Default value: Auto.
Public enumerationHtmlSplitCriteria Specifies how the document is split into parts when saving to Html format.
Public enumerationCode exampleHtmlVersion Indicates the version of HTML is used when saving the document to Html and Mhtml formats.
Public enumerationImageSaveFormat An enumeration of supported image file formats when saving an image.
Public enumerationCode exampleLengthUnit Represents the measurement unit for measuring length or distance.
Public enumerationLineNumberRestartSetting Represents line number restart setting.
Public enumerationCode exampleLineSpacingRule Specifies line spacing values for a paragraph.
Public enumerationCode exampleListTemplateType Specifies one of the predefined list formats available in Microsoft Word.
Public enumerationCode exampleListTrailingCharacter Specifies trailing character that will be inserted after the number.
Public enumerationCode exampleMultipleBorderTypes Represents multiple border types.
Public enumerationNoteLocation Represents the Note rendering location.
Public enumerationNoteNumbering Represents the Note numbering mode.
Public enumerationCode exampleNoteType Represents Note type.
Public enumerationCode exampleNumberStyle Represents the number style.
Public enumerationCode exampleOCRMode Specifies in which cases OCR will be performed, during load PDF document.
Public enumerationCode exampleOrientation Specifies page orientation.
Public enumerationCode exampleOutlineLevel Specifies the outline level of a paragraph in the document.
Public enumerationCode examplePaperType Specifies paper size.
Public enumerationCode examplePdfCompliance Specifies the PDF standards compliance level.
Public enumerationCode examplePdfConversionMode An enumeration of the PDF document conversion modes.
Public enumerationCode examplePdfEncryptionAlgorithm Specifies the encryption algorithm to use for encrypting a PDF document.
Public enumerationPdfPermissions Specifies the operations that are allowed to a user on an encrypted PDF document.
Public enumerationPdfSaveOptionsEmbeddedImagesFormat Specifies the image format to embed in the document during the saving. Default value: Auto.
Public enumerationPixelFormat An enumeration of supported pixel formats.
Public enumerationCode examplePropertyState Specifies the property state.
Public enumerationRevisionType Specifies the type of change being tracked in Revision.
Public enumerationRtfSaveOptionsEmbeddedImagesFormat Specifies the image format to embed in the document during the saving. Default value: Auto.
Public enumerationCode exampleSectionStart Specifies type of break at the beginning of the section.
Public enumerationCode exampleSingleBorderType Represents single border type.
Public enumerationCode exampleSpecialCharacterType Represents the special character type.
Public enumerationCode exampleStyleImportingMode Specifies how style formatting is merged when importing content between different documents.
Public enumerationCode exampleStyleTemplateType Type that determines predefined style.
Public enumerationStyleType Represents a style type enumeration.
Public enumerationTabCharacterLeader Specifies the type of the leader line displayed under the tab character.
Public enumerationTabStopAlignment Specifies the alignment/type of a tab stop.
Public enumerationCode exampleTextDirection Represents a direction of the text flow for the parent element.
Public enumerationTiffCompression An enumeration of supported compression schemes for Tagged Image File Format (TIFF).
Public enumerationCode exampleUnderlineType Represents type of the underline applied to a text.
Public enumerationCode exampleVerticalAlignment Specifies vertical justification of text inside of the parent element.
Public enumerationCode exampleVerticalPositionAnchor Represents a vertical position to which the parent object has been anchored in the document.
Public enumerationVerticalPositionType Represents a set of possible relative vertical positions for the parent floating element.
Public enumerationZoomType Represent a possible values for how large or small the document appears on the screen in Microsoft Word.