NativeExcel2 for .Net Developer's Reference

IFont.OutlineFont Property

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

[Visual Basic]
PropertyOutlineFontAsBoolean
[C#]
boolOutlineFont{get;set;}
[C++]
__propertyboolget_OutlineFont();
__propertyvoidset_OutlineFont(bool);
[JScript]
functiongetOutlineFont():bool
functionsetOutlineFont(bool);

Property Value

true if the font is an outline 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 for cell A1 on sheet one to an outline font.

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

See Also

IFont Interface | NativeExcel Namespace