NativeExcel for .Net Developer's Reference

IFont.Shadow Property

Gets or sets a value that indicates whether the font is a shadow font.

[Visual Basic]
Property Shadow As Boolean
[C#]
bool Shadow { get; set; }
[C++]
__property bool get_Shadow();
__property void set_Shadow(bool );
[JScript]
function get Shadow() : bool
function set Shadow(bool);

Property Value

true if the font is a shadow font; otherwise, false.

Remarks

This property has no effect in Windows, but its value is retained (it can be set and returned).

Example

This example sets the font shadow for cell A1 on sheet one.

[C#]
book.Worksheets[1].Range["A1"].Font.Shadow = true;
[Visual Basic]
book.Worksheets(1).Range("A1").Font.Shadow = true
[C++]
book->Worksheets->Item[1]->Range->Item[S"A1"]->Font->Shadow = true;

See Also

IFont Interface | NativeExcel Namespace