Specifies whether the field height should be automatically reduced to fit the field's contents.
Namespace:
C1.C1ReportAssembly: C1.C1Report.2 (in C1.C1Report.2.dll)
Syntax
| C# |
|---|
[DefaultValueAttribute(false)] public bool CanShrink { get; set; } |
| Visual Basic |
|---|
<DefaultValueAttribute(False)> _ Public Property CanShrink As Boolean Get Set |
Remarks
The default value for this property is False.
Examples
The following example sets the field so that it can automatically be reduced to fit the field's contents:
c1r.Field(0).CanShrink = True |
c1r.Field[0].CanShrink = true; |
For details, see the Creating CanGrow/CanShrink Fields topic.