Microsoft SDK for Java

Column.setFont

Sets the font of the text in the column.

Syntax

public void setFont( Font font )

Parameters

font

A Font object that represents the current font of the text in the column.

Remarks

Call setFont to override the default font set by the parent DataGrid control. To later return to this default, pass null to setFont.

See Also   getFont, shouldPersistFont

© 1999 Microsoft Corporation. All rights reserved. Terms of use.