Class AutoFitterOptions
Namespace: Aspose.Cells
Assembly: Aspose.Cells.dll (25.2.0)
Represents all auto fitter options.
public class AutoFitterOptions
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
AutoFitterOptions()
public AutoFitterOptions()
Properties
AutoFitMergedCellsType
Gets and set the type of auto fitting row height of merged cells.
public AutoFitMergedCellsType AutoFitMergedCellsType { get; set; }
Property Value
Remarks
Excel defaults to ignore merged cells when fitting the row height, so Aspose.Cells works as MS Excel default. Please set this type to change the way of auto fitting row height of merged cells.
AutoFitWrappedTextType
Gets and sets the type of auto fitting wrapped text.
public AutoFitWrappedTextType AutoFitWrappedTextType { get; set; }
Property Value
DefaultEditLanguage
Gets or sets default edit language.
public DefaultEditLanguage DefaultEditLanguage { get; set; }
Property Value
Remarks
It may display/render different layouts for text paragraph when different edit languages is set. Default is Aspose.Cells.DefaultEditLanguage.Auto.
ForRendering
Indicates whether fit for rendering purpose.
public bool ForRendering { get; set; }
Property Value
FormatStrategy
Gets and sets the formatted strategy.
public CellValueFormatStrategy FormatStrategy { get; set; }
Property Value
Remarks
The default value is CellStyle for performance.
IgnoreHidden
Ignores the hidden rows/columns.
public bool IgnoreHidden { get; set; }
Property Value
MaxRowHeight
Gets and sets the max row height(in unit of Point) when autofitting rows.
public double MaxRowHeight { get; set; }
Property Value
OnlyAuto
Indicates whether only fit the rows which height are not customed.
public bool OnlyAuto { get; set; }