# GrapeCity.Documents.Imaging.GcBitmap.HasImage

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Imaging_GcBitmap_HasImage_" data-uid="GrapeCity.Documents.Imaging.GcBitmap.HasImage*">HasImage Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Imaging_GcBitmap_HasImage_" data-uid="GrapeCity.Documents.Imaging.GcBitmap.HasImage*"></a>
<h4 id="GrapeCity_Documents_Imaging_GcBitmap_HasImage" data-uid="GrapeCity.Documents.Imaging.GcBitmap.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_GcBitmap_HasImage_seealso">See Also</h5>
<div class="seealso">
    <div><a class="xref" href="GrapeCity.Documents.Imaging.GcBitmap.Load.html#GrapeCity_Documents_Imaging_GcBitmap_Load_System_Byte___System_Int32_System_Nullable_System_Drawing_Rectangle__">Load</a>(<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.byte">byte</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.drawing.rectangle">Rectangle</a>?)</div>
    <div><a class="xref" href="GrapeCity.Documents.Imaging.GcBitmap.Load.html#GrapeCity_Documents_Imaging_GcBitmap_Load_System_IO_Stream_System_Int32_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.int32">int</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.GcBitmap.Load.html#GrapeCity_Documents_Imaging_GcBitmap_Load_System_String_System_Int32_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.int32">int</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.GcBitmap.CreateImage.html#GrapeCity_Documents_Imaging_GcBitmap_CreateImage_System_Int32_System_Int32_System_Boolean_System_Single_System_Single_">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>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a>)</div>
    <div><a class="xref" href="GrapeCity.Documents.Imaging.GcBitmap.CreateImage.html#GrapeCity_Documents_Imaging_GcBitmap_CreateImage_System_IntPtr_System_Int32_System_Int32_System_Boolean_System_Boolean_System_Single_System_Single_">CreateImage</a>(<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.intptr">IntPtr</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>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a>)</div>
    <div><a class="xref" href="GrapeCity.Documents.Imaging.GcBitmap.CreateImage.html#GrapeCity_Documents_Imaging_GcBitmap_CreateImage_System_UInt32___System_Int32_System_Int32_System_Boolean_System_Boolean_System_Single_System_Single_">CreateImage</a>(<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.uint32">uint</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>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a>)</div>
</div>
</div>
