IacObject.Delete Method

The Delete method deletes the specified object.

Syntax

Visual Basic .NET:

public Function Delete (ByVal canUndo As Boolean) As Boolean

C#:

public System.Boolean Delete ( System.Boolean canUndo )

Parameters

canUndo

This parameter specifies whether the operation can be undone using the Undo method. An operation that can be undone usually consumes memory and is slower to execute.

Return Value

True if the page was deleted, False otherwise.

Remarks

Member of Amyuni.PDFCreator.IacObject.

 

Example

Amyuni.PDFCreator.IacObject obj = pdfCreator1.GetPage(1).ObjectByName("Field1");
obj.Delete(false);