Class AutoFitterOptions
Class AutoFitterOptions
Namespace: Aspose.Cells
Assembly: Aspose.Cells.dll (25.2.0)
表示所有自动调整选项。
public class AutoFitterOptions
继承
继承成员
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
构造函数
AutoFitterOptions()
public AutoFitterOptions()
属性
AutoFitMergedCellsType
获取和设置合并单元格的自动调整行高类型。
public AutoFitMergedCellsType AutoFitMergedCellsType { get; set; }
属性值
备注
Excel 默认情况下在调整行高时忽略合并单元格,因此 Aspose.Cells 的行为与 MS Excel 默认相同。请设置此类型以更改合并单元格的自动调整行高方式。
AutoFitWrappedTextType
获取和设置自动调整换行文本的类型。
public AutoFitWrappedTextType AutoFitWrappedTextType { get; set; }
属性值
DefaultEditLanguage
获取或设置默认编辑语言。
public DefaultEditLanguage DefaultEditLanguage { get; set; }
属性值
备注
当设置不同的编辑语言时,文本段落可能会显示/渲染不同的布局。默认值为 Aspose.Cells.DefaultEditLanguage.Auto。
ForRendering
指示是否适合渲染目的。
public bool ForRendering { get; set; }
属性值
FormatStrategy
获取和设置格式化策略。
public CellValueFormatStrategy FormatStrategy { get; set; }
属性值
备注
默认值为 CellStyle,以提高性能。
IgnoreHidden
忽略隐藏的行/列。
public bool IgnoreHidden { get; set; }
属性值
MaxRowHeight
获取和设置自动调整行时的最大行高(单位为点)。
public double MaxRowHeight { get; set; }
属性值
OnlyAuto
指示是否仅调整高度未自定义的行。
public bool OnlyAuto { get; set; }