Class AutoFitterOptions

Class AutoFitterOptions

Namespace: Aspose.Cells
Assembly: Aspose.Cells.dll (25.2.0)

แสดงตัวเลือกการปรับขนาดอัตโนมัติทั้งหมด

public class AutoFitterOptions

การสืบทอด

objectAutoFitterOptions

สมาชิกที่สืบทอด

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; }

ค่าคุณสมบัติ

AutoFitMergedCellsType

หมายเหตุ

Excel จะตั้งค่าให้ข้ามเซลล์รวมเมื่อปรับขนาดความสูงแถว ดังนั้น Aspose.Cells จะทำงานตามค่าเริ่มต้นของ MS Excel
โปรดตั้งค่าประเภทนี้เพื่อเปลี่ยนวิธีการปรับขนาดความสูงแถวของเซลล์รวมกัน

AutoFitWrappedTextType

รับและตั้งค่าประเภทของการปรับขนาดอัตโนมัติของข้อความที่ห่อ

public AutoFitWrappedTextType AutoFitWrappedTextType { get; set; }

ค่าคุณสมบัติ

AutoFitWrappedTextType

DefaultEditLanguage

รับหรือตั้งค่าภาษาที่ใช้แก้ไขเริ่มต้น

public DefaultEditLanguage DefaultEditLanguage { get; set; }

ค่าคุณสมบัติ

DefaultEditLanguage

หมายเหตุ

อาจแสดง/เรนเดอร์เลย์เอาต์ที่แตกต่างกันสำหรับย่อหน้าข้อความเมื่อมีการตั้งค่าภาษาที่ใช้แก้ไขที่แตกต่างกัน
ค่าเริ่มต้นคือ Aspose.Cells.DefaultEditLanguage.Auto

ForRendering

ระบุว่าปรับขนาดเพื่อวัตถุประสงค์ในการเรนเดอร์หรือไม่

public bool ForRendering { get; set; }

ค่าคุณสมบัติ

bool

FormatStrategy

รับและตั้งค่ากลยุทธ์การจัดรูปแบบ

public CellValueFormatStrategy FormatStrategy { get; set; }

ค่าคุณสมบัติ

CellValueFormatStrategy

หมายเหตุ

ค่าดีฟอลต์คือ CellStyle เพื่อประสิทธิภาพ

IgnoreHidden

ข้ามแถว/คอลัมน์ที่ซ่อนอยู่

public bool IgnoreHidden { get; set; }

ค่าคุณสมบัติ

bool

MaxRowHeight

รับและตั้งค่าความสูงแถวสูงสุด (หน่วยเป็น Point) เมื่อปรับขนาดแถวอัตโนมัติ

public double MaxRowHeight { get; set; }

ค่าคุณสมบัติ

double

OnlyAuto

ระบุว่าเพียงปรับขนาดแถวที่ความสูงไม่ได้กำหนดเองหรือไม่

public bool OnlyAuto { get; set; }

ค่าคุณสมบัติ

bool

 แบบไทย