# GrapeCity.Documents.Word.GradientFill.AngleScaled

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Word_GradientFill_AngleScaled_" data-uid="GrapeCity.Documents.Word.GradientFill.AngleScaled*">AngleScaled Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Word_GradientFill_AngleScaled_" data-uid="GrapeCity.Documents.Word.GradientFill.AngleScaled*"></a>
<h4 id="GrapeCity_Documents_Word_GradientFill_AngleScaled" data-uid="GrapeCity.Documents.Word.GradientFill.AngleScaled">AngleScaled</h4>
<div class="markdown level1 summary"><p>Gets or sets whether the gradient angle scales with the fill region.</p>
<p>Mathematically, if this flag is true, then the gradient vector ( cos x , sin x ) is scaled by the width (w) and height (h) of the fill region, so that the vector becomes ( w cos x, h sin x ) (before normalization).</p>
<p>Observe that now if the gradient angle is 45 degrees, the gradient vector is ( w, h ), which goes from top-left to bottom-right of the fill region. If this flag is false, the gradient angle is independent of the fill region and is not scaled using the manipulation described above.</p>
<p>So a 45-degree gradient angle always give a gradient band whose line of constant color is parallel to the vector (1, -1).</p>
<p>This property has effect only when the <a class="xref" href="GrapeCity.Documents.Word.GradientFill.Type.html#GrapeCity_Documents_Word_GradientFill_Type">Type</a> property is <a class="xref" href="GrapeCity.Documents.Word.GradientType.html#GrapeCity_Documents_Word_GradientType_Linear">Linear</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 AngleScaled { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property AngleScaled As Boolean</code></pre>
</div>
</div>
