---
title: "DgnCompoundElement"
url: "https://reference.aspose.com/cad/java/com.aspose.cad.fileformats.dgn.dgnelements/dgncompoundelement/"
product: "Aspose.CAD for Java"
description: "Represents compound element"
---


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

Represents compound element

## Methods

| Method | Description |
| --- | --- |
| [getTotalLength()](#getTotalLength) | Gets or sets total length of data of related elements |
| [getElementsCount()](#getElementsCount) | Gets or sets related elements count |
| [getElements()](#getElements) | Gets related elements |
| [getMinPoint()](#getMinPoint) | Gets the min point of object. |
| [getMaxPoint()](#getMaxPoint) | Gets the max point of object. |

### getTotalLength() {#getTotalLength}
```java
public int getTotalLength()
```

Gets or sets total length of data of related elements

**Returns:** int

### getElementsCount() {#getElementsCount}
```java
public int getElementsCount()
```

Gets or sets related elements count

**Returns:** int

### getElements() {#getElements}
```java
public com.aspose.ms.System.Collections.Generic.IGenericEnumerable<DgnDrawingElementBase> getElements()
```

Gets related elements

**Returns:** com.aspose.ms.System.Collections.Generic.IGenericEnumerable<DgnDrawingElementBase>

### getMinPoint() {#getMinPoint}
```java
public Cad3DPoint getMinPoint()
```

Gets the min point of object.

**Returns:** Cad3DPoint - Min point of object.

### getMaxPoint() {#getMaxPoint}
```java
public Cad3DPoint getMaxPoint()
```

Gets the max point of object.

**Returns:** Cad3DPoint - Max point of object.

