مرجع مطوري HotXLS: فئتا TXLSXProtectedRange وTXLSXProtectedRanges

واجهة API لهذه الميزة في XLSX مع الحفاظ على المعرفات الأصلية

TXLSXProtectedRanges واجهة API لهذه الميزة في XLSX مع الحفاظ على المعرفات الأصلية

التعريفات

function TXLSXProtectedRanges.Add(const AName, ASqref: WideString): TXLSXProtectedRange;
procedure TXLSXProtectedRanges.Clear;
property TXLSXProtectedRange.Name, Sqref, Password, SecurityDescriptor: WideString;
property TXLSXProtectedRanges.Items[Index: Integer]: TXLSXProtectedRange;

التعريفات

Nameالأعضاء الرئيسيون
Sqrefاستخدم الخصائص والأساليب لإنشاء أوراق العمل والنطاقات والكائنات وقراءتها وتحديثها
Passwordمثال
SecurityDescriptorانظر أيضاً

انظر أيضاً

Sheet.ProtectedRanges.Add('Input cells', 'B2:B20 D2:D20');
Sheet.Protect;

TXLSXWorksheet