ArtifactCollection

Inheritance: java.lang.Object, com.aspose.pdf.ArtifactCollection

All Implemented Interfaces: com.aspose.ms.System.Collections.Generic.IGenericCollection< Artifact >, com.aspose.ms.System.Collections.Generic.IGenericEnumerable< Artifact >, com.aspose.ms.System.Collections.IEnumerable< Artifact >, Iterable < Artifact >

public class ArtifactCollection extends Object implements com.aspose.ms.System.Collections.Generic.IGenericCollection< Artifact >

Class represents artifact collection.

Methods

MethodDescription
addAdds artifacts to the collection. *
addItem
clearNot Supported yet. Clears collection. Method is not supported.
containsItemNot Supported yet.
copyToTArrayC copy artifacts into array.
deleteDeletes specified artifact.
deleteDeletes artifact by its index.
findByValueFinds artifacts by custom value.
get_ItemGets artifact by index. Index is started from 1.
getSyncRootGets synchronization object of the collection.
isReadOnlyGets if collection is readonly. Always returns false.
isSynchronizedIs this object synchronized.
iterator_Rename_NamesakeFor Internal usage only. Gets enumerator for the collection.
iteratorGets enumerator for the collection.
remove/ * / * Checks if collection contains specified artifact. / * / * / *
removeItemNot Supported yet.
sizeGets count of artifacts in collection.
updateUpdate artifact inside the collection.

add

Adds artifacts to the collection. *

addItem

clear

public void clear()

Not Supported yet. Clears collection. Method is not supported.

containsItem

Not Supported yet.

copyToTArray

C copy artifacts into array.

delete

Deletes specified artifact.

delete

public void delete(int index)

Deletes artifact by its index.

Parameters:

ParameterTypeDescription
indexIndex of artifact to delete.

findByValue

Finds artifacts by custom value.

get_Item

public Artifact get_Item(int index)

Gets artifact by index. Index is started from 1.

Parameters:

ParameterTypeDescription
indexIndex of the artifact.

Returns: Artifact on the page.

getSyncRoot

public Object getSyncRoot()

Gets synchronization object of the collection.

Returns: Object for synchronization

isReadOnly

public boolean isReadOnly()

Gets if collection is readonly. Always returns false.

isSynchronized

public boolean isSynchronized()

Is this object synchronized.

Returns: boolean value

iterator_Rename_Namesake

public com.aspose.ms.System.Collections.IEnumerator iterator_Rename_Namesake()

For Internal usage only. Gets enumerator for the collection.

Returns: Enumerator object.

iterator

public com.aspose.ms.System.Collections.Generic.IGenericEnumerator< Artifact > iterator()

Gets enumerator for the collection.

Returns: Enumerator object.

remove

/ * / * Checks if collection contains specified artifact. / * / * / *

removeItem

Not Supported yet.

size

public int size()

Gets count of artifacts in collection.

Returns: int value

update

Update artifact inside the collection.