Programmer's Reference >
ExcelApplication API >
Style > ShrinkToFit
ShrinkToFit Property
C# Signature:
VB.NET Signature:
Description:
| Sets or returns whether text in a cell should be reduced in size to fit within the cell's width.
ShrinkToFit is a
read / write property.
|
Examples:
[csharp]
// Get ShrinkToFit
bool shrink = styl.ShrinkToFit;
// Set ShrinkToFit
styl.ShrinkToFit = true;
[vbnet]
' Get ShrinkToFit
Dim shrink As Boolean = styl.ShrinkToFit
' Set ShrinkToFit
styl.ShrinkToFit = True
Getter |
Signature:
public boolean
ShrinkToFit
Returns:
boolean
If true , text size will be reduced to fit within cells with this style.
|
Setter |
Signature:
public void ShrinkToFit boolean
shrinkToFit
Type:
boolean
|
Copyright 2005 © SoftArtisans, Inc. All Rights Reserved.
|