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

View Docs for Another
Version or Platform

Programmer's Reference > ExcelApplication API > Style > Font

Font Property


C# Signature:

VB.NET Signature:


Description:

Sets or returns the Font object that defines the font for this style.

Font is a read / write property.



Examples:

[csharp]
// Get Font
Font fnt = styl.Font;

// Set Font
styl.Font = fnt;
[vbnet]
' Get Font
Dim fnt As Font = styl.Font

' Set Font
styl.Font = fnt


Getter

Signature:

public Font Font

Returns:

Font The Font object used by this style.

Setter

Signature:

public void Font Font font

Type:

Font



Copyright 2005 © SoftArtisans, Inc. All Rights Reserved.