Last active
May 15, 2023 14:59
-
-
Save aspose-words-cloud-gists/374e1e3dd4bca8f696f29d913645f549 to your computer and use it in GitHub Desktop.
This gist exceeds the recommended number of files (~10).
To access all files, please clone this gist.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This Gist contains C# code samples for Aspose.Words Cloud API |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var acceptRequest = new AcceptAllRevisionsRequest("Sample.docx"); | |
await wordsApi.AcceptAllRevisions(acceptRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var acceptRequest = new AcceptAllRevisionsOnlineRequest(requestDocument); | |
await wordsApi.AcceptAllRevisionsOnline(acceptRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var remoteFileName = "Sample.docx"; | |
var requestDocumentListDocumentEntries0FileReference = new FileReference(remoteFileName); | |
var requestDocumentListDocumentEntries0 = new DocumentEntry() | |
{ | |
FileReference = requestDocumentListDocumentEntries0FileReference, | |
ImportFormatMode = "KeepSourceFormatting" | |
}; | |
var requestDocumentListDocumentEntries = new List<DocumentEntry>() | |
{ | |
requestDocumentListDocumentEntries0 | |
}; | |
var requestDocumentList = new DocumentEntryList() | |
{ | |
DocumentEntries = requestDocumentListDocumentEntries | |
}; | |
var appendRequest = new AppendDocumentRequest(remoteFileName, requestDocumentList); | |
await wordsApi.AppendDocument(appendRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var localFile = "Sample.docx"; | |
using var requestDocument = File.OpenRead(localFile); | |
using var requestDocumentListDocumentEntries0FileReferenceStream = File.OpenRead(LocalTestDataFolder + localFile); | |
var requestDocumentListDocumentEntries0FileReference = new FileReference(requestDocumentListDocumentEntries0FileReferenceStream); | |
var requestDocumentListDocumentEntries0 = new DocumentEntry() | |
{ | |
FileReference = requestDocumentListDocumentEntries0FileReference, | |
ImportFormatMode = "KeepSourceFormatting" | |
}; | |
var requestDocumentListDocumentEntries = new List<DocumentEntry>() | |
{ | |
requestDocumentListDocumentEntries0 | |
}; | |
var requestDocumentList = new DocumentEntryList() | |
{ | |
DocumentEntries = requestDocumentListDocumentEntries | |
}; | |
var appendRequest = new AppendDocumentOnlineRequest(requestDocument, requestDocumentList); | |
await wordsApi.AppendDocumentOnline(appendRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var requestStyleApply = new StyleApply() | |
{ | |
StyleName = "Heading 1" | |
}; | |
var applyStyleRequest = new ApplyStyleToDocumentElementRequest("Sample.docx", "paragraphs/1/paragraphFormat", requestStyleApply); | |
await wordsApi.ApplyStyleToDocumentElement(applyStyleRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var requestStyleApply = new StyleApply() | |
{ | |
StyleName = "Heading 1" | |
}; | |
var applyStyleRequest = new ApplyStyleToDocumentElementOnlineRequest(requestDocument, "paragraphs/1/paragraphFormat", requestStyleApply); | |
await wordsApi.ApplyStyleToDocumentElementOnline(applyStyleRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var requestReportEngineSettingsReportBuildOptions = new List<ReportBuildOptions>() | |
{ | |
ReportBuildOptions.AllowMissingMembers, | |
ReportBuildOptions.RemoveEmptyParagraphs | |
}; | |
var requestReportEngineSettings = new ReportEngineSettings() | |
{ | |
DataSourceType = ReportEngineSettings.DataSourceTypeEnum.Json, | |
ReportBuildOptions = requestReportEngineSettingsReportBuildOptions | |
}; | |
var buildReportRequest = new BuildReportRequest("Sample.docx", "Data.json", requestReportEngineSettings); | |
await wordsApi.BuildReport(buildReportRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestTemplate = File.OpenRead("Sample.docx"); | |
var requestReportEngineSettings = new ReportEngineSettings() | |
{ | |
DataSourceType = ReportEngineSettings.DataSourceTypeEnum.Json, | |
DataSourceName = "persons" | |
}; | |
var buildReportRequest = new BuildReportOnlineRequest(requestTemplate, "Data.json", requestReportEngineSettings); | |
await wordsApi.BuildReportOnline(buildReportRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var classifyRequest = new ClassifyRequest("Try text classification", bestClassesCount: "3"); | |
await wordsApi.Classify(classifyRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var classifyRequest = new ClassifyDocumentRequest("Sample.docx", bestClassesCount: "3"); | |
await wordsApi.ClassifyDocument(classifyRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var classifyRequest = new ClassifyDocumentOnlineRequest(requestDocument, bestClassesCount: "3"); | |
await wordsApi.ClassifyDocumentOnline(classifyRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var requestCompareData = new CompareData() | |
{ | |
Author = "author", | |
ComparingWithDocument = "TestCompareDocument2.doc", | |
DateTime = new System.DateTime(2015, 10, 26, 0, 0, 0) | |
}; | |
var compareRequest = new CompareDocumentRequest("TestCompareDocument1.doc", requestCompareData, destFileName: "CompareDocumentOut.doc"); | |
await wordsApi.CompareDocument(compareRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("compareTestDoc1.doc"); | |
var requestCompareData = new CompareData() | |
{ | |
Author = "author", | |
ComparingWithDocument = "TestCompareDocument2.doc", | |
DateTime = new System.DateTime(2015, 10, 26, 0, 0, 0) | |
}; | |
using var requestComparingDocument = File.OpenRead("compareTestDoc2.doc"); | |
var compareRequest = new CompareDocumentOnlineRequest(requestDocument, requestCompareData, comparingDocument: requestComparingDocument, destFileName: "CompareDocumentOut.doc"); | |
await wordsApi.CompareDocumentOnline(compareRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var requestCompressOptions = new CompressOptions() | |
{ | |
}; | |
var compressDocument = new CompressDocumentRequest("Sample.docx", requestCompressOptions); | |
await wordsApi.CompressDocument(compressDocument); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("TestCompress.docx"); | |
var requestCompressOptions = new CompressOptions() | |
{ | |
}; | |
var compressDocumentOnline = new CompressDocumentOnlineRequest(requestDocument, requestCompressOptions); | |
await wordsApi.CompressDocumentOnline(compressDocumentOnline); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var convertRequest = new ConvertDocumentRequest(requestDocument, "pdf"); | |
await wordsApi.ConvertDocument(convertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var convertRequest = new ConvertDocumentRequest(requestDocument, "pdf"); | |
await wordsApi.ConvertDocument(convertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var convertRequest = new ConvertDocumentRequest(requestDocument, "pdf"); | |
await wordsApi.ConvertDocument(convertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var copyRequest = new CopyFileRequest("Copy.docx", "Sample.docx"); | |
await wordsApi.CopyFile(copyRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var folderToCopy = "/TestCopyFolder"; | |
var copyRequest = new CopyFolderRequest(folderToCopy + "Dest", folderToCopy + "Src"); | |
await wordsApi.CopyFolder(copyRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var requestStyleCopy = new StyleCopy() | |
{ | |
StyleName = "Heading 1" | |
}; | |
var copyRequest = new CopyStyleRequest("Sample.docx", requestStyleCopy); | |
await wordsApi.CopyStyle(copyRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var requestStyleCopy = new StyleCopy() | |
{ | |
StyleName = "Heading 1" | |
}; | |
var copyRequest = new CopyStyleOnlineRequest(requestDocument, requestStyleCopy); | |
await wordsApi.CopyStyleOnline(copyRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var copyRequest = new CopyStylesFromTemplateRequest("Sample.docx", "StyleTemplate.docx"); | |
await wordsApi.CopyStylesFromTemplate(copyRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var createRequest = new CreateDocumentRequest(fileName: "Sample.docx"); | |
await wordsApi.CreateDocument(createRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var createRequest = new CreateFolderRequest("/TestCreateFolder"); | |
await wordsApi.CreateFolder(createRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var requestProperty = new DocumentPropertyCreateOrUpdate() | |
{ | |
Value = "John Doe" | |
}; | |
var createRequest = new CreateOrUpdateDocumentPropertyRequest("Sample.docx", "AsposeAuthor", requestProperty); | |
await wordsApi.CreateOrUpdateDocumentProperty(createRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var requestProperty = new DocumentPropertyCreateOrUpdate() | |
{ | |
Value = "John Doe" | |
}; | |
var createRequest = new CreateOrUpdateDocumentPropertyOnlineRequest(requestDocument, "AsposeAuthor", requestProperty); | |
await wordsApi.CreateOrUpdateDocumentPropertyOnline(createRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var deleteRequest = new DeleteAllParagraphTabStopsRequest("Sample.docx", 0); | |
await wordsApi.DeleteAllParagraphTabStops(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var deleteRequest = new DeleteAllParagraphTabStopsOnlineRequest(requestDocument, 0); | |
await wordsApi.DeleteAllParagraphTabStopsOnline(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var deleteRequest = new DeleteBookmarkRequest("Sample.docx", "aspose"); | |
await wordsApi.DeleteBookmark(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var deleteRequest = new DeleteBookmarkOnlineRequest(requestDocument, "aspose"); | |
await wordsApi.DeleteBookmarkOnline(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var deleteRequest = new DeleteBookmarksRequest("Sample.docx"); | |
await wordsApi.DeleteBookmarks(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var deleteRequest = new DeleteBookmarksOnlineRequest(requestDocument); | |
await wordsApi.DeleteBookmarksOnline(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var deleteRequest = new DeleteBorderRequest("Sample.docx", "left", nodePath: "tables/1/rows/0/cells/0"); | |
await wordsApi.DeleteBorder(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var deleteRequest = new DeleteBorderOnlineRequest(requestDocument, "left", nodePath: "tables/1/rows/0/cells/0"); | |
await wordsApi.DeleteBorderOnline(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var deleteRequest = new DeleteBordersRequest("Sample.docx", nodePath: "tables/1/rows/0/cells/0"); | |
await wordsApi.DeleteBorders(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var deleteRequest = new DeleteBordersOnlineRequest(requestDocument, nodePath: "tables/1/rows/0/cells/0"); | |
await wordsApi.DeleteBordersOnline(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var deleteRequest = new DeleteCommentRequest("Sample.docx", 0); | |
await wordsApi.DeleteComment(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var deleteRequest = new DeleteCommentOnlineRequest(requestDocument, 0); | |
await wordsApi.DeleteCommentOnline(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var deleteRequest = new DeleteCommentsRequest("Sample.docx"); | |
await wordsApi.DeleteComments(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var deleteRequest = new DeleteCommentsOnlineRequest(requestDocument); | |
await wordsApi.DeleteCommentsOnline(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var deleteRequest = new DeleteCustomXmlPartRequest("Sample.docx", 0); | |
await wordsApi.DeleteCustomXmlPart(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var deleteRequest = new DeleteCustomXmlPartOnlineRequest(requestDocument, 0); | |
await wordsApi.DeleteCustomXmlPartOnline(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var deleteRequest = new DeleteCustomXmlPartsRequest("Sample.docx"); | |
await wordsApi.DeleteCustomXmlParts(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var deleteRequest = new DeleteCustomXmlPartsOnlineRequest(requestDocument); | |
await wordsApi.DeleteCustomXmlPartsOnline(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var deleteRequest = new DeleteDocumentPropertyRequest("Sample.docx", "testProp"); | |
await wordsApi.DeleteDocumentProperty(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var deleteRequest = new DeleteDocumentPropertyOnlineRequest(requestDocument, "testProp"); | |
await wordsApi.DeleteDocumentPropertyOnline(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var deleteRequest = new DeleteDrawingObjectRequest("Sample.docx", 0); | |
await wordsApi.DeleteDrawingObject(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var deleteRequest = new DeleteDrawingObjectOnlineRequest(requestDocument, 0); | |
await wordsApi.DeleteDrawingObjectOnline(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var deleteRequest = new DeleteFieldRequest("Sample.docx", 0); | |
await wordsApi.DeleteField(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var deleteRequest = new DeleteFieldOnlineRequest(requestDocument, 0, nodePath: "sections/0/paragraphs/0"); | |
await wordsApi.DeleteFieldOnline(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var deleteRequest = new DeleteFieldsRequest("Sample.docx"); | |
await wordsApi.DeleteFields(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
string clientId = "####-####-####-####-####"; | |
string secret = "##################"; | |
var config = new Configuration { ClientId = clientId, ClientSecret = secret }; | |
var wordsApi = new WordsApi(config); | |
var storageApi = new StorageApi(secret, clientId); | |
var fileName = "test_multi_pages.docx"; | |
string folder = null; | |
// Upload source document to Cloud Storage | |
PutCreateRequest request = new PutCreateRequest(fileName, File.OpenRead(fileName), null, null); | |
storageApi.PutCreate(request); | |
var deleteFieldsRequest = new DeleteFieldsRequest(fileName, folder, nodePath: "sections/0"); | |
var actual = wordsApi.DeleteFields(deleteFieldsRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
string clientId = "####-####-####-####-####"; | |
string secret = "##################"; | |
var config = new Configuration { ClientId = clientId, ClientSecret = secret }; | |
var wordsApi = new WordsApi(config); | |
var storageApi = new StorageApi(secret, clientId); | |
var fileName = "test_multi_pages.docx"; | |
string folder = null; | |
// Upload source document to Cloud Storage | |
PutCreateRequest request = new PutCreateRequest(fileName, File.OpenRead(fileName), null, null); | |
storageApi.PutCreate(request); | |
var deleteFieldsRequest = new DeleteFieldsRequest(fileName, folder, nodePath: "paragraphs/0"); | |
var actual = wordsApi.DeleteFields(deleteFieldsRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var deleteRequest = new DeleteFieldsOnlineRequest(requestDocument); | |
await wordsApi.DeleteFieldsOnline(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var deleteRequest = new DeleteFileRequest("Sample.docx"); | |
await wordsApi.DeleteFile(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var deleteRequest = new DeleteFolderRequest(""); | |
await wordsApi.DeleteFolder(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var deleteRequest = new DeleteFootnoteRequest("Sample.docx", 0); | |
await wordsApi.DeleteFootnote(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.doc"); | |
var deleteRequest = new DeleteFootnoteOnlineRequest(requestDocument, 0); | |
await wordsApi.DeleteFootnoteOnline(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var deleteRequest = new DeleteFormFieldRequest("Sample.docx", 0); | |
await wordsApi.DeleteFormField(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var deleteRequest = new DeleteFormFieldOnlineRequest(requestDocument, 0, nodePath: "sections/0"); | |
await wordsApi.DeleteFormFieldOnline(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var deleteRequest = new DeleteMacrosRequest("Sample.docx"); | |
await wordsApi.DeleteMacros(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var deleteRequest = new DeleteMacrosOnlineRequest(requestDocument); | |
await wordsApi.DeleteMacrosOnline(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var deleteRequest = new DeleteOfficeMathObjectRequest("Sample.docx", 0); | |
await wordsApi.DeleteOfficeMathObject(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var deleteRequest = new DeleteOfficeMathObjectOnlineRequest(requestDocument, 0); | |
await wordsApi.DeleteOfficeMathObjectOnline(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var deleteRequest = new DeleteParagraphRequest("Sample.docx", 0); | |
await wordsApi.DeleteParagraph(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var deleteRequest = new DeleteParagraphListFormatRequest("Sample.docx", 0); | |
await wordsApi.DeleteParagraphListFormat(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.doc"); | |
var deleteRequest = new DeleteParagraphListFormatOnlineRequest(requestDocument, 0); | |
await wordsApi.DeleteParagraphListFormatOnline(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var deleteRequest = new DeleteParagraphOnlineRequest(requestDocument, 0); | |
await wordsApi.DeleteParagraphOnline(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var deleteRequest = new DeleteParagraphTabStopRequest("Sample.docx", 72.0f, 0); | |
await wordsApi.DeleteParagraphTabStop(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var deleteRequest = new DeleteParagraphTabStopOnlineRequest(requestDocument, 72.0f, 0); | |
await wordsApi.DeleteParagraphTabStopOnline(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var deleteRequest = new DeleteRunRequest("Sample.docx", "paragraphs/1", 0); | |
await wordsApi.DeleteRun(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.doc"); | |
var deleteRequest = new DeleteRunOnlineRequest(requestDocument, "paragraphs/1", 0); | |
await wordsApi.DeleteRunOnline(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var deleteRequest = new DeleteSectionRequest("Sample.docx", 0); | |
await wordsApi.DeleteSection(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var deleteRequest = new DeleteSectionOnlineRequest(requestDocument, 0); | |
await wordsApi.DeleteSectionOnline(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var deleteRequest = new DeleteStructuredDocumentTagRequest("Sample.docx", 0, nodePath: "sections/0/body/paragraphs/0"); | |
await wordsApi.DeleteStructuredDocumentTag(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var deleteRequest = new DeleteStructuredDocumentTagOnlineRequest(requestDocument, 0, nodePath: "sections/0/body/paragraphs/0"); | |
await wordsApi.DeleteStructuredDocumentTagOnline(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var deleteRequest = new DeleteTableRequest("Sample.docx", 1); | |
await wordsApi.DeleteTable(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var deleteRequest = new DeleteTableCellRequest("Sample.docx", "sections/0/tables/2/rows/0", 0); | |
await wordsApi.DeleteTableCell(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var deleteRequest = new DeleteTableCellOnlineRequest(requestDocument, "sections/0/tables/2/rows/0", 0); | |
await wordsApi.DeleteTableCellOnline(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var deleteRequest = new DeleteTableOnlineRequest(requestDocument, 1); | |
await wordsApi.DeleteTableOnline(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var deleteRequest = new DeleteTableRowRequest("Sample.docx", "tables/1", 0); | |
await wordsApi.DeleteTableRow(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var deleteRequest = new DeleteTableRowOnlineRequest(requestDocument, "tables/1", 0); | |
await wordsApi.DeleteTableRowOnline(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var deleteRequest = new DeleteWatermarkRequest("Sample.docx"); | |
await wordsApi.DeleteWatermark(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var deleteRequest = new DeleteWatermarkOnlineRequest(requestDocument); | |
await wordsApi.DeleteWatermarkOnline(deleteRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var downloadRequest = new DownloadFileRequest("Sample.docx"); | |
await wordsApi.DownloadFile(downloadRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var requestOptionsCurrentUser = new UserInformation() | |
{ | |
Name = "SdkTestUser" | |
}; | |
var requestOptions = new FieldOptions() | |
{ | |
CurrentUser = requestOptionsCurrentUser | |
}; | |
var mailMergeRequest = new ExecuteMailMergeRequest("Sample.docx", data: File.ReadAllText(LocalTestDataFolder + "TestMailMergeData.xml"), options: requestOptions); | |
await wordsApi.ExecuteMailMerge(mailMergeRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
string clientId = "####-####-####-####-####"; | |
string secret = "##################"; | |
var config = new Configuration { ClientId = clientId, ClientSecret = secret }; | |
var wordsApi = new WordsApi(config); | |
string fileName = "template.doc"; | |
string destName = "Out_PostDocumentExecuteMailMergeWithHTMLData.docx"; | |
// Upload original document to Cloud Storage | |
wordsApi.UploadFile(new UploadFileRequest(File.Open(fileName, FileMode.Open), fileName, null)); | |
string data = File.ReadAllText("TestPostDocumentExecuteMailMerge.txt", System.Text.Encoding.UTF8); | |
ExecuteMailMergeRequest request = new ExecuteMailMergeRequest(fileName, data, null, null, null, null, null, null, null, null, destName); | |
DocumentResponse result = wordsApi.ExecuteMailMerge(request); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
string clientId = "####-####-####-####-####"; | |
string secret = "##################"; | |
var config = new Configuration { ClientId = clientId, ClientSecret = secret }; | |
var wordsApi = new WordsApi(config); | |
string fileName = "SampleMailMergeTemplate.docx"; | |
string destName = "Out_SampleMailMergeTemplate.docx"; | |
// Upload original document to Cloud Storage | |
wordsApi.UploadFile(new UploadFileRequest(File.Open(fileName, FileMode.Open), fileName, null)); | |
string data = File.ReadAllText("SampleMailMergeTemplateData.xml", System.Text.Encoding.UTF8); | |
ExecuteMailMergeRequest request = new ExecuteMailMergeRequest(fileName, data, null, null, null, null, null, null, null, null, destName); | |
DocumentResponse result = wordsApi.ExecuteMailMerge(request); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestTemplate = File.OpenRead("Sample.docx"); | |
using var requestData = File.OpenRead(File.ReadAllText(LocalTestDataFolder + "TestMailMergeData.xml")); | |
var requestOptionsCurrentUser = new UserInformation() | |
{ | |
Name = "SdkTestUser" | |
}; | |
var requestOptions = new FieldOptions() | |
{ | |
CurrentUser = requestOptionsCurrentUser | |
}; | |
var mailMergeRequest = new ExecuteMailMergeOnlineRequest(requestTemplate, requestData, options: requestOptions); | |
await wordsApi.ExecuteMailMergeOnline(mailMergeRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestTemplate = File.OpenRead("TestMailMergeWithImages.doc"); | |
using var requestData = File.OpenRead("MailMergeData.json"); | |
var mailMergeRequest = new ExecuteMailMergeOnlineRequest(requestTemplate, requestData, documentFileName: "Out_TestMailMergeWithImages.doc"); | |
await wordsApi.ExecuteMailMergeOnline(mailMergeRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestTemplate = File.OpenRead("template.doc"); | |
using var requestData = File.OpenRead("TestPostDocumentExecuteMailMerge.txt"); | |
var mailMergeRequest = new ExecuteMailMergeOnlineRequest(requestTemplate, requestData, documentFileName: "Out_PostDocumentExecuteMailMergeWithHTMLData.docx"); | |
await wordsApi.ExecuteMailMergeOnline(mailMergeRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestTemplate = File.OpenRead("SampleMailMergeTemplate.docx"); | |
using var requestData = File.OpenRead("SampleMailMergeTemplateData.xml"); | |
var mailMergeRequest = new ExecuteMailMergeOnlineRequest(requestTemplate, requestData, documentFileName: "Out_SampleMailMergeTemplate.docx"); | |
await wordsApi.ExecuteMailMergeOnline(mailMergeRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetAvailableFontsRequest(); | |
await wordsApi.GetAvailableFonts(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetBookmarkByNameRequest("Sample.docx", "aspose"); | |
await wordsApi.GetBookmarkByName(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetBookmarkByNameOnlineRequest(requestDocument, "aspose"); | |
await wordsApi.GetBookmarkByNameOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetBookmarksRequest("Sample.docx"); | |
await wordsApi.GetBookmarks(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetBookmarksOnlineRequest(requestDocument); | |
await wordsApi.GetBookmarksOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetBorderRequest("Sample.docx", "left", nodePath: "tables/1/rows/0/cells/0"); | |
await wordsApi.GetBorder(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetBorderOnlineRequest(requestDocument, "left", nodePath: "tables/1/rows/0/cells/0"); | |
await wordsApi.GetBorderOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetBordersRequest("Sample.docx", nodePath: "tables/1/rows/0/cells/0"); | |
await wordsApi.GetBorders(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetBordersOnlineRequest(requestDocument, nodePath: "tables/1/rows/0/cells/0"); | |
await wordsApi.GetBordersOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetCommentRequest("Sample.docx", 0); | |
await wordsApi.GetComment(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetCommentOnlineRequest(requestDocument, 0); | |
await wordsApi.GetCommentOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetCommentsRequest("Sample.docx"); | |
await wordsApi.GetComments(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetCommentsOnlineRequest(requestDocument); | |
await wordsApi.GetCommentsOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetCustomXmlPartRequest("Sample.docx", 0); | |
await wordsApi.GetCustomXmlPart(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetCustomXmlPartOnlineRequest(requestDocument, 0); | |
await wordsApi.GetCustomXmlPartOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetCustomXmlPartsRequest("Sample.docx"); | |
await wordsApi.GetCustomXmlParts(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetCustomXmlPartsOnlineRequest(requestDocument); | |
await wordsApi.GetCustomXmlPartsOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetDocumentRequest("Sample.docx"); | |
await wordsApi.GetDocument(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetDocumentDrawingObjectByIndexRequest("Sample.docx", 0); | |
await wordsApi.GetDocumentDrawingObjectByIndex(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetDocumentDrawingObjectByIndexOnlineRequest(requestDocument, 0, nodePath: "sections/0"); | |
await wordsApi.GetDocumentDrawingObjectByIndexOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetDocumentDrawingObjectImageDataRequest("Sample.docx", 0); | |
await wordsApi.GetDocumentDrawingObjectImageData(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetDocumentDrawingObjectImageDataOnlineRequest(requestDocument, 0, nodePath: "sections/0"); | |
await wordsApi.GetDocumentDrawingObjectImageDataOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetDocumentDrawingObjectOleDataRequest("Sample.docx", 0); | |
await wordsApi.GetDocumentDrawingObjectOleData(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetDocumentDrawingObjectOleDataOnlineRequest(requestDocument, 0, nodePath: "sections/0"); | |
await wordsApi.GetDocumentDrawingObjectOleDataOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetDocumentDrawingObjectsRequest("Sample.docx"); | |
await wordsApi.GetDocumentDrawingObjects(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetDocumentDrawingObjectsOnlineRequest(requestDocument, nodePath: "sections/0"); | |
await wordsApi.GetDocumentDrawingObjectsOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetDocumentFieldNamesRequest("Sample.docx"); | |
await wordsApi.GetDocumentFieldNames(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestTemplate = File.OpenRead("Sample.docx"); | |
var request = new GetDocumentFieldNamesOnlineRequest(requestTemplate, useNonMergeFields: true); | |
await wordsApi.GetDocumentFieldNamesOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetDocumentHyperlinkByIndexRequest("Sample.docx", 0); | |
await wordsApi.GetDocumentHyperlinkByIndex(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetDocumentHyperlinkByIndexOnlineRequest(requestDocument, 0); | |
await wordsApi.GetDocumentHyperlinkByIndexOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetDocumentHyperlinksRequest("Sample.docx"); | |
await wordsApi.GetDocumentHyperlinks(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetDocumentHyperlinksOnlineRequest(requestDocument); | |
await wordsApi.GetDocumentHyperlinksOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetDocumentPropertiesRequest("Sample.docx"); | |
await wordsApi.GetDocumentProperties(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetDocumentPropertiesOnlineRequest(requestDocument); | |
await wordsApi.GetDocumentPropertiesOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetDocumentPropertyRequest("Sample.docx", "Author"); | |
await wordsApi.GetDocumentProperty(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetDocumentPropertyOnlineRequest(requestDocument, "Author"); | |
await wordsApi.GetDocumentPropertyOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetDocumentProtectionRequest("Sample.docx"); | |
await wordsApi.GetDocumentProtection(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetDocumentProtectionOnlineRequest(requestDocument); | |
await wordsApi.GetDocumentProtectionOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetDocumentStatisticsRequest("Sample.docx"); | |
await wordsApi.GetDocumentStatistics(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetDocumentStatisticsOnlineRequest(requestDocument); | |
await wordsApi.GetDocumentStatisticsOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetDocumentWithFormatRequest("Sample.docx", "text", outPath: "DocumentWithFormat.text"); | |
await wordsApi.GetDocumentWithFormat(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetFieldRequest("Sample.docx", 0); | |
await wordsApi.GetField(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetFieldOnlineRequest(requestDocument, 0, nodePath: "sections/0/paragraphs/0"); | |
await wordsApi.GetFieldOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetFieldsRequest("Sample.docx"); | |
await wordsApi.GetFields(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetFieldsOnlineRequest(requestDocument, nodePath: "sections/0"); | |
await wordsApi.GetFieldsOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetFilesListRequest(""); | |
await wordsApi.GetFilesList(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetFootnoteRequest("Sample.docx", 0); | |
await wordsApi.GetFootnote(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.doc"); | |
var request = new GetFootnoteOnlineRequest(requestDocument, 0); | |
await wordsApi.GetFootnoteOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetFootnotesRequest("Sample.docx"); | |
await wordsApi.GetFootnotes(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.doc"); | |
var request = new GetFootnotesOnlineRequest(requestDocument); | |
await wordsApi.GetFootnotesOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetFormFieldRequest("Sample.docx", 0); | |
await wordsApi.GetFormField(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetFormFieldOnlineRequest(requestDocument, 0, nodePath: "sections/0"); | |
await wordsApi.GetFormFieldOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetFormFieldsRequest("Sample.docx"); | |
await wordsApi.GetFormFields(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetFormFieldsOnlineRequest(requestDocument, nodePath: "sections/0"); | |
await wordsApi.GetFormFieldsOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetInfoRequest(); | |
await wordsApi.GetInfo(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetListRequest("TestGetLists.doc", 1); | |
await wordsApi.GetList(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.doc"); | |
var request = new GetListOnlineRequest(requestDocument, 1); | |
await wordsApi.GetListOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetListsRequest("TestGetLists.doc"); | |
await wordsApi.GetLists(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.doc"); | |
var request = new GetListsOnlineRequest(requestDocument); | |
await wordsApi.GetListsOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetOfficeMathObjectRequest("Sample.docx", 0); | |
await wordsApi.GetOfficeMathObject(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetOfficeMathObjectOnlineRequest(requestDocument, 0); | |
await wordsApi.GetOfficeMathObjectOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetOfficeMathObjectsRequest("Sample.docx"); | |
await wordsApi.GetOfficeMathObjects(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetOfficeMathObjectsOnlineRequest(requestDocument); | |
await wordsApi.GetOfficeMathObjectsOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetParagraphRequest("Sample.docx", 0); | |
await wordsApi.GetParagraph(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetParagraphFormatRequest("Sample.docx", 0); | |
await wordsApi.GetParagraphFormat(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetParagraphFormatOnlineRequest(requestDocument, 0); | |
await wordsApi.GetParagraphFormatOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetParagraphListFormatRequest("Sample.docx", 0); | |
await wordsApi.GetParagraphListFormat(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.doc"); | |
var request = new GetParagraphListFormatOnlineRequest(requestDocument, 0); | |
await wordsApi.GetParagraphListFormatOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetParagraphOnlineRequest(requestDocument, 0, nodePath: "sections/0"); | |
await wordsApi.GetParagraphOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetParagraphsRequest("Sample.docx"); | |
await wordsApi.GetParagraphs(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetParagraphsOnlineRequest(requestDocument, nodePath: "sections/0"); | |
await wordsApi.GetParagraphsOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetParagraphTabStopsRequest("Sample.docx", 0); | |
await wordsApi.GetParagraphTabStops(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetParagraphTabStopsOnlineRequest(requestDocument, 0); | |
await wordsApi.GetParagraphTabStopsOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetPublicKeyRequest(); | |
await wordsApi.GetPublicKey(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetRangeTextRequest("Sample.docx", "id0.0.0", rangeEndIdentifier: "id0.0.1"); | |
await wordsApi.GetRangeText(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.doc"); | |
var request = new GetRangeTextOnlineRequest(requestDocument, "id0.0.0", rangeEndIdentifier: "id0.0.1"); | |
await wordsApi.GetRangeTextOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetRunRequest("Sample.docx", "paragraphs/0", 0); | |
await wordsApi.GetRun(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetRunFontRequest("Sample.docx", "paragraphs/0", 0); | |
await wordsApi.GetRunFont(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetRunFontOnlineRequest(requestDocument, "paragraphs/0", 0); | |
await wordsApi.GetRunFontOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetRunOnlineRequest(requestDocument, "paragraphs/0", 0); | |
await wordsApi.GetRunOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetRunsRequest("Sample.docx", "sections/0/paragraphs/0"); | |
await wordsApi.GetRuns(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetRunsOnlineRequest(requestDocument, "sections/0/paragraphs/0"); | |
await wordsApi.GetRunsOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetSectionRequest("Sample.docx", 0); | |
await wordsApi.GetSection(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetSectionOnlineRequest(requestDocument, 0); | |
await wordsApi.GetSectionOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetSectionPageSetupRequest("Sample.docx", 0); | |
await wordsApi.GetSectionPageSetup(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetSectionPageSetupOnlineRequest(requestDocument, 0); | |
await wordsApi.GetSectionPageSetupOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetSectionsRequest("Sample.docx"); | |
await wordsApi.GetSections(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetSectionsOnlineRequest(requestDocument); | |
await wordsApi.GetSectionsOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetStructuredDocumentTagRequest("Sample.docx", 0, nodePath: "sections/0/body/paragraphs/0"); | |
await wordsApi.GetStructuredDocumentTag(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetStructuredDocumentTagOnlineRequest(requestDocument, 0, nodePath: "sections/0/body/paragraphs/0"); | |
await wordsApi.GetStructuredDocumentTagOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetStyleRequest("Sample.docx", "Heading 1"); | |
await wordsApi.GetStyle(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetStyleFromDocumentElementRequest("Sample.docx", "paragraphs/1/paragraphFormat"); | |
await wordsApi.GetStyleFromDocumentElement(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetStyleFromDocumentElementOnlineRequest(requestDocument, "paragraphs/1/paragraphFormat"); | |
await wordsApi.GetStyleFromDocumentElementOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetStyleOnlineRequest(requestDocument, "Heading 1"); | |
await wordsApi.GetStyleOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetStylesRequest("Sample.docx"); | |
await wordsApi.GetStyles(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetStylesOnlineRequest(requestDocument); | |
await wordsApi.GetStylesOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetTableRequest("Sample.docx", 1); | |
await wordsApi.GetTable(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetTableCellRequest("Sample.docx", "sections/0/tables/2/rows/0", 0); | |
await wordsApi.GetTableCell(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetTableCellFormatRequest("Sample.docx", "sections/0/tables/2/rows/0", 0); | |
await wordsApi.GetTableCellFormat(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetTableCellFormatOnlineRequest(requestDocument, "sections/0/tables/2/rows/0", 0); | |
await wordsApi.GetTableCellFormatOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetTableCellOnlineRequest(requestDocument, "sections/0/tables/2/rows/0", 0); | |
await wordsApi.GetTableCellOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetTableOnlineRequest(requestDocument, 1); | |
await wordsApi.GetTableOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetTablePropertiesRequest("Sample.docx", 1); | |
await wordsApi.GetTableProperties(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetTablePropertiesOnlineRequest(requestDocument, 1); | |
await wordsApi.GetTablePropertiesOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetTableRowRequest("Sample.docx", "tables/1", 0); | |
await wordsApi.GetTableRow(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetTableRowFormatRequest("Sample.docx", "sections/0/tables/2", 0); | |
await wordsApi.GetTableRowFormat(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetTableRowFormatOnlineRequest(requestDocument, "sections/0/tables/2", 0); | |
await wordsApi.GetTableRowFormatOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetTableRowOnlineRequest(requestDocument, "tables/1", 0); | |
await wordsApi.GetTableRowOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var request = new GetTablesRequest("Sample.docx"); | |
await wordsApi.GetTables(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var request = new GetTablesOnlineRequest(requestDocument); | |
await wordsApi.GetTablesOnline(request); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var requestBookmarkStartRange = new NewDocumentPosition() | |
{ | |
NodeId = "0.0.0.0", | |
Offset = 0 | |
}; | |
var requestBookmarkEndRange = new NewDocumentPosition() | |
{ | |
NodeId = "0.0.0.0", | |
Offset = 0 | |
}; | |
var requestBookmark = new BookmarkInsert() | |
{ | |
StartRange = requestBookmarkStartRange, | |
EndRange = requestBookmarkEndRange, | |
Name = "new_bookmark", | |
Text = "Some text" | |
}; | |
var insertRequest = new InsertBookmarkRequest("Sample.docx", requestBookmark); | |
await wordsApi.InsertBookmark(insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var requestBookmarkStartRange = new NewDocumentPosition() | |
{ | |
NodeId = "0.0.0.0", | |
Offset = 0 | |
}; | |
var requestBookmarkEndRange = new NewDocumentPosition() | |
{ | |
NodeId = "0.0.0.0", | |
Offset = 0 | |
}; | |
var requestBookmark = new BookmarkInsert() | |
{ | |
StartRange = requestBookmarkStartRange, | |
EndRange = requestBookmarkEndRange, | |
Name = "new_bookmark", | |
Text = "Some text" | |
}; | |
var insertRequest = new InsertBookmarkOnlineRequest(requestDocument, requestBookmark); | |
await wordsApi.InsertBookmarkOnline(insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var requestCommentRangeStart = new NewDocumentPosition() | |
{ | |
NodeId = "0.3.0.3", | |
Offset = 0 | |
}; | |
var requestCommentRangeEnd = new NewDocumentPosition() | |
{ | |
NodeId = "0.3.0.3", | |
Offset = 0 | |
}; | |
var requestComment = new CommentInsert() | |
{ | |
RangeStart = requestCommentRangeStart, | |
RangeEnd = requestCommentRangeEnd, | |
Initial = "IA", | |
Author = "John Doe", | |
Text = "A new Comment" | |
}; | |
var insertRequest = new InsertCommentRequest("Sample.docx", requestComment); | |
await wordsApi.InsertComment(insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var requestCommentRangeStart = new NewDocumentPosition() | |
{ | |
NodeId = "0.3.0.3", | |
Offset = 0 | |
}; | |
var requestCommentRangeEnd = new NewDocumentPosition() | |
{ | |
NodeId = "0.3.0.3", | |
Offset = 0 | |
}; | |
var requestComment = new CommentInsert() | |
{ | |
RangeStart = requestCommentRangeStart, | |
RangeEnd = requestCommentRangeEnd, | |
Initial = "IA", | |
Author = "John Doe", | |
Text = "A new Comment" | |
}; | |
var insertRequest = new InsertCommentOnlineRequest(requestDocument, requestComment); | |
await wordsApi.InsertCommentOnline(insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var requestCustomXmlPart = new CustomXmlPartInsert() | |
{ | |
Id = "hello", | |
Data = "<data>Hello world</data>" | |
}; | |
var insertRequest = new InsertCustomXmlPartRequest("Sample.docx", requestCustomXmlPart); | |
await wordsApi.InsertCustomXmlPart(insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var requestCustomXmlPart = new CustomXmlPartInsert() | |
{ | |
Id = "hello", | |
Data = "<data>Hello world</data>" | |
}; | |
var insertRequest = new InsertCustomXmlPartOnlineRequest(requestDocument, requestCustomXmlPart); | |
await wordsApi.InsertCustomXmlPartOnline(insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var requestDrawingObject = new DrawingObjectInsert() | |
{ | |
Height = 0f, | |
Left = 0f, | |
Top = 0f, | |
Width = 0f, | |
RelativeHorizontalPosition = DrawingObjectInsert.RelativeHorizontalPositionEnum.Margin, | |
RelativeVerticalPosition = DrawingObjectInsert.RelativeVerticalPositionEnum.Margin, | |
WrapType = DrawingObjectInsert.WrapTypeEnum.Inline | |
}; | |
using var requestImageFile = File.OpenRead("Image.png"); | |
var insertRequest = new InsertDrawingObjectRequest("Sample.docx", requestDrawingObject, requestImageFile); | |
await wordsApi.InsertDrawingObject(insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var requestDrawingObject = new DrawingObjectInsert() | |
{ | |
Height = 0f, | |
Left = 0f, | |
Top = 0f, | |
Width = 0f, | |
RelativeHorizontalPosition = DrawingObjectInsert.RelativeHorizontalPositionEnum.Margin, | |
RelativeVerticalPosition = DrawingObjectInsert.RelativeVerticalPositionEnum.Margin, | |
WrapType = DrawingObjectInsert.WrapTypeEnum.Inline | |
}; | |
using var requestImageFile = File.OpenRead("Image.png"); | |
var insertRequest = new InsertDrawingObjectOnlineRequest(requestDocument, requestDrawingObject, requestImageFile); | |
await wordsApi.InsertDrawingObjectOnline(insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var requestField = new FieldInsert() | |
{ | |
FieldCode = "{ NUMPAGES }" | |
}; | |
var insertRequest = new InsertFieldRequest("Sample.docx", requestField); | |
await wordsApi.InsertField(insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var requestField = new FieldInsert() | |
{ | |
FieldCode = "{ NUMPAGES }" | |
}; | |
var insertRequest = new InsertFieldOnlineRequest(requestDocument, requestField, nodePath: "sections/0/paragraphs/0"); | |
await wordsApi.InsertFieldOnline(insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var requestFootnoteDto = new FootnoteInsert() | |
{ | |
FootnoteType = FootnoteInsert.FootnoteTypeEnum.Endnote, | |
Text = "test endnote" | |
}; | |
var insertRequest = new InsertFootnoteRequest("Sample.docx", requestFootnoteDto); | |
await wordsApi.InsertFootnote(insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.doc"); | |
var requestFootnoteDto = new FootnoteInsert() | |
{ | |
FootnoteType = FootnoteInsert.FootnoteTypeEnum.Endnote, | |
Text = "test endnote" | |
}; | |
var insertRequest = new InsertFootnoteOnlineRequest(requestDocument, requestFootnoteDto); | |
await wordsApi.InsertFootnoteOnline(insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var requestFormField = new FormFieldTextInput() | |
{ | |
Name = "FullName", | |
Enabled = true, | |
CalculateOnExit = true, | |
StatusText = "", | |
TextInputType = FormFieldTextInput.TextInputTypeEnum.Regular, | |
TextInputDefault = "123", | |
TextInputFormat = "UPPERCASE" | |
}; | |
var insertRequest = new InsertFormFieldRequest("Sample.docx", requestFormField); | |
await wordsApi.InsertFormField(insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var requestFormField = new FormFieldTextInput() | |
{ | |
Name = "FullName", | |
Enabled = true, | |
CalculateOnExit = true, | |
StatusText = "", | |
TextInputType = FormFieldTextInput.TextInputTypeEnum.Regular, | |
TextInputDefault = "123", | |
TextInputFormat = "UPPERCASE" | |
}; | |
var insertRequest = new InsertFormFieldOnlineRequest(requestDocument, requestFormField, nodePath: "sections/0/paragraphs/0"); | |
await wordsApi.InsertFormFieldOnline(insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var requestListInsert = new ListInsert() | |
{ | |
Template = ListInsert.TemplateEnum.OutlineLegal | |
}; | |
var insertRequest = new InsertListRequest("TestGetLists.doc", requestListInsert); | |
await wordsApi.InsertList(insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.doc"); | |
var requestListInsert = new ListInsert() | |
{ | |
Template = ListInsert.TemplateEnum.OutlineLegal | |
}; | |
var insertRequest = new InsertListOnlineRequest(requestDocument, requestListInsert); | |
await wordsApi.InsertListOnline(insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var requestTabStopInsertDto = new TabStopInsert() | |
{ | |
Alignment = TabStopInsert.AlignmentEnum.Left, | |
Leader = TabStopInsert.LeaderEnum.None, | |
Position = 100.0f | |
}; | |
var insertRequest = new InsertOrUpdateParagraphTabStopRequest("Sample.docx", 0, requestTabStopInsertDto); | |
await wordsApi.InsertOrUpdateParagraphTabStop(insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var requestTabStopInsertDto = new TabStopInsert() | |
{ | |
Alignment = TabStopInsert.AlignmentEnum.Left, | |
Leader = TabStopInsert.LeaderEnum.None, | |
Position = 72f | |
}; | |
var insertRequest = new InsertOrUpdateParagraphTabStopOnlineRequest(requestDocument, requestTabStopInsertDto, 0); | |
await wordsApi.InsertOrUpdateParagraphTabStopOnline(insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var requestPageNumber = new PageNumber() | |
{ | |
Alignment = "center", | |
Format = "{PAGE} of {NUMPAGES}" | |
}; | |
var insertRequest = new InsertPageNumbersRequest("Sample.docx", requestPageNumber); | |
await wordsApi.InsertPageNumbers(insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var requestPageNumber = new PageNumber() | |
{ | |
Alignment = "center", | |
Format = "{PAGE} of {NUMPAGES}" | |
}; | |
var insertRequest = new InsertPageNumbersOnlineRequest(requestDocument, requestPageNumber); | |
await wordsApi.InsertPageNumbersOnline(insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var requestParagraph = new ParagraphInsert() | |
{ | |
Text = "This is a new paragraph for your document" | |
}; | |
var insertRequest = new InsertParagraphRequest("Sample.docx", requestParagraph); | |
await wordsApi.InsertParagraph(insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var requestParagraph = new ParagraphInsert() | |
{ | |
Text = "This is a new paragraph for your document" | |
}; | |
var insertRequest = new InsertParagraphOnlineRequest(requestDocument, requestParagraph, nodePath: "sections/0"); | |
await wordsApi.InsertParagraphOnline(insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var requestRun = new RunInsert() | |
{ | |
Text = "run with text" | |
}; | |
var insertRequest = new InsertRunRequest("Sample.docx", "paragraphs/1", requestRun); | |
await wordsApi.InsertRun(insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.doc"); | |
var requestRun = new RunInsert() | |
{ | |
Text = "run with text" | |
}; | |
var insertRequest = new InsertRunOnlineRequest(requestDocument, "paragraphs/1", requestRun); | |
await wordsApi.InsertRunOnline(insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var requestStructuredDocumentTag = new StructuredDocumentTagInsert() | |
{ | |
SdtType = StructuredDocumentTagInsert.SdtTypeEnum.ComboBox, | |
Level = StructuredDocumentTagInsert.LevelEnum.Inline | |
}; | |
var insertRequest = new InsertStructuredDocumentTagRequest("Sample.docx", requestStructuredDocumentTag, nodePath: "sections/0/body/paragraphs/0"); | |
await wordsApi.InsertStructuredDocumentTag(insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var requestStructuredDocumentTag = new StructuredDocumentTagInsert() | |
{ | |
SdtType = StructuredDocumentTagInsert.SdtTypeEnum.ComboBox, | |
Level = StructuredDocumentTagInsert.LevelEnum.Inline | |
}; | |
var insertRequest = new InsertStructuredDocumentTagOnlineRequest(requestDocument, requestStructuredDocumentTag, nodePath: "sections/0/body/paragraphs/0"); | |
await wordsApi.InsertStructuredDocumentTagOnline(insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var requestStyleInsert = new StyleInsert() | |
{ | |
StyleName = "My Style", | |
StyleType = StyleInsert.StyleTypeEnum.Paragraph | |
}; | |
var insertRequest = new InsertStyleRequest("Sample.docx", requestStyleInsert); | |
await wordsApi.InsertStyle(insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var requestStyleInsert = new StyleInsert() | |
{ | |
StyleName = "My Style", | |
StyleType = StyleInsert.StyleTypeEnum.Paragraph | |
}; | |
var insertRequest = new InsertStyleOnlineRequest(requestDocument, requestStyleInsert); | |
await wordsApi.InsertStyleOnline(insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var requestTable = new TableInsert() | |
{ | |
ColumnsCount = 5, | |
RowsCount = 4 | |
}; | |
var insertRequest = new InsertTableRequest("Sample.docx", requestTable); | |
await wordsApi.InsertTable(insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var requestCell = new TableCellInsert() | |
{ | |
}; | |
var insertRequest = new InsertTableCellRequest("Sample.docx", "sections/0/tables/2/rows/0", requestCell); | |
await wordsApi.InsertTableCell(insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var requestCell = new TableCellInsert() | |
{ | |
}; | |
var insertRequest = new InsertTableCellOnlineRequest(requestDocument, "sections/0/tables/2/rows/0", requestCell); | |
await wordsApi.InsertTableCellOnline(insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var requestTable = new TableInsert() | |
{ | |
ColumnsCount = 5, | |
RowsCount = 4 | |
}; | |
var insertRequest = new InsertTableOnlineRequest(requestDocument, requestTable); | |
await wordsApi.InsertTableOnline(insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var requestRow = new TableRowInsert() | |
{ | |
ColumnsCount = 5 | |
}; | |
var insertRequest = new InsertTableRowRequest("Sample.docx", "sections/0/tables/2", requestRow); | |
await wordsApi.InsertTableRow(insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var requestRow = new TableRowInsert() | |
{ | |
ColumnsCount = 5 | |
}; | |
var insertRequest = new InsertTableRowOnlineRequest(requestDocument, "sections/0/tables/2", requestRow); | |
await wordsApi.InsertTableRowOnline(insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var insertRequest = new InsertWatermarkImageRequest("Sample.docx", imageFile: null, image: "Sample.png"); | |
await wordsApi.InsertWatermarkImage(insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
using var requestImageFile = File.OpenRead("Image.png"); | |
var insertRequest = new InsertWatermarkImageOnlineRequest(requestDocument, requestImageFile); | |
await wordsApi.InsertWatermarkImageOnline(insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var requestWatermarkText = new WatermarkText() | |
{ | |
Text = "This is the text", | |
RotationAngle = 90.0f | |
}; | |
var insertRequest = new InsertWatermarkTextRequest("Sample.docx", requestWatermarkText); | |
await wordsApi.InsertWatermarkText(insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var requestWatermarkText = new WatermarkText() | |
{ | |
Text = "This is the text", | |
RotationAngle = 90f | |
}; | |
var insertRequest = new InsertWatermarkTextOnlineRequest(requestDocument, requestWatermarkText); | |
await wordsApi.InsertWatermarkTextOnline(insertRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var requestDataSaveOptions = new DocSaveOptionsData() | |
{ | |
FileName = "google.doc", | |
DmlEffectsRenderingMode = DocSaveOptionsData.DmlEffectsRenderingModeEnum.None, | |
DmlRenderingMode = DocSaveOptionsData.DmlRenderingModeEnum.DrawingML, | |
UpdateSdtContent = false, | |
ZipOutput = false | |
}; | |
var requestData = new LoadWebDocumentData() | |
{ | |
LoadingDocumentUrl = "http://google.com", | |
SaveOptions = requestDataSaveOptions | |
}; | |
var loadRequest = new LoadWebDocumentRequest(requestData); | |
await wordsApi.LoadWebDocument(loadRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var moveRequest = new MoveFileRequest("MoveFileSample.docx", "Sample.docx"); | |
await wordsApi.MoveFile(moveRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var moveRequest = new MoveFolderRequest("/TestMoveFolderDest_Sample", "/TestMoveFolderSrc"); | |
await wordsApi.MoveFolder(moveRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var requestOptions = new OptimizationOptions() | |
{ | |
MsWordVersion = OptimizationOptions.MsWordVersionEnum.Word2002 | |
}; | |
var optimizeRequest = new OptimizeDocumentRequest("Sample.docx", requestOptions); | |
await wordsApi.OptimizeDocument(optimizeRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var requestOptions = new OptimizationOptions() | |
{ | |
MsWordVersion = OptimizationOptions.MsWordVersionEnum.Word2002 | |
}; | |
var optimizeRequest = new OptimizeDocumentOnlineRequest(requestDocument, requestOptions); | |
await wordsApi.OptimizeDocumentOnline(optimizeRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var requestProtectionRequest = new ProtectionRequest() | |
{ | |
Password = "123", | |
ProtectionType = "ReadOnly" | |
}; | |
var protectRequest = new ProtectDocumentRequest("Sample.docx", requestProtectionRequest); | |
await wordsApi.ProtectDocument(protectRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var requestProtectionRequest = new ProtectionRequest() | |
{ | |
NewPassword = "123" | |
}; | |
var protectRequest = new ProtectDocumentOnlineRequest(requestDocument, requestProtectionRequest); | |
await wordsApi.ProtectDocumentOnline(protectRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var rejectRequest = new RejectAllRevisionsRequest("Sample.docx"); | |
await wordsApi.RejectAllRevisions(rejectRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var rejectRequest = new RejectAllRevisionsOnlineRequest(requestDocument); | |
await wordsApi.RejectAllRevisionsOnline(rejectRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var removeRequest = new RemoveRangeRequest("Sample.docx", "id0.0.0", rangeEndIdentifier: "id0.0.1"); | |
await wordsApi.RemoveRange(removeRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.doc"); | |
var removeRequest = new RemoveRangeOnlineRequest(requestDocument, "id0.0.0", rangeEndIdentifier: "id0.0.1"); | |
await wordsApi.RemoveRangeOnline(removeRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var renderRequest = new RenderDrawingObjectRequest("Sample.docx", "png", 0); | |
await wordsApi.RenderDrawingObject(renderRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var renderRequest = new RenderDrawingObjectOnlineRequest(requestDocument, "png", 0, nodePath: "sections/0"); | |
await wordsApi.RenderDrawingObjectOnline(renderRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
string clientId = "####-####-####-####-####"; | |
string secret = "##################"; | |
var config = new Configuration { ClientId = clientId, ClientSecret = secret }; | |
var wordsApi = new WordsApi(config); | |
var storageApi = new StorageApi(secret, clientId); | |
var fileName = "test_multi_pages.docx"; | |
var index = 0; | |
var format = "pdf"; | |
// Upload source document to Cloud Storage | |
PutCreateRequest request = new PutCreateRequest(fileName, File.OpenRead(fileName), null, null); | |
storageApi.PutCreate(request); | |
var renderDrawingObjectRequest = new RenderDrawingObjectRequest(fileName, format, index, nodePath: "sections/0"); | |
var actual = wordsApi.RenderDrawingObject(renderDrawingObjectRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var renderRequest = new RenderMathObjectRequest("Sample.docx", "png", 0); | |
await wordsApi.RenderMathObject(renderRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var renderRequest = new RenderMathObjectOnlineRequest(requestDocument, "png", 0); | |
await wordsApi.RenderMathObjectOnline(renderRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var renderRequest = new RenderPageRequest("Sample.docx", 1, "jpg"); | |
await wordsApi.RenderPage(renderRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var renderRequest = new RenderPageOnlineRequest(requestDocument, 1, "jpg"); | |
await wordsApi.RenderPageOnline(renderRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var renderRequest = new RenderParagraphRequest("Sample.docx", "png", 0); | |
await wordsApi.RenderParagraph(renderRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var renderRequest = new RenderParagraphOnlineRequest(requestDocument, "png", 0); | |
await wordsApi.RenderParagraphOnline(renderRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var renderRequest = new RenderTableRequest("Sample.docx", "png", 0); | |
await wordsApi.RenderTable(renderRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var renderRequest = new RenderTableOnlineRequest(requestDocument, "png", 0); | |
await wordsApi.RenderTableOnline(renderRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var requestReplaceText = new ReplaceTextParameters() | |
{ | |
OldValue = "Testing", | |
NewValue = "Aspose testing" | |
}; | |
var replaceRequest = new ReplaceTextRequest("Sample.docx", requestReplaceText); | |
await wordsApi.ReplaceText(replaceRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var requestReplaceText = new ReplaceTextParameters() | |
{ | |
OldValue = "aspose", | |
NewValue = "aspose new" | |
}; | |
var replaceRequest = new ReplaceTextOnlineRequest(requestDocument, requestReplaceText); | |
await wordsApi.ReplaceTextOnline(replaceRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var requestRangeText = new ReplaceRange() | |
{ | |
Text = "Replaced header" | |
}; | |
var replaceRequest = new ReplaceWithTextRequest("Sample.docx", "id0.0.0", requestRangeText, rangeEndIdentifier: "id0.0.1"); | |
await wordsApi.ReplaceWithText(replaceRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.doc"); | |
var requestRangeText = new ReplaceRange() | |
{ | |
Text = "Replaced header" | |
}; | |
var replaceRequest = new ReplaceWithTextOnlineRequest(requestDocument, "id0.0.0", requestRangeText, rangeEndIdentifier: "id0.0.1"); | |
await wordsApi.ReplaceWithTextOnline(replaceRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var resetRequest = new ResetCacheRequest(); | |
await wordsApi.ResetCache(resetRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var requestSaveOptionsData = new DocxSaveOptionsData() | |
{ | |
FileName = "FromPdfToDoc.docx" | |
}; | |
var saveRequest = new SaveAsRequest("Sample.docx", requestSaveOptionsData); | |
await wordsApi.SaveAs(saveRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
string clientId = "####-####-####-####-####"; | |
string secret = "##################"; | |
var config = new Configuration { ClientId = clientId, ClientSecret = secret }; | |
var wordsApi = new WordsApi(config); | |
string fileName = "test_multi_pages.pdf"; | |
string format = "docx"; | |
string destName = "Out_test_multi_pages.docx"; | |
// Upload original document to Cloud Storage | |
wordsApi.UploadFile(new UploadFileRequest(File.Open(fileName, FileMode.Open), fileName, null)); | |
SaveAsRequest request = new SaveAsRequest(fileName, new SaveOptionsData() | |
{ | |
SaveFormat = format, FileName = destName | |
}, null, null, null, null, null); | |
SaveResponse result = wordsApi.SaveAs(request); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
string clientId = "####-####-####-####-####"; | |
string secret = "##################"; | |
var config = new Configuration { ClientId = clientId, ClientSecret = secret }; | |
var wordsApi = new WordsApi(config); | |
string fileName = "test_multi_pages.docx"; | |
string format = "html"; | |
string destName = "Out_test_multi_pages.html"; | |
// Upload original document to Cloud Storage | |
wordsApi.UploadFile(new UploadFileRequest(File.Open(fileName, FileMode.Open), fileName, null)); | |
SaveAsRequest request = new SaveAsRequest(fileName, new SaveOptionsData() | |
{ | |
SaveFormat = format, FileName = destName | |
}, null, null, null, null, null); | |
SaveResponse result = wordsApi.SaveAs(request); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("test_multi_pages.docx"); | |
var requestSaveOptionsData = new HtmlSaveOptionsData() | |
{ | |
FileName = "/TestSaveAsHtml.html", | |
CssStyleSheetType = HtmlSaveOptionsData.CssStyleSheetTypeEnum.External, | |
CssStyleSheetFileName = "/TestSaveAsHtml.css" | |
}; | |
var saveRequest = new SaveAsOnlineRequest(requestDocument, requestSaveOptionsData); | |
await wordsApi.SaveAsOnline(saveRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var requestSaveOptionsData = new SaveOptionsData() | |
{ | |
SaveFormat = "pdf", | |
FileName = "Sample_out.pdf" | |
}; | |
var saveRequest = new SaveAsOnlineRequest(requestDocument, requestSaveOptionsData); | |
await wordsApi.SaveAsOnline(saveRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var requestSaveOptionsData = new SaveOptionsData() | |
{ | |
SaveFormat = "html", | |
FileName = "Sample_out.html" | |
}; | |
var saveRequest = new SaveAsOnlineRequest(requestDocument, requestSaveOptionsData); | |
await wordsApi.SaveAsOnline(saveRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var requestDocumentParameters = new RangeDocument() | |
{ | |
DocumentName = "NewDocument.docx" | |
}; | |
var saveRequest = new SaveAsRangeRequest("Sample.docx", "id0.0.0", requestDocumentParameters, rangeEndIdentifier: "id0.0.1"); | |
await wordsApi.SaveAsRange(saveRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.doc"); | |
var requestDocumentParameters = new RangeDocument() | |
{ | |
DocumentName = "NewDocument.docx" | |
}; | |
var saveRequest = new SaveAsRangeOnlineRequest(requestDocument, "id0.0.0", requestDocumentParameters, rangeEndIdentifier: "id0.0.1"); | |
await wordsApi.SaveAsRangeOnline(saveRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var requestSaveOptions = new TiffSaveOptionsData() | |
{ | |
FileName = "Image.tiff" | |
}; | |
var saveRequest = new SaveAsTiffRequest("Sample.docx", requestSaveOptions); | |
await wordsApi.SaveAsTiff(saveRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("test_multi_pages.docx"); | |
var requestSaveOptions = new TiffSaveOptionsData() | |
{ | |
FileName = "Image.tiff" | |
}; | |
var saveRequest = new SaveAsTiffOnlineRequest(requestDocument, requestSaveOptions); | |
await wordsApi.SaveAsTiffOnline(saveRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var searchRequest = new SearchRequest("Sample.docx", "aspose"); | |
await wordsApi.Search(searchRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var searchRequest = new SearchOnlineRequest(requestDocument, "aspose"); | |
await wordsApi.SearchOnline(searchRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
var splitRequest = new SplitDocumentRequest("Sample.docx", "text", destFileName: "SplitDocument.text", from: 1, to: 2); | |
await wordsApi.SplitDocument(splitRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
string clientId = "####-####-####-####-####"; | |
string secret = "##################"; | |
var config = new Configuration { ClientId = clientId, ClientSecret = secret }; | |
var wordsApi = new WordsApi(config); | |
string fileName = "test_multi_pages.docx"; | |
string format = "png"; | |
string folder = null; | |
int from = 1; // Splitting starts from the first page of the document | |
int to = 1; // splitting ends at the last page of the document | |
// Upload original document to Cloud Storage | |
wordsApi.UploadFile(new UploadFileRequest(File.Open(fileName, FileMode.Open), fileName, null)); | |
SplitDocumentRequest request = new SplitDocumentRequest(fileName, folder, null, null, null, null, format, from, to, null, null); | |
SplitDocumentResponse result = wordsApi.SplitDocument(request); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
string clientId = "####-####-####-####-####"; | |
string secret = "##################"; | |
var config = new Configuration { ClientId = clientId, ClientSecret = secret }; | |
var wordsApi = new WordsApi(config); | |
string fileName = "test_multi_pages.docx"; | |
string format = "pdf"; | |
string folder = null; | |
int from = 1; // Splitting starts from the first page of the document | |
int to = 2; // splitting ends at the last page of the document | |
// Upload original document to Cloud Storage | |
wordsApi.UploadFile(new UploadFileRequest(File.Open(fileName, FileMode.Open), fileName, null)); | |
SplitDocumentRequest request = new SplitDocumentRequest(fileName, folder, null, null, null, null, format, from, to, null, null); | |
SplitDocumentResponse result = wordsApi.SplitDocument(request); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Aspose.Words.Cloud.Sdk; | |
using Aspose.Words.Cloud.Sdk.Model; | |
using Aspose.Words.Cloud.Sdk.Model.Requests; | |
var config = new Configuration { ClientId = "####-####-####-####-####", ClientSecret = "##################" }; | |
var wordsApi = new WordsApi(config); | |
using var requestDocument = File.OpenRead("Sample.docx"); | |
var splitRequest = new SplitDocumentOnlineRequest(requestDocument, "text", destFileName: "SplitDocument.text", from: 1, to: 2); | |
await wordsApi.SplitDocumentOnline(splitRequest); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment