HotXLS 文件

SetCodePage 方法

設定傳統 XLS 寫入器使用的 BIFF 活頁簿字碼頁值。這是供期望特定 CodePage 記錄之舊版活頁簿使用者使用的相容性鉤子。現代 Excel BIFF8 不需要此設定

語法

function SetCodePage(ACodePage: Word): Integer;

範例

Workbook.SetCodePage(1251);