# GrapeCity.Documents.Imaging.BitmapRenderer.TransparencyMaskBitmap

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Imaging_BitmapRenderer_TransparencyMaskBitmap_" data-uid="GrapeCity.Documents.Imaging.BitmapRenderer.TransparencyMaskBitmap*">TransparencyMaskBitmap Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Imaging_BitmapRenderer_TransparencyMaskBitmap_" data-uid="GrapeCity.Documents.Imaging.BitmapRenderer.TransparencyMaskBitmap*"></a>
<h4 id="GrapeCity_Documents_Imaging_BitmapRenderer_TransparencyMaskBitmap" data-uid="GrapeCity.Documents.Imaging.BitmapRenderer.TransparencyMaskBitmap">TransparencyMaskBitmap</h4>
<div class="markdown level1 summary"><p>Gets or sets a grayscale bitmap providing transparency mask for all drawing and filling operations.</p>
<p>
Pixels in the mask with value 0 are fully opaque and will completely mask any drawing
(i.e. the pixels of the target bitmap will remain unchanged).
Pixels in the mask with value 255 are fully transparent, i.e. any drawing
will have the same effect as if there was no mask.
Pixels with values between 0 and 255 will modify the transparency of the pixels being drawn
according to their value.
</p>
<p>
Note that the transparency mask bitmap must be of the same pixel size as the target bitmap.
</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public GrayscaleBitmap TransparencyMaskBitmap { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property TransparencyMaskBitmap As GrayscaleBitmap</code></pre>
</div>
</div>
