Table of Contents

Method Purge

Namespace
VectorDraw.Professional.vdObjects
Assembly
VectorDraw.Professional.dll

Purge()

Deletes all unused table objects such as vdLayer, vdBlock, vdDimstyle, vdLineType, vdTextstyle, vdImageDef and vdHatchPattern objects from the document.

public int Purge()

Returns

int

The count of unused objects that where deleted.

Remarks

Used in order to make the drawing size smaller.

Searches the following tables:layers,blocks,dimstyles,linetypes,textstyles,Imagedefs,hatch patterns.

Raizes the OnEraseObject event for each deleted item.