
## VbaProject.isProtected property

Shows whether the [VbaProject](../) is password protected.



```js
get isProtected(): boolean
```

### Examples

Shows whether the VbaProject is password protected.

```js
let doc = new aw.Document(base.myDir + "Vba protected.docm");
expect(doc.vbaProject.isProtected).toEqual(true);
```

### See Also

* module [Aspose.Words.Vba](../../)
* class [VbaProject](../)

