# GrapeCity.Documents.Word.WebVideoProperties.SetUrl

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Word_WebVideoProperties_SetUrl_" data-uid="GrapeCity.Documents.Word.WebVideoProperties.SetUrl*">SetUrl Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Word_WebVideoProperties_SetUrl_" data-uid="GrapeCity.Documents.Word.WebVideoProperties.SetUrl*"></a>
<h4 id="GrapeCity_Documents_Word_WebVideoProperties_SetUrl_System_String_" data-uid="GrapeCity.Documents.Word.WebVideoProperties.SetUrl(System.String)">SetUrl(string)</h4>
<div class="markdown level1 summary"><p>Sets the video URL associated with this <a class="xref" href="GrapeCity.Documents.Word.WebVideoProperties.html">WebVideoProperties</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SetUrl(string url)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub SetUrl(url As String)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">url</span></td>
      <td><p>The video URL.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Word_WebVideoProperties_SetUrl_" data-uid="GrapeCity.Documents.Word.WebVideoProperties.SetUrl*"></a>
<h4 id="GrapeCity_Documents_Word_WebVideoProperties_SetUrl_System_String_System_String_" data-uid="GrapeCity.Documents.Word.WebVideoProperties.SetUrl(System.String,System.String)">SetUrl(string, string)</h4>
<div class="markdown level1 summary"><p>Sets the video URL and title associated with this <a class="xref" href="GrapeCity.Documents.Word.WebVideoProperties.html">WebVideoProperties</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SetUrl(string url, string title)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub SetUrl(url As String, title As String)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">url</span></td>
      <td><p>The video URL.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">title</span></td>
      <td><p>The title of web video player.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Word_WebVideoProperties_SetUrl_" data-uid="GrapeCity.Documents.Word.WebVideoProperties.SetUrl*"></a>
<h4 id="GrapeCity_Documents_Word_WebVideoProperties_SetUrl_System_String_System_String_System_Int32_System_Int32_" data-uid="GrapeCity.Documents.Word.WebVideoProperties.SetUrl(System.String,System.String,System.Int32,System.Int32)">SetUrl(string, string, int, int)</h4>
<div class="markdown level1 summary"><p>Sets the video URL, title and size associated with this <a class="xref" href="GrapeCity.Documents.Word.WebVideoProperties.html">WebVideoProperties</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SetUrl(string url, string title, int width, int height)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub SetUrl(url As String, title As String, width As Integer, height As Integer)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">url</span></td>
      <td><p>The video URL.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">title</span></td>
      <td><p>The title of web video player.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">width</span></td>
      <td><p>The width of the player, overrides the current <a class="xref" href="GrapeCity.Documents.Word.WebVideoProperties.Width.html#GrapeCity_Documents_Word_WebVideoProperties_Width">Width</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">height</span></td>
      <td><p>The height of the player, overrides the current <a class="xref" href="GrapeCity.Documents.Word.WebVideoProperties.Height.html#GrapeCity_Documents_Word_WebVideoProperties_Height">Height</a>.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
