Class SpreadsheetLocker

Class SpreadsheetLocker

ชื่อพื้นที่: Aspose.Cells.LowCode การประกอบ: Aspose.Cells.dll (25.4.0)

API รหัสต่ําเพื่อล็อคไฟล์ spreadsheet

public class SpreadsheetLocker

Inheritance

object SpreadsheetLocker

Examples

SpreadsheetLocker.Process("template.xlsx", "locked.xlsx", "mypassword", "mypassword");

Methods

Process(string, string, string, string)

ล็อคไฟล์หน้าแปลนที่มีการตั้งค่าที่ระบุ

public static void Process(string templateFile, string resultFile, string openPassword, string writePassword)

Parameters

templateFile string

ไฟล์ template ที่จะล็อค

resultFile string

ไฟล์ที่เกิดขึ้น

openPassword string

รหัสผ่านสําหรับการเข้ารหัสไฟล์

writePassword string

รหัสผ่านเพื่อป้องกันการเปลี่ยนแปลงแผ่นสเปรย์

Process(LowCodeLoadOptions, ล็อคโค้ดซอฟต์แวร์, string)

ล็อคไฟล์หน้าแปลนที่มีการตั้งค่าที่ระบุ

public static void Process(LowCodeLoadOptions loadOptions, LowCodeSaveOptions saveOptions, string openPassword, string writePassword)

Parameters

loadOptions LowCodeLoadOptions

ตัวเลือกสําหรับการเข้าและโหลด

saveOptions LowCodeSaveOptions

ตัวเลือกการผลิตและการประหยัด

openPassword string

รหัสผ่านสําหรับการเข้ารหัสไฟล์

writePassword string

รหัสผ่านเพื่อป้องกันการเปลี่ยนแปลงแผ่นสเปรย์

Process(LowCodeLoadOptions, ล็อคโค้ดSaveOption, วงกลม, สายรัด, ประเภทการป้องกัน)

ล็อคไฟล์หน้าแปลนที่มีการตั้งค่าที่ระบุ

public static void Process(LowCodeLoadOptions loadOptions, LowCodeSaveOptions saveOptions, string openPassword, string writePassword, string workbookPassword, ProtectionType workbookType)

Parameters

loadOptions LowCodeLoadOptions

ตัวเลือกสําหรับการเข้าและโหลด

saveOptions LowCodeSaveOptions

ตัวเลือกการผลิตและการประหยัด

openPassword string

รหัสผ่านสําหรับการเข้ารหัสไฟล์

writePassword string

รหัสผ่านเพื่อป้องกันการเปลี่ยนแปลงแผ่นสเปรย์

workbookPassword string

รหัสผ่านเพื่อปกป้องหนังสือทํางาน

workbookType ProtectionType

ประเภทการป้องกันเพื่อปกป้องหนังสือทํางาน

Process(LowCodeLoadOptions, แอปซอฟต์แวร์สํารองรหัสต่ํา, ซัพพลายเออร์)

ล็อคไฟล์หน้าแปลนที่มีการตั้งค่าที่ระบุ

public static void Process(LowCodeLoadOptions loadOptions, LowCodeSaveOptions saveOptions, AbstractLowCodeProtectionProvider provider)

Parameters

loadOptions LowCodeLoadOptions

ตัวเลือกสําหรับการเข้าและโหลด

saveOptions LowCodeSaveOptions

ตัวเลือกการผลิตและการประหยัด

provider AbstractLowCodeProtectionProvider

การดําเนินการเพื่อให้การตั้งค่าการป้องกัน

 แบบไทย