Class WordOptions
Provides properties to manage Word document export behaviors.
Inheritance
Namespace: BoldReports.Writer
Assembly: BoldReports.Web.dll
Syntax
public class WordOptions : Object, IReportDispose, IDisposable
Constructors
WordOptions()
Declaration
public WordOptions()
Properties
EncryptionPassword
Gets or Sets the encryption password to open the word document
Declaration
public string EncryptionPassword { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string containing the encrypted password. |
FormatType
Gets or sets the file format version to be export.
Declaration
public WordFormatType FormatType { get; set; }
Property Value
Type | Description |
---|---|
WordFormatType | It conatins the word export format version. |
LayoutOption
Gets or sets the rendering type need to be used for exporting report.
Declaration
public WordLayoutOptions LayoutOption { get; set; }
Property Value
Type | Description |
---|---|
WordLayoutOptions | Contains the export layout of the word document. |
ParagraphSpacing
Gets or sets the distance between two empty paragraph elements in the document.
Declaration
public ParagraphSpacing ParagraphSpacing { get; set; }
Property Value
Type | Description |
---|---|
ParagraphSpacing | It contains the padding values in float. |
ProtectionPassword
Gets or Sets the password to edit the word document.
Declaration
public string ProtectionPassword { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string containing the protection password. |
ProtectionType
Gets or Sets the type of protection type of the word document.
Declaration
public ProtectionType ProtectionType { get; set; }
Property Value
Type | Description |
---|---|
Syncfusion.DocIO.ProtectionType | Conatins the protection type applied to the Word document. |
RowHeightType
Gets or sets the table row height type to the word document.
Declaration
public TableRowHeightType RowHeightType { get; set; }
Property Value
Type | Description |
---|---|
Syncfusion.DocIO.DLS.TableRowHeightType | It conatins the table row height type for word export. |
Methods
Dispose()
Provides a mechanism for releasing unmanaged resources.
Declaration
public void Dispose()
Remarks
It close or release unmanaged resources such as files, streams, and handles held by an instance of the class that implements this interface.