Skip to content

Instantly share code, notes, and snippets.

@GroupDocsGists
Last active September 17, 2019 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GroupDocsGists/59e844f056347c2d4412fafcf8edab92 to your computer and use it in GitHub Desktop.
Save GroupDocsGists/59e844f056347c2d4412fafcf8edab92 to your computer and use it in GitHub Desktop.
/// <summary>
/// Allows to specify custom options for generating and saving plain text (TXT) documents
/// </summary>
public sealed class TextSaveOptions : ISaveOptions
{
/// <summary>
/// Character encoding of the text document, which will be applied for its saving
/// </summary>
public System.Text.Encoding Encoding { get; set; }
/// <summary>
/// Specifies whether to add bi-directional marks before each BiDi run when exporting in plain text format
/// </summary>
public bool AddBidiMarks { get; set; }
/// <summary>
/// Specifies whether the program should attempt to preserve layout of tables when saving in the plain text format. The default value is false.
/// </summary>
public bool PreserveTableLayout { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment