/// <summary>
 /// Converts the HTML document (located on storage) to Markdown and uploads resulting file to the storage.
 /// </summary>
 /// <param name="name">The source file name</param>
 /// <param name="outPath">The path to resulting file; like this: [/Folder1][/Folder2]/Filename.md</param>
 /// <param name="useGit">Use Git flavor of Markdown.</param>
 /// <param name="folder">Source document folder</param>
 /// <param name="storage">Source and resulting document storage</param>
 /// <returns>AsposeResponse | Response status.</returns>
 public AsposeResponse PutConvertDocumentToMarkdown(string name, string outPath, bool?useGit = false, string folder = null, string storage = null)
 {
     return(ConversionApiImpl.PutConvertDocumentToMarkdown(name, outPath, useGit, folder, storage));
 }
 /// <summary>
 /// Converts the HTML document (located on storage) to DOCX (MS Word) and uploads resulting file to the storage.
 /// </summary>
 /// <param name="name">The source file name</param>
 /// <param name="outPath">The path to resulting file; like this: [/Folder1][/Folder2]/Filename.docx</param>
 /// <param name="width">Resulting document page width. </param>
 /// <param name="height">Resulting document page height. </param>
 /// <param name="leftMargin">Left document page margin.</param>
 /// <param name="rightMargin">Right document page margin.</param>
 /// <param name="topMargin">Top document page margin.</param>
 /// <param name="bottomMargin">Bottom document page margin.</param>
 /// <param name="folder">Source document folder</param>
 /// <param name="storage">Source and resulting document storage</param>
 /// <returns>AsposeResponse | Response status.</returns>
 public AsposeResponse PutConvertDocumentToDoc(string name, string outPath, int?width = null, int?height = null, int?leftMargin = null, int?rightMargin = null, int?topMargin = null, int?bottomMargin = null, string folder = null, string storage = null)
 {
     return(ConversionApiImpl.PutConvertDocumentToDoc(name, outPath, width, height, leftMargin, rightMargin, topMargin, bottomMargin, folder, storage));
 }
 /// <summary>
 /// Converts the HTML document (located in the local file system) to DOCX (MS Word) and uploads resulting file to the storage.
 /// </summary>
 /// <param name="localFilePath">The local file system path to source document.</param>
 /// <param name="outPath">The path to resulting file; like this: [/Folder1][/Folder2]/Filename.docx</param>
 /// <param name="width">Resulting document page width. </param>
 /// <param name="height">Resulting document page height. </param>
 /// <param name="leftMargin">Left document page margin.</param>
 /// <param name="rightMargin">Right document page margin.</param>
 /// <param name="topMargin">Top document page margin.</param>
 /// <param name="bottomMargin">Bottom document page margin.</param>
 /// <param name="storage">Resulting document storage</param>
 /// <returns>AsposeResponse | Response status.</returns>
 public AsposeResponse PostConvertDocumentToDoc(string localFilePath, string outPath, int?width = null, int?height = null, int?leftMargin = null, int?rightMargin = null, int?topMargin = null, int?bottomMargin = null, string storage = null)
 {
     return(ConversionApiImpl.PostConvertDocumentToDoc(localFilePath, outPath, width, height, leftMargin, rightMargin, topMargin, bottomMargin, storage));
 }
 /// <summary>
 /// Converts the HTML document (located in the local file system) to PDF and uploads resulting file to the storage.
 /// </summary>
 /// <param name="localFilePath">The local file system path to source document.</param>
 /// <param name="outPath">The path to resulting file; like this: [/Folder1][/Folder2]/Filename.md</param>
 /// <param name="useGit">Use Git flavor of Markdown</param>
 /// <param name="storage">Source and resulting document storage</param>
 /// <returns>AsposeResponse | Response status.</returns>
 public AsposeResponse PostConvertDocumentToMarkdown(string localFilePath, string outPath, bool?useGit = false, string storage = null)
 {
     return(ConversionApiImpl.PostConvertDocumentToMarkdown(localFilePath, outPath, useGit, storage));
 }
 /// <summary>
 /// Converts the HTML document stream to the specified image format and uploads resulting file to the storage.
 /// </summary>
 /// <param name="inStream">Source document stream.</param>
 /// <param name="outFormat">Output image format</param>
 /// <param name="outPath">The path to resulting file; like this: [/Folder1][/Folder2]/Filename.jpg</param>
 /// <param name="width">Resulting image width. </param>
 /// <param name="height">Resulting image height. </param>
 /// <param name="leftMargin">Left image margin.</param>
 /// <param name="rightMargin">Right image margin.</param>
 /// <param name="topMargin">Top image margin.</param>
 /// <param name="bottomMargin">Bottom image margin.</param>
 /// <param name="resolution">Image resolution; 96 ppi by default.</param>
 /// <param name="storage">Resulting image storage</param>
 /// <returns>AsposeResponse | Response status.</returns>
 public AsposeResponse PostConvertDocumentToImage(Stream inStream, string outFormat, string outPath, int?width = null, int?height = null, int?leftMargin = null, int?rightMargin = null, int?topMargin = null, int?bottomMargin = null, int?resolution = null, string storage = null)
 {
     return(ConversionApiImpl.PostConvertDocumentToImage(inStream, outFormat, outPath, width, height, leftMargin, rightMargin, topMargin, bottomMargin, resolution, storage));
 }
 /// <summary>
 ///  Converts the HTML document stream to Markdown and uploads resulting file to the storage.
 /// </summary>
 /// <param name="inStream">Source document stream.</param>
 /// <param name="outPath">The path to resulting file; like this: [/Folder1][/Folder2]/Filename.md</param>
 /// <param name="useGit">Use Git flavor of Markdown</param>
 /// <param name="storage">Source and resulting document storage</param>
 /// <returns>AsposeResponse | Response status.</returns>
 public AsposeResponse PostConvertDocumentToMarkdown(Stream inStream, string outPath, bool?useGit = false, string storage = null)
 {
     return(ConversionApiImpl.PostConvertDocumentToMarkdown(inStream, outPath, useGit, storage));
 }
 /// <summary>
 /// Converts the HTML page (located in the Web by its URL) to DOCX (MS Word) and returns resulting file in the response content.
 /// </summary>
 /// <param name="sourceUrl">The source page URL.</param>
 /// <param name="width">Resulting document page width. </param>
 /// <param name="height">Resulting document page height. </param>
 /// <param name="leftMargin">Left document page margin.</param>
 /// <param name="rightMargin">Right document page margin.</param>
 /// <param name="topMargin">Top document page margin.</param>
 /// <param name="bottomMargin">Bottom document page margin.</param>
 /// <returns>StreamResponse | Stream of the resulting XPS document.</returns>
 public StreamResponse GetConvertDocumentToDocByUrl(string sourceUrl, int?width = null, int?height = null, int?leftMargin = null, int?rightMargin = null, int?topMargin = null, int?bottomMargin = null)
 {
     return(ConversionApiImpl.GetConvertDocumentToDocByUrl(sourceUrl, width, height, leftMargin, rightMargin, topMargin, bottomMargin));
 }
 /// <summary>
 /// Converts the HTML document (located on storage) to DOCX (MS Word) and returns resulting file in the response content.
 /// </summary>
 /// <param name="name">The source file name.</param>
 /// <param name="width">Resulting document page width. </param>
 /// <param name="height">Resulting document page height. </param>
 /// <param name="leftMargin">Left document page margin.</param>
 /// <param name="rightMargin">Right document page margin.</param>
 /// <param name="topMargin">Top image document page.</param>
 /// <param name="bottomMargin">Bottom document page margin.</param>
 /// <param name="folder">The document folder.</param>
 /// <param name="storage">The document storage.</param>
 /// <returns>StreamResponse | Stream of the resulting XPS document.</returns>
 public StreamResponse GetConvertDocumentToDoc(string name, int?width = null, int?height = null, int?leftMargin = null, int?rightMargin = null, int?topMargin = null, int?bottomMargin = null, string folder = null, string storage = null)
 {
     return(ConversionApiImpl.GetConvertDocumentToDoc(name, width, height, leftMargin, rightMargin, topMargin, bottomMargin, folder, storage));
 }
 /// <summary>
 /// Converts the HTML page (located in the Web by its URL) to MHTML and returns resulting file in the response content.
 /// </summary>
 /// <param name="sourceUrl"></param>
 /// <returns>StreamResponse | Stream of the resulting MHTML document.</returns>
 public StreamResponse GetConvertDocumentToMHTMLByUrl(string sourceUrl)
 {
     return(ConversionApiImpl.GetConvertDocumentToMHTMLByUrl(sourceUrl));
 }
 /// <summary>
 /// Converts the HTML document (located on storage) to Markdown and returns resulting file in the response content.
 /// </summary>
 /// <param name="name">The source file name</param>
 /// <param name="useGit">Use Git flavor of Markdown.</param>
 /// <param name="folder">Source document folder</param>
 /// <param name="storage">Source document storage</param>
 /// <returns>StreamResponse | Stream of the resulting Markdown document.</returns>
 public StreamResponse GetConvertDocumentToMarkdown(string name, bool?useGit = null, string folder = null, string storage = null)
 {
     return(ConversionApiImpl.GetConvertDocumentToMarkdown(name, useGit, folder, storage));
 }
 /// <summary>
 /// Converts the HTML page (located in the Web by its URL) to the specified image format and returns resulting file in the response content.
 /// </summary>
 /// <param name="sourceUrl">The source page URL.</param>
 /// <param name="outFormat">Output image format.</param>
 /// <param name="width">Resulting image width. </param>
 /// <param name="height">Resulting image height. </param>
 /// <param name="leftMargin">Left image margin.</param>
 /// <param name="rightMargin">Right image margin.</param>
 /// <param name="topMargin">Top image margin.</param>
 /// <param name="bottomMargin">Bottom image margin.</param>
 /// <param name="resolution">Image resolution; 96 ppi by default.</param>
 /// <returns>StreamResponse | Stream of the resulting image.</returns>
 public StreamResponse GetConvertDocumentToImageByUrl(string sourceUrl, string outFormat, int?width = null, int?height = null, int?leftMargin = null, int?rightMargin = null, int?topMargin = null, int?bottomMargin = null, int?resolution = null)
 {
     return(ConversionApiImpl.GetConvertDocumentToImageByUrl(sourceUrl, outFormat, width, height, leftMargin, rightMargin, topMargin, bottomMargin, resolution));
 }