NativeExcel for .Net Developer's Reference

IFont.OutlineFont Property

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

[Visual Basic]
Property OutlineFont As Boolean
[C#]
bool OutlineFont { get; set; }
[C++]
__property bool get_OutlineFont();
__property void set_OutlineFont(bool );
[JScript]
function get OutlineFont() : bool
function set OutlineFont(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;
[Visual Basic]
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