Forums     Knowledge Base     OfficeWriter Online     
 
 
This documentation is for
OfficeWriter v3.8.1
.NET Platform

View Docs for Another
Version or Platform

Programmer's Reference > WordApplication API > ParagraphFormatting > Shading

Shading Property


C# Signature:

VB.NET Signature:


Description:

Returns an Shading object which on which you can manipulate the shading (fill color and/or pattern) properties of a paragraph.

Note: The shading on a paragraph will be overridden by shading set on a character run.

MS Word equivalent: Format menu > Borders and Shading... > Shading tab

Shading is a read only property.



Examples:

[csharp]
oParagraphFormatting.Shading.BackgroundColor = Color.Gray;
[vbnet]
oParagraphFormatting.Shading.BackgroundColor = Color.Gray


Getter

Signature:

public Shading Shading

Returns:

Shading An Shading object which on which you can manipulate the shading (fill color and/or pattern) properties of a paragraph.



Copyright 2007 © SoftArtisans, Inc. All Rights Reserved.