---
title: "CadVbaProject"
url: "https://reference.aspose.com/cad/java/com.aspose.cad.fileformats.cad.cadobjects/cadvbaproject/"
product: "Aspose.CAD for Java"
description: "Class describing VBA_PROJECT object."
---


**Inheritance:** java.lang.Object, CadBaseObject

Class describing VBA_PROJECT object.

## Constructors

| Constructor | Description |
| --- | --- |
| [CadVbaProject()](#CadVbaProject) | Initializes a new instance of the CadVbaProject class. |

## Methods

| Method | Description |
| --- | --- |
| [getBytesNumber()](#getBytesNumber) | Gets or sets the bytes number. |
| [setBytesNumber(int value)](#setBytesNumber-int) | Gets or sets the bytes number. |
| [getBinaryObjectData()](#getBinaryObjectData) | Gets or sets the binary object data. |
| [setBinaryObjectData(byte[] value)](#setBinaryObjectData-byte:A) | Gets or sets the binary object data. |

### CadVbaProject() {#CadVbaProject}
```java
public CadVbaProject()
```

Initializes a new instance of the CadVbaProject class.

### getBytesNumber() {#getBytesNumber}
```java
public final int getBytesNumber()
```

Gets or sets the bytes number.

**Returns:** int - The bytes number.

### setBytesNumber(int value) {#setBytesNumber-int}
```java
public final void setBytesNumber(int value)
```

Gets or sets the bytes number.

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| value | int | The bytes number. |

### getBinaryObjectData() {#getBinaryObjectData}
```java
public final byte[] getBinaryObjectData()
```

Gets or sets the binary object data.

**Returns:** byte[] - The binary object data.

### setBinaryObjectData(byte[] value) {#setBinaryObjectData-byte:A}
```java
public final void setBinaryObjectData(byte[] value)
```

Gets or sets the binary object data.

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| value | byte[] | The binary object data. |

