DiagramShapeCollection

Inheritance: java.lang.Object, com.groupdocs.watermark.common.ReadOnlyListBase, com.groupdocs.watermark.common.RemoveOnlyListBase

public class DiagramShapeCollection extends RemoveOnlyListBase<DiagramShape>

Represents a collection of drawing shapes in a Visio document.

This collection contains the items of [DiagramShape](../../com.groupdocs.watermark.contents/diagramshape) type.

Methods

Method Description
addShape(Shape shape)
removeFromDocument(DiagramShape item)

addShape(Shape shape)

public final void addShape(Shape shape)

Parameters:

Parameter Type Description
shape com.aspose.diagram.Shape

removeFromDocument(DiagramShape item)

public void removeFromDocument(DiagramShape item)

Parameters:

Parameter Type Description
item DiagramShape