<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Documentation – Working with Ranges in a Word document online</title>
    <link>https://docs.aspose.cloud/words/range/</link>
    <description>Recent content in Working with Ranges in a Word document online on Documentation</description>
    <generator>Hugo -- gohugo.io</generator>
    
	  <atom:link href="https://docs.aspose.cloud/words/range/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Developer-Guide: Get the Range text in a Word document online</title>
      <link>https://docs.aspose.cloud/words/range/get/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://docs.aspose.cloud/words/range/get/</guid>
      <description>
        
        
        &lt;p&gt;Returns the &lt;code&gt;Range&lt;/code&gt; text in a Word document.&lt;/p&gt;
&lt;h2 id=&#34;get-the-range-text-in-a-word-document-rest-api&#34;&gt;Get the Range text in a Word document REST API&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Server&lt;/th&gt;
&lt;th&gt;Method&lt;/th&gt;
&lt;th&gt;Endpoint&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;https://api.aspose.cloud/v4.0&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;PUT&lt;/td&gt;
&lt;td&gt;&lt;code&gt;/words/online/get/range/{rangeStartIdentifier}/{rangeEndIdentifier}&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;, where:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;rangeStartIdentifier&lt;/code&gt;&lt;/strong&gt; (required) — the range start identifier.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;rangeEndIdentifier&lt;/code&gt; — the range end identifier.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;You can use the following parameters in a REST request:&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter Name&lt;/th&gt;
&lt;th&gt;Data Type&lt;/th&gt;
&lt;th&gt;Required/Optional&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;loadEncoding&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;string&lt;/td&gt;
&lt;td&gt;Optional&lt;/td&gt;
&lt;td&gt;Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;password&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;string&lt;/td&gt;
&lt;td&gt;Optional&lt;/td&gt;
&lt;td&gt;Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don&amp;rsquo;t recommend to use the parameter to pass a plain password for direct call of API.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;encryptedPassword&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;string&lt;/td&gt;
&lt;td&gt;Optional&lt;/td&gt;
&lt;td&gt;Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Use &lt;code&gt;$multipart/form-data&lt;/code&gt; request to combine one or more properties into a single body:&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Property Name&lt;/th&gt;
&lt;th&gt;Data Type&lt;/th&gt;
&lt;th&gt;Required/Optional&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;document&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;string(binary)&lt;/td&gt;
&lt;td&gt;Required&lt;/td&gt;
&lt;td&gt;The document.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;


&lt;div class=&#34;alert alert-primary&#34; role=&#34;alert&#34;&gt;

&lt;strong&gt;Note&lt;/strong&gt;: to access this REST API, you need to register and get personal credentials. Use the &amp;lsquo;&lt;a href=&#34;https://docs.aspose.cloud/words/words/getting-started/quickstart/&#34;&gt;Quick Start&lt;/a&gt;&amp;rsquo; guide to go through the procedure in a couple of minutes.
&lt;/div&gt;

&lt;h2 id=&#34;get-the-range-text-in-a-word-document-usage-examples&#34;&gt;Get the Range text in a Word document usage examples&lt;/h2&gt;
&lt;p&gt;Let&amp;rsquo;s look at practical examples of using the web service. You can do this both with cURL and Postman utilities, and from your code in various programming languages: Python, Java, JavaScript, C#, PHP, C++, Go, Ruby, Swift, Dart.&lt;/p&gt;
&lt;h3 id=&#34;how-to-get-the-range-text-in-a-word-document-with-curl-or-postman&#34;&gt;How to get the Range text in a Word document with cURL or Postman&lt;/h3&gt;
&lt;p&gt;One of the easiest and fastest ways to call a REST API is to use cURL or Postman:&lt;/p&gt;
&lt;div data-nosnippet&gt;
    





&lt;nav&gt;
  &lt;div class=&#34;book-tabs nav nav-tabs&#34; id=&#34;nav-tab&#34; role=&#34;tablist&#34;&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-1&#34; id=&#34;tabs-1-1&#34; checked=&#34;checked&#34; /&gt;
      &lt;label for=&#34;tabs-1-1&#34;&gt;cURL Request&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/8a52e648cd36d3e0a7402727561073b6.js?file=GetRangeTextOnline.curl&#34;&gt;&lt;/script&gt;
&lt;p style=&#34;margin-top:-32px;font-size:80%;font-style:italic&#34;&gt;To get a JWT token use these &lt;a href=&#34;https://docs.aspose.cloud/words/words/getting-started/quickstart/&#34;&gt;instructions&lt;/a&gt;&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-1&#34; id=&#34;tabs-1-2&#34;  /&gt;
      &lt;label for=&#34;tabs-1-2&#34;&gt;Postman Request&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/894866974db18d27af2a7f67dd929b6f.js?file=GetRangeTextOnline.json&#34;&gt;&lt;/script&gt;
&lt;p style=&#34;margin-top:-32px;font-size:80%;font-style:italic&#34;&gt;To get a JWT token use these &lt;a href=&#34;https://docs.aspose.cloud/words/words/getting-started/quickstart/&#34;&gt;instructions&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/nav&gt;


&lt;/div&gt;

&lt;h3 id=&#34;how-to-get-the-range-text-in-a-word-document-in-python-java-c-c-javascript-and-other-programming-languages&#34;&gt;How to get the Range text in a Word document in Python, Java, C#, C++, JavaScript and other programming languages&lt;/h3&gt;
&lt;p&gt;Using SDK is the quickest way to speed up the development. Please take a look at the provided code examples to quickly call this web service from your favourite programming language:&lt;/p&gt;
&lt;div data-nosnippet&gt;
    





&lt;nav&gt;
  &lt;div class=&#34;book-tabs nav nav-tabs&#34; id=&#34;nav-tab&#34; role=&#34;tablist&#34;&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-1&#34; checked=&#34;checked&#34; /&gt;
      &lt;label for=&#34;tabs-2-1&#34;&gt;Python&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/e26813ced70692c544820cd8011ee7e0.js?file=GetRangeTextOnline.py&#34;&gt;&lt;/script&gt;
&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-2&#34;  /&gt;
      &lt;label for=&#34;tabs-2-2&#34;&gt;Java&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/caede439bfd2e57c3010befe504faff4.js?file=GetRangeTextOnline.java&#34;&gt;&lt;/script&gt;
&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-3&#34;  /&gt;
      &lt;label for=&#34;tabs-2-3&#34;&gt;Node.js&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/a9510e4b51613f1138e7c1ec09634c4a.js?file=GetRangeTextOnline.js&#34;&gt;&lt;/script&gt;
&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-4&#34;  /&gt;
      &lt;label for=&#34;tabs-2-4&#34;&gt;C#&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/374e1e3dd4bca8f696f29d913645f549.js?file=GetRangeTextOnline.cs&#34;&gt;&lt;/script&gt;
&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-5&#34;  /&gt;
      &lt;label for=&#34;tabs-2-5&#34;&gt;PHP&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/e2a72445b96362dc0117f06ab54bb94a.js?file=GetRangeTextOnline.php&#34;&gt;&lt;/script&gt;
&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-6&#34;  /&gt;
      &lt;label for=&#34;tabs-2-6&#34;&gt;C&amp;#43;&amp;#43;&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/49aa5151a094849179bae8672c887a0e.js?file=GetRangeTextOnline.cpp&#34;&gt;&lt;/script&gt;
&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-7&#34;  /&gt;
      &lt;label for=&#34;tabs-2-7&#34;&gt;Go&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/625ca80adffd779e8f6e3611551e14d5.js?file=config.json&#34;&gt;&lt;/script&gt;
&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/625ca80adffd779e8f6e3611551e14d5.js?file=GetRangeTextOnline.go&#34;&gt;&lt;/script&gt;
&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-8&#34;  /&gt;
      &lt;label for=&#34;tabs-2-8&#34;&gt;Ruby&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/339f3835a4c0a536c81ec941de29baf7.js?file=GetRangeTextOnline.rb&#34;&gt;&lt;/script&gt;
&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-9&#34;  /&gt;
      &lt;label for=&#34;tabs-2-9&#34;&gt;Swift&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/790dbd2edd5d36f170732366f52cac4c.js?file=GetRangeTextOnline.swift&#34;&gt;&lt;/script&gt;
&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-10&#34;  /&gt;
      &lt;label for=&#34;tabs-2-10&#34;&gt;Dart&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/6aae628cf2b878b78fea177c3171c6bf.js?file=GetRangeTextOnline.dart&#34;&gt;&lt;/script&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;/nav&gt;


&lt;/div&gt;

&lt;h2 id=&#34;see-also&#34;&gt;See Also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/aspose-words-cloud&#34;&gt;GitHub repository&lt;/a&gt; — explore Aspose.Words Cloud SDK Family. These software libraries take care of all low-level document-processing details.&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Developer-Guide: Save the specified Range as a new document online</title>
      <link>https://docs.aspose.cloud/words/range/save/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://docs.aspose.cloud/words/range/save/</guid>
      <description>
        
        
        &lt;p&gt;Saves the specified &lt;code&gt;Range&lt;/code&gt; as a new document.&lt;/p&gt;
&lt;h2 id=&#34;save-the-specified-range-as-a-new-document-rest-api&#34;&gt;Save the specified Range as a new document REST API&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Server&lt;/th&gt;
&lt;th&gt;Method&lt;/th&gt;
&lt;th&gt;Endpoint&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;https://api.aspose.cloud/v4.0&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;PUT&lt;/td&gt;
&lt;td&gt;&lt;code&gt;/words/online/post/range/{rangeStartIdentifier}/{rangeEndIdentifier}/SaveAs&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;, where:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;rangeStartIdentifier&lt;/code&gt;&lt;/strong&gt; (required) — the range start identifier.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;rangeEndIdentifier&lt;/code&gt; — the range end identifier.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;You can use the following parameters in a REST request:&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter Name&lt;/th&gt;
&lt;th&gt;Data Type&lt;/th&gt;
&lt;th&gt;Required/Optional&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;loadEncoding&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;string&lt;/td&gt;
&lt;td&gt;Optional&lt;/td&gt;
&lt;td&gt;Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;password&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;string&lt;/td&gt;
&lt;td&gt;Optional&lt;/td&gt;
&lt;td&gt;Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don&amp;rsquo;t recommend to use the parameter to pass a plain password for direct call of API.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;encryptedPassword&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;string&lt;/td&gt;
&lt;td&gt;Optional&lt;/td&gt;
&lt;td&gt;Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Use &lt;code&gt;$multipart/form-data&lt;/code&gt; request to combine one or more properties into a single body:&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Property Name&lt;/th&gt;
&lt;th&gt;Data Type&lt;/th&gt;
&lt;th&gt;Required/Optional&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;document&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;string(binary)&lt;/td&gt;
&lt;td&gt;Required&lt;/td&gt;
&lt;td&gt;The document.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;documentParameters&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;RangeDocument&lt;/td&gt;
&lt;td&gt;Required&lt;/td&gt;
&lt;td&gt;Parameters of a new document.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;


&lt;div class=&#34;alert alert-primary&#34; role=&#34;alert&#34;&gt;

&lt;strong&gt;Note&lt;/strong&gt;: to access this REST API, you need to register and get personal credentials. Use the &amp;lsquo;&lt;a href=&#34;https://docs.aspose.cloud/words/words/getting-started/quickstart/&#34;&gt;Quick Start&lt;/a&gt;&amp;rsquo; guide to go through the procedure in a couple of minutes.
&lt;/div&gt;

&lt;h2 id=&#34;save-the-specified-range-as-a-new-document-usage-examples&#34;&gt;Save the specified Range as a new document usage examples&lt;/h2&gt;
&lt;p&gt;Let&amp;rsquo;s look at practical examples of using the web service. You can do this both with cURL and Postman utilities, and from your code in various programming languages: Python, Java, JavaScript, C#, PHP, C++, Go, Ruby, Swift, Dart.&lt;/p&gt;
&lt;h3 id=&#34;how-to-save-the-specified-range-as-a-new-document-with-curl-or-postman&#34;&gt;How to save the specified Range as a new document with cURL or Postman&lt;/h3&gt;
&lt;p&gt;One of the easiest and fastest ways to call a REST API is to use cURL or Postman:&lt;/p&gt;
&lt;div data-nosnippet&gt;
    





&lt;nav&gt;
  &lt;div class=&#34;book-tabs nav nav-tabs&#34; id=&#34;nav-tab&#34; role=&#34;tablist&#34;&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-1&#34; id=&#34;tabs-1-1&#34; checked=&#34;checked&#34; /&gt;
      &lt;label for=&#34;tabs-1-1&#34;&gt;cURL Request&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/8a52e648cd36d3e0a7402727561073b6.js?file=SaveAsRangeOnline.curl&#34;&gt;&lt;/script&gt;
&lt;p style=&#34;margin-top:-32px;font-size:80%;font-style:italic&#34;&gt;To get a JWT token use these &lt;a href=&#34;https://docs.aspose.cloud/words/words/getting-started/quickstart/&#34;&gt;instructions&lt;/a&gt;&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-1&#34; id=&#34;tabs-1-2&#34;  /&gt;
      &lt;label for=&#34;tabs-1-2&#34;&gt;Postman Request&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/894866974db18d27af2a7f67dd929b6f.js?file=SaveAsRangeOnline.json&#34;&gt;&lt;/script&gt;
&lt;p style=&#34;margin-top:-32px;font-size:80%;font-style:italic&#34;&gt;To get a JWT token use these &lt;a href=&#34;https://docs.aspose.cloud/words/words/getting-started/quickstart/&#34;&gt;instructions&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/nav&gt;


&lt;/div&gt;

&lt;h3 id=&#34;how-to-save-the-specified-range-as-a-new-document-in-python-java-c-c-javascript-and-other-programming-languages&#34;&gt;How to save the specified Range as a new document in Python, Java, C#, C++, JavaScript and other programming languages&lt;/h3&gt;
&lt;p&gt;Using SDK is the quickest way to speed up the development. Please take a look at the provided code examples to quickly call this web service from your favourite programming language:&lt;/p&gt;
&lt;div data-nosnippet&gt;
    





&lt;nav&gt;
  &lt;div class=&#34;book-tabs nav nav-tabs&#34; id=&#34;nav-tab&#34; role=&#34;tablist&#34;&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-1&#34; checked=&#34;checked&#34; /&gt;
      &lt;label for=&#34;tabs-2-1&#34;&gt;Python&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/e26813ced70692c544820cd8011ee7e0.js?file=SaveAsRangeOnline.py&#34;&gt;&lt;/script&gt;
&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-2&#34;  /&gt;
      &lt;label for=&#34;tabs-2-2&#34;&gt;Java&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/caede439bfd2e57c3010befe504faff4.js?file=SaveAsRangeOnline.java&#34;&gt;&lt;/script&gt;
&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-3&#34;  /&gt;
      &lt;label for=&#34;tabs-2-3&#34;&gt;Node.js&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/a9510e4b51613f1138e7c1ec09634c4a.js?file=SaveAsRangeOnline.js&#34;&gt;&lt;/script&gt;
&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-4&#34;  /&gt;
      &lt;label for=&#34;tabs-2-4&#34;&gt;C#&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/374e1e3dd4bca8f696f29d913645f549.js?file=SaveAsRangeOnline.cs&#34;&gt;&lt;/script&gt;
&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-5&#34;  /&gt;
      &lt;label for=&#34;tabs-2-5&#34;&gt;PHP&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/e2a72445b96362dc0117f06ab54bb94a.js?file=SaveAsRangeOnline.php&#34;&gt;&lt;/script&gt;
&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-6&#34;  /&gt;
      &lt;label for=&#34;tabs-2-6&#34;&gt;C&amp;#43;&amp;#43;&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/49aa5151a094849179bae8672c887a0e.js?file=SaveAsRangeOnline.cpp&#34;&gt;&lt;/script&gt;
&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-7&#34;  /&gt;
      &lt;label for=&#34;tabs-2-7&#34;&gt;Go&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/625ca80adffd779e8f6e3611551e14d5.js?file=config.json&#34;&gt;&lt;/script&gt;
&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/625ca80adffd779e8f6e3611551e14d5.js?file=SaveAsRangeOnline.go&#34;&gt;&lt;/script&gt;
&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-8&#34;  /&gt;
      &lt;label for=&#34;tabs-2-8&#34;&gt;Ruby&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/339f3835a4c0a536c81ec941de29baf7.js?file=SaveAsRangeOnline.rb&#34;&gt;&lt;/script&gt;
&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-9&#34;  /&gt;
      &lt;label for=&#34;tabs-2-9&#34;&gt;Swift&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/790dbd2edd5d36f170732366f52cac4c.js?file=SaveAsRangeOnline.swift&#34;&gt;&lt;/script&gt;
&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-10&#34;  /&gt;
      &lt;label for=&#34;tabs-2-10&#34;&gt;Dart&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/6aae628cf2b878b78fea177c3171c6bf.js?file=SaveAsRangeOnline.dart&#34;&gt;&lt;/script&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;/nav&gt;


&lt;/div&gt;

&lt;h2 id=&#34;see-also&#34;&gt;See Also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/aspose-words-cloud&#34;&gt;GitHub repository&lt;/a&gt; — explore Aspose.Words Cloud SDK Family. These software libraries take care of all low-level document-processing details.&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Developer-Guide: Delete a Range from a Word document online</title>
      <link>https://docs.aspose.cloud/words/range/remove/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://docs.aspose.cloud/words/range/remove/</guid>
      <description>
        
        
        &lt;p&gt;Deletes a &lt;code&gt;Range&lt;/code&gt; object from a Word document.&lt;/p&gt;
&lt;h2 id=&#34;delete-a-range-from-a-word-document-rest-api&#34;&gt;Delete a Range from a Word document REST API&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Server&lt;/th&gt;
&lt;th&gt;Method&lt;/th&gt;
&lt;th&gt;Endpoint&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;https://api.aspose.cloud/v4.0&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;PUT&lt;/td&gt;
&lt;td&gt;&lt;code&gt;/words/online/delete/range/{rangeStartIdentifier}/{rangeEndIdentifier}&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;, where:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;rangeStartIdentifier&lt;/code&gt;&lt;/strong&gt; (required) — the range start identifier.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;rangeEndIdentifier&lt;/code&gt; — the range end identifier.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;You can use the following parameters in a REST request:&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter Name&lt;/th&gt;
&lt;th&gt;Data Type&lt;/th&gt;
&lt;th&gt;Required/Optional&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;loadEncoding&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;string&lt;/td&gt;
&lt;td&gt;Optional&lt;/td&gt;
&lt;td&gt;Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;password&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;string&lt;/td&gt;
&lt;td&gt;Optional&lt;/td&gt;
&lt;td&gt;Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don&amp;rsquo;t recommend to use the parameter to pass a plain password for direct call of API.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;encryptedPassword&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;string&lt;/td&gt;
&lt;td&gt;Optional&lt;/td&gt;
&lt;td&gt;Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;destFileName&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;string&lt;/td&gt;
&lt;td&gt;Optional&lt;/td&gt;
&lt;td&gt;Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Use &lt;code&gt;$multipart/form-data&lt;/code&gt; request to combine one or more properties into a single body:&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Property Name&lt;/th&gt;
&lt;th&gt;Data Type&lt;/th&gt;
&lt;th&gt;Required/Optional&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;document&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;string(binary)&lt;/td&gt;
&lt;td&gt;Required&lt;/td&gt;
&lt;td&gt;The document.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;


&lt;div class=&#34;alert alert-primary&#34; role=&#34;alert&#34;&gt;

&lt;strong&gt;Note&lt;/strong&gt;: to access this REST API, you need to register and get personal credentials. Use the &amp;lsquo;&lt;a href=&#34;https://docs.aspose.cloud/words/words/getting-started/quickstart/&#34;&gt;Quick Start&lt;/a&gt;&amp;rsquo; guide to go through the procedure in a couple of minutes.
&lt;/div&gt;

&lt;h2 id=&#34;delete-a-range-from-a-word-document-usage-examples&#34;&gt;Delete a Range from a Word document usage examples&lt;/h2&gt;
&lt;p&gt;Let&amp;rsquo;s look at practical examples of using the web service. You can do this both with cURL and Postman utilities, and from your code in various programming languages: Python, Java, JavaScript, C#, PHP, C++, Go, Ruby, Swift, Dart.&lt;/p&gt;
&lt;h3 id=&#34;how-to-delete-a-range-from-a-word-document-with-curl-or-postman&#34;&gt;How to delete a Range from a Word document with cURL or Postman&lt;/h3&gt;
&lt;p&gt;One of the easiest and fastest ways to call a REST API is to use cURL or Postman:&lt;/p&gt;
&lt;div data-nosnippet&gt;
    





&lt;nav&gt;
  &lt;div class=&#34;book-tabs nav nav-tabs&#34; id=&#34;nav-tab&#34; role=&#34;tablist&#34;&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-1&#34; id=&#34;tabs-1-1&#34; checked=&#34;checked&#34; /&gt;
      &lt;label for=&#34;tabs-1-1&#34;&gt;cURL Request&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/8a52e648cd36d3e0a7402727561073b6.js?file=RemoveRangeOnline.curl&#34;&gt;&lt;/script&gt;
&lt;p style=&#34;margin-top:-32px;font-size:80%;font-style:italic&#34;&gt;To get a JWT token use these &lt;a href=&#34;https://docs.aspose.cloud/words/words/getting-started/quickstart/&#34;&gt;instructions&lt;/a&gt;&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-1&#34; id=&#34;tabs-1-2&#34;  /&gt;
      &lt;label for=&#34;tabs-1-2&#34;&gt;Postman Request&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/894866974db18d27af2a7f67dd929b6f.js?file=RemoveRangeOnline.json&#34;&gt;&lt;/script&gt;
&lt;p style=&#34;margin-top:-32px;font-size:80%;font-style:italic&#34;&gt;To get a JWT token use these &lt;a href=&#34;https://docs.aspose.cloud/words/words/getting-started/quickstart/&#34;&gt;instructions&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/nav&gt;


&lt;/div&gt;

&lt;h3 id=&#34;how-to-delete-a-range-from-a-word-document-in-python-java-c-c-javascript-and-other-programming-languages&#34;&gt;How to delete a Range from a Word document in Python, Java, C#, C++, JavaScript and other programming languages&lt;/h3&gt;
&lt;p&gt;Using SDK is the quickest way to speed up the development. Please take a look at the provided code examples to quickly call this web service from your favourite programming language:&lt;/p&gt;
&lt;div data-nosnippet&gt;
    





&lt;nav&gt;
  &lt;div class=&#34;book-tabs nav nav-tabs&#34; id=&#34;nav-tab&#34; role=&#34;tablist&#34;&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-1&#34; checked=&#34;checked&#34; /&gt;
      &lt;label for=&#34;tabs-2-1&#34;&gt;Python&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/e26813ced70692c544820cd8011ee7e0.js?file=RemoveRangeOnline.py&#34;&gt;&lt;/script&gt;
&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-2&#34;  /&gt;
      &lt;label for=&#34;tabs-2-2&#34;&gt;Java&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/caede439bfd2e57c3010befe504faff4.js?file=RemoveRangeOnline.java&#34;&gt;&lt;/script&gt;
&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-3&#34;  /&gt;
      &lt;label for=&#34;tabs-2-3&#34;&gt;Node.js&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/a9510e4b51613f1138e7c1ec09634c4a.js?file=RemoveRangeOnline.js&#34;&gt;&lt;/script&gt;
&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-4&#34;  /&gt;
      &lt;label for=&#34;tabs-2-4&#34;&gt;C#&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/374e1e3dd4bca8f696f29d913645f549.js?file=RemoveRangeOnline.cs&#34;&gt;&lt;/script&gt;
&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-5&#34;  /&gt;
      &lt;label for=&#34;tabs-2-5&#34;&gt;PHP&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/e2a72445b96362dc0117f06ab54bb94a.js?file=RemoveRangeOnline.php&#34;&gt;&lt;/script&gt;
&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-6&#34;  /&gt;
      &lt;label for=&#34;tabs-2-6&#34;&gt;C&amp;#43;&amp;#43;&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/49aa5151a094849179bae8672c887a0e.js?file=RemoveRangeOnline.cpp&#34;&gt;&lt;/script&gt;
&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-7&#34;  /&gt;
      &lt;label for=&#34;tabs-2-7&#34;&gt;Go&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/625ca80adffd779e8f6e3611551e14d5.js?file=config.json&#34;&gt;&lt;/script&gt;
&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/625ca80adffd779e8f6e3611551e14d5.js?file=RemoveRangeOnline.go&#34;&gt;&lt;/script&gt;
&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-8&#34;  /&gt;
      &lt;label for=&#34;tabs-2-8&#34;&gt;Ruby&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/339f3835a4c0a536c81ec941de29baf7.js?file=RemoveRangeOnline.rb&#34;&gt;&lt;/script&gt;
&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-9&#34;  /&gt;
      &lt;label for=&#34;tabs-2-9&#34;&gt;Swift&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/790dbd2edd5d36f170732366f52cac4c.js?file=RemoveRangeOnline.swift&#34;&gt;&lt;/script&gt;
&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-10&#34;  /&gt;
      &lt;label for=&#34;tabs-2-10&#34;&gt;Dart&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/6aae628cf2b878b78fea177c3171c6bf.js?file=RemoveRangeOnline.dart&#34;&gt;&lt;/script&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;/nav&gt;


&lt;/div&gt;

&lt;h2 id=&#34;see-also&#34;&gt;See Also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/aspose-words-cloud&#34;&gt;GitHub repository&lt;/a&gt; — explore Aspose.Words Cloud SDK Family. These software libraries take care of all low-level document-processing details.&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Developer-Guide: Replace a Range with text in a Word document online</title>
      <link>https://docs.aspose.cloud/words/range/replace/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://docs.aspose.cloud/words/range/replace/</guid>
      <description>
        
        
        &lt;p&gt;Replaces a &lt;code&gt;Range&lt;/code&gt; with text in a Word document.&lt;/p&gt;
&lt;h2 id=&#34;replace-a-range-with-text-in-a-word-document-rest-api&#34;&gt;Replace a Range with text in a Word document REST API&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Server&lt;/th&gt;
&lt;th&gt;Method&lt;/th&gt;
&lt;th&gt;Endpoint&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;https://api.aspose.cloud/v4.0&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;PUT&lt;/td&gt;
&lt;td&gt;&lt;code&gt;/words/online/post/range/{rangeStartIdentifier}/{rangeEndIdentifier}&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;, where:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;rangeStartIdentifier&lt;/code&gt;&lt;/strong&gt; (required) — the range start identifier.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;rangeEndIdentifier&lt;/code&gt; — the range end identifier.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;You can use the following parameters in a REST request:&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter Name&lt;/th&gt;
&lt;th&gt;Data Type&lt;/th&gt;
&lt;th&gt;Required/Optional&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;loadEncoding&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;string&lt;/td&gt;
&lt;td&gt;Optional&lt;/td&gt;
&lt;td&gt;Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;password&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;string&lt;/td&gt;
&lt;td&gt;Optional&lt;/td&gt;
&lt;td&gt;Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don&amp;rsquo;t recommend to use the parameter to pass a plain password for direct call of API.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;encryptedPassword&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;string&lt;/td&gt;
&lt;td&gt;Optional&lt;/td&gt;
&lt;td&gt;Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;destFileName&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;string&lt;/td&gt;
&lt;td&gt;Optional&lt;/td&gt;
&lt;td&gt;Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Use &lt;code&gt;$multipart/form-data&lt;/code&gt; request to combine one or more properties into a single body:&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Property Name&lt;/th&gt;
&lt;th&gt;Data Type&lt;/th&gt;
&lt;th&gt;Required/Optional&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;document&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;string(binary)&lt;/td&gt;
&lt;td&gt;Required&lt;/td&gt;
&lt;td&gt;The document.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;rangeText&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;ReplaceRange&lt;/td&gt;
&lt;td&gt;Required&lt;/td&gt;
&lt;td&gt;Model with text for replacement.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;


&lt;div class=&#34;alert alert-primary&#34; role=&#34;alert&#34;&gt;

&lt;strong&gt;Note&lt;/strong&gt;: to access this REST API, you need to register and get personal credentials. Use the &amp;lsquo;&lt;a href=&#34;https://docs.aspose.cloud/words/words/getting-started/quickstart/&#34;&gt;Quick Start&lt;/a&gt;&amp;rsquo; guide to go through the procedure in a couple of minutes.
&lt;/div&gt;

&lt;h2 id=&#34;replace-a-range-with-text-in-a-word-document-usage-examples&#34;&gt;Replace a Range with text in a Word document usage examples&lt;/h2&gt;
&lt;p&gt;Let&amp;rsquo;s look at practical examples of using the web service. You can do this both with cURL and Postman utilities, and from your code in various programming languages: Python, Java, JavaScript, C#, PHP, C++, Go, Ruby, Swift, Dart.&lt;/p&gt;
&lt;h3 id=&#34;how-to-replace-a-range-with-text-in-a-word-document-with-curl-or-postman&#34;&gt;How to replace a Range with text in a Word document with cURL or Postman&lt;/h3&gt;
&lt;p&gt;One of the easiest and fastest ways to call a REST API is to use cURL or Postman:&lt;/p&gt;
&lt;div data-nosnippet&gt;
    





&lt;nav&gt;
  &lt;div class=&#34;book-tabs nav nav-tabs&#34; id=&#34;nav-tab&#34; role=&#34;tablist&#34;&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-1&#34; id=&#34;tabs-1-1&#34; checked=&#34;checked&#34; /&gt;
      &lt;label for=&#34;tabs-1-1&#34;&gt;cURL Request&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/8a52e648cd36d3e0a7402727561073b6.js?file=ReplaceWithTextOnline.curl&#34;&gt;&lt;/script&gt;
&lt;p style=&#34;margin-top:-32px;font-size:80%;font-style:italic&#34;&gt;To get a JWT token use these &lt;a href=&#34;https://docs.aspose.cloud/words/words/getting-started/quickstart/&#34;&gt;instructions&lt;/a&gt;&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-1&#34; id=&#34;tabs-1-2&#34;  /&gt;
      &lt;label for=&#34;tabs-1-2&#34;&gt;Postman Request&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/894866974db18d27af2a7f67dd929b6f.js?file=ReplaceWithTextOnline.json&#34;&gt;&lt;/script&gt;
&lt;p style=&#34;margin-top:-32px;font-size:80%;font-style:italic&#34;&gt;To get a JWT token use these &lt;a href=&#34;https://docs.aspose.cloud/words/words/getting-started/quickstart/&#34;&gt;instructions&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/nav&gt;


&lt;/div&gt;

&lt;h3 id=&#34;how-to-replace-a-range-with-text-in-a-word-document-in-python-java-c-c-javascript-and-other-programming-languages&#34;&gt;How to replace a Range with text in a Word document in Python, Java, C#, C++, JavaScript and other programming languages&lt;/h3&gt;
&lt;p&gt;Using SDK is the quickest way to speed up the development. Please take a look at the provided code examples to quickly call this web service from your favourite programming language:&lt;/p&gt;
&lt;div data-nosnippet&gt;
    





&lt;nav&gt;
  &lt;div class=&#34;book-tabs nav nav-tabs&#34; id=&#34;nav-tab&#34; role=&#34;tablist&#34;&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-1&#34; checked=&#34;checked&#34; /&gt;
      &lt;label for=&#34;tabs-2-1&#34;&gt;Python&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/e26813ced70692c544820cd8011ee7e0.js?file=ReplaceWithTextOnline.py&#34;&gt;&lt;/script&gt;
&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-2&#34;  /&gt;
      &lt;label for=&#34;tabs-2-2&#34;&gt;Java&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/caede439bfd2e57c3010befe504faff4.js?file=ReplaceWithTextOnline.java&#34;&gt;&lt;/script&gt;
&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-3&#34;  /&gt;
      &lt;label for=&#34;tabs-2-3&#34;&gt;Node.js&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/a9510e4b51613f1138e7c1ec09634c4a.js?file=ReplaceWithTextOnline.js&#34;&gt;&lt;/script&gt;
&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-4&#34;  /&gt;
      &lt;label for=&#34;tabs-2-4&#34;&gt;C#&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/374e1e3dd4bca8f696f29d913645f549.js?file=ReplaceWithTextOnline.cs&#34;&gt;&lt;/script&gt;
&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-5&#34;  /&gt;
      &lt;label for=&#34;tabs-2-5&#34;&gt;PHP&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/e2a72445b96362dc0117f06ab54bb94a.js?file=ReplaceWithTextOnline.php&#34;&gt;&lt;/script&gt;
&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-6&#34;  /&gt;
      &lt;label for=&#34;tabs-2-6&#34;&gt;C&amp;#43;&amp;#43;&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/49aa5151a094849179bae8672c887a0e.js?file=ReplaceWithTextOnline.cpp&#34;&gt;&lt;/script&gt;
&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-7&#34;  /&gt;
      &lt;label for=&#34;tabs-2-7&#34;&gt;Go&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/625ca80adffd779e8f6e3611551e14d5.js?file=config.json&#34;&gt;&lt;/script&gt;
&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/625ca80adffd779e8f6e3611551e14d5.js?file=ReplaceWithTextOnline.go&#34;&gt;&lt;/script&gt;
&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-8&#34;  /&gt;
      &lt;label for=&#34;tabs-2-8&#34;&gt;Ruby&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/339f3835a4c0a536c81ec941de29baf7.js?file=ReplaceWithTextOnline.rb&#34;&gt;&lt;/script&gt;
&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-9&#34;  /&gt;
      &lt;label for=&#34;tabs-2-9&#34;&gt;Swift&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/790dbd2edd5d36f170732366f52cac4c.js?file=ReplaceWithTextOnline.swift&#34;&gt;&lt;/script&gt;
&lt;/div&gt;
      &lt;input type=&#34;radio&#34; class=&#34;toggle&#34; name=&#34;tabs-2&#34; id=&#34;tabs-2-10&#34;  /&gt;
      &lt;label for=&#34;tabs-2-10&#34;&gt;Dart&lt;/label&gt;
      &lt;div class=&#34;book-tabs-content markdown-inner&#34;&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-words-cloud-gists/6aae628cf2b878b78fea177c3171c6bf.js?file=ReplaceWithTextOnline.dart&#34;&gt;&lt;/script&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;/nav&gt;


&lt;/div&gt;

&lt;h2 id=&#34;see-also&#34;&gt;See Also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/aspose-words-cloud&#34;&gt;GitHub repository&lt;/a&gt; — explore Aspose.Words Cloud SDK Family. These software libraries take care of all low-level document-processing details.&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
  </channel>
</rss>
