# GrapeCity.Documents.Imaging.Skia.GcSkiaBitmap.HasImage

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Imaging_Skia_GcSkiaBitmap_HasImage_" data-uid="GrapeCity.Documents.Imaging.Skia.GcSkiaBitmap.HasImage*">HasImage Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Imaging_Skia_GcSkiaBitmap_HasImage_" data-uid="GrapeCity.Documents.Imaging.Skia.GcSkiaBitmap.HasImage*"></a>
<h4 id="GrapeCity_Documents_Imaging_Skia_GcSkiaBitmap_HasImage" data-uid="GrapeCity.Documents.Imaging.Skia.GcSkiaBitmap.HasImage">HasImage</h4>
<div class="markdown level1 summary"><p>Gets a value indicating whether the underlying image exists (has been loaded or created).
If this property is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>, call <b>Load()</b> or <b>CreateImage()</b>
to load or create the underlying image.
Calling any other method will throw an exception unless this property is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool HasImage { get; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public ReadOnly Property HasImage As Boolean</code></pre>
</div>
<h5 id="GrapeCity_Documents_Imaging_Skia_GcSkiaBitmap_HasImage_seealso">See Also</h5>
<div class="seealso">
    <div><span class="xref">GrapeCity.Documents.Imaging.Skia.GcSkiaBitmap.Load(SkiaSharp.SKCodec,System.Nullable{System.Drawing.Rectangle})</span></div>
    <div><a class="xref" href="GrapeCity.Documents.Imaging.Skia.GcSkiaBitmap.Load.html#GrapeCity_Documents_Imaging_Skia_GcSkiaBitmap_Load_System_IO_Stream_System_Nullable_System_Drawing_Rectangle__">Load</a>(<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectangle">Rectangle</a>?)</div>
    <div><a class="xref" href="GrapeCity.Documents.Imaging.Skia.GcSkiaBitmap.Load.html#GrapeCity_Documents_Imaging_Skia_GcSkiaBitmap_Load_System_String_System_Nullable_System_Drawing_Rectangle__">Load</a>(<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectangle">Rectangle</a>?)</div>
    <div><a class="xref" href="GrapeCity.Documents.Imaging.Skia.GcSkiaBitmap.CreateImage.html#GrapeCity_Documents_Imaging_Skia_GcSkiaBitmap_CreateImage_System_Int32_System_Int32_System_Boolean_">CreateImage</a>(<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a>)</div>
</div>
</div>
