Class AbstractTextLoadOptions

Class AbstractTextLoadOptions

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

ตัวเลือกทั่วไปสำหรับการโหลดค่าข้อความ

public class AbstractTextLoadOptions : LoadOptions

การสืบทอด

objectLoadOptionsAbstractTextLoadOptions

ที่สืบทอดมา

HtmlLoadOptions, TxtLoadOptions

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

LoadOptions.m_LoadFormat, LoadOptions.SetPaperSize(PaperSizeType), LoadOptions.LoadFormat, LoadOptions.Password, LoadOptions.ParsingFormulaOnOpen, LoadOptions.ParsingPivotCachedRecords, LoadOptions.LanguageCode, LoadOptions.Region, LoadOptions.CultureInfo, LoadOptions.DefaultStyleSettings, LoadOptions.InterruptMonitor, LoadOptions.IgnoreNotPrinted, LoadOptions.CheckDataValid, LoadOptions.CheckExcelRestriction, LoadOptions.KeepUnparsedData, LoadOptions.LoadFilter, LoadOptions.LightCellsDataHandler, LoadOptions.MemorySetting, LoadOptions.WarningCallback, LoadOptions.AutoFitterOptions, LoadOptions.AutoFilter, LoadOptions.FontConfigs, LoadOptions.IgnoreUselessShapes, LoadOptions.PreservePaddingSpacesInFormula, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

คอนสตรัคเตอร์

AbstractTextLoadOptions()

protected AbstractTextLoadOptions()

คุณสมบัติ

ConvertDateTimeData

รับหรือกำหนดค่าที่ระบุว่าข้อความในไฟล์ข้อความถูกแปลงเป็นข้อมูลวันที่หรือไม่

public bool ConvertDateTimeData { get; set; }

ค่าของคุณสมบัติ

bool

ConvertNumericData

รับหรือกำหนดค่าที่ระบุว่าข้อความในไฟล์ข้อความถูกแปลงเป็นข้อมูลเชิงตัวเลขหรือไม่

public bool ConvertNumericData { get; set; }

ค่าของคุณสมบัติ

bool

Encoding

รับและกำหนดการเข้ารหัสเริ่มต้น ใช้เฉพาะสำหรับไฟล์ csv

public Encoding Encoding { get; set; }

ค่าของคุณสมบัติ

Encoding

KeepPrecision

ระบุว่าห้ามไม่ให้แปลงค่าข้อความหากความยาวเท่ากับ 15 หรือไม่

public bool KeepPrecision { get; set; }

ค่าของคุณสมบัติ

bool

LoadStyleStrategy

ระบุกลยุทธ์ในการใช้สไตล์สำหรับค่าที่แปลงเมื่อแปลงค่าข้อความเป็นตัวเลขหรือวันที่

public TxtLoadStyleStrategy LoadStyleStrategy { get; set; }

ค่าของคุณสมบัติ

TxtLoadStyleStrategy

เมธอด

Copy(AbstractTextLoadOptions)

protected void Copy(AbstractTextLoadOptions src)

พารามิเตอร์

src AbstractTextLoadOptions

 แบบไทย