File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ using Aspose . Cells . Cloud . SDK . Api ;
2+ using Aspose . Cells . Cloud . SDK . Model ;
3+ using Aspose . Cells . Cloud . SDK . Request ;
4+ using FileInfo = Aspose . Cells . Cloud . SDK . Model . FileInfo ;
5+
6+ public static class ExampleBlog_TextProcessing_WordCase
7+ {
8+ public static void Run ( )
9+ {
10+ CellsApi cellsApi = new CellsApi ( "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" , "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" ) ;
11+ var request = new PostUpdateWordCaseRequest
12+ {
13+ wordCaseOptions = new WordCaseOptions
14+ {
15+ DataSource = new DataSource { DataSourceType = "RequestFiles" } ,
16+ FileInfo = new FileInfo
17+ {
18+ Filename = "BookText.xlsx" ,
19+ FileContent = System . Convert . ToBase64String ( System . IO . File . ReadAllBytes ( "BookText.xlsx" ) )
20+ } ,
21+ WordCaseType = "" ,
22+ ScopeOptions = new ScopeOptions
23+ {
24+ Scope = "SelectionOlny" ,
25+ ScopeItems = new System . Collections . Generic . List < ScopeItem > {
26+ new ScopeItem {
27+ WorksheetName = "Sales" ,
28+ Ranges = new System . Collections . Generic . List < string > { "B1:B3" }
29+ } }
30+ }
31+ }
32+ } ;
33+ cellsApi . PostUpdateWordCase ( request ) ;
34+ }
35+ }
You can’t perform that action at this time.
0 commit comments