Dokumentacija HotXLS Sadržaj Početna Pregled TGridToXLS IXLSWorkbook Početna Sadržaj Pregled

IsProtected svojstvo

Vraća the value that indicates whether the Workbook is protected. Read-only Boolean

Sintaksa

property IsProtected: boolean;

Primjer

This example checks workbook protection before changing workbook-level settings. Workbook protection controls the workbook structure; it is separate from worksheet protection
if Workbook.IsProtected then Workbook.UnProtect; Workbook.Date1904 := False; Workbook.Save;

Vidi također

IXLSWorkbook.Protectmetoda
IXLSWorkbook.UnProtectmetoda
TXLSWorksheet.IsProtectedsvojstvo Copyright © 2010-2026 losLab Software