# GrapeCity.Documents.Word.DocumentProtection.BlockThemeOrSchemeSwitching

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Word_DocumentProtection_BlockThemeOrSchemeSwitching_" data-uid="GrapeCity.Documents.Word.DocumentProtection.BlockThemeOrSchemeSwitching*">BlockThemeOrSchemeSwitching Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Word_DocumentProtection_BlockThemeOrSchemeSwitching_" data-uid="GrapeCity.Documents.Word.DocumentProtection.BlockThemeOrSchemeSwitching*"></a>
<h4 id="GrapeCity_Documents_Word_DocumentProtection_BlockThemeOrSchemeSwitching" data-uid="GrapeCity.Documents.Word.DocumentProtection.BlockThemeOrSchemeSwitching">BlockThemeOrSchemeSwitching</h4>
<div class="markdown level1 summary"><p>Gets or sets a value indicating whether modification of the document's theme
information should be blocked.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool BlockThemeOrSchemeSwitching { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property BlockThemeOrSchemeSwitching As Boolean</code></pre>
</div>
<h5 id="GrapeCity_Documents_Word_DocumentProtection_BlockThemeOrSchemeSwitching_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Specifies whether applications shall prevent the modification of the document's
theme information stored in the Theme part when editing this document.
This setting should not preclude the use of the theme information,
instead, it should only prevent the modification of the theme part in
a single operation (either through a user interface or a programmatic operation).</p>
</div>
</div>
