# GrapeCity.Documents.Svg.SvgReference.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Svg_SvgReference__ctor_" data-uid="GrapeCity.Documents.Svg.SvgReference.#ctor*">SvgReference Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Svg_SvgReference__ctor_" data-uid="GrapeCity.Documents.Svg.SvgReference.#ctor*"></a>
<h4 id="GrapeCity_Documents_Svg_SvgReference__ctor_System_String_" data-uid="GrapeCity.Documents.Svg.SvgReference.#ctor(System.String)">SvgReference(string)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Svg.SvgReference.html">SvgReference</a> class with the specified <code class="paramref">id</code>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public SvgReference(string id)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(id 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">id</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Svg_SvgReference__ctor_" data-uid="GrapeCity.Documents.Svg.SvgReference.#ctor*"></a>
<h4 id="GrapeCity_Documents_Svg_SvgReference__ctor_GrapeCity_Documents_Imaging_GcBitmap_System_Boolean_" data-uid="GrapeCity.Documents.Svg.SvgReference.#ctor(GrapeCity.Documents.Imaging.GcBitmap,System.Boolean)">SvgReference(GcBitmap, bool)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Svg.SvgReference.html">SvgReference</a> class with an embedded image.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public SvgReference(GcBitmap bitmap, bool ownData)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(bitmap As GcBitmap, ownData As Boolean)</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="GrapeCity.Documents.Imaging.GcBitmap.html">GcBitmap</a></td>
      <td><span class="parametername">bitmap</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">ownData</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Svg_SvgReference__ctor_" data-uid="GrapeCity.Documents.Svg.SvgReference.#ctor*"></a>
<h4 id="GrapeCity_Documents_Svg_SvgReference__ctor_GrapeCity_Documents_Svg_GcSvgDocument_System_Boolean_" data-uid="GrapeCity.Documents.Svg.SvgReference.#ctor(GrapeCity.Documents.Svg.GcSvgDocument,System.Boolean)">SvgReference(GcSvgDocument, bool)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Svg.SvgReference.html">SvgReference</a> class with an embedded SVG document.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public SvgReference(GcSvgDocument svgDocument, bool ownData)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(svgDocument As GcSvgDocument, ownData As Boolean)</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="GrapeCity.Documents.Svg.GcSvgDocument.html">GcSvgDocument</a></td>
      <td><span class="parametername">svgDocument</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">ownData</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Svg_SvgReference__ctor_" data-uid="GrapeCity.Documents.Svg.SvgReference.#ctor*"></a>
<h4 id="GrapeCity_Documents_Svg_SvgReference__ctor_System_Uri_" data-uid="GrapeCity.Documents.Svg.SvgReference.#ctor(System.Uri)">SvgReference(Uri)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Svg.SvgReference.html">SvgReference</a> class with the specified Uri object.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public SvgReference(Uri uri)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(uri As Uri)</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><span class="xref">Uri</span></td>
      <td><span class="parametername">uri</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
