DwfLayersList

All Implemented Interfaces: com.aspose.ms.System.Collections.Generic.IGenericCollection, com.aspose.ms.System.Collections.Generic.IGenericEnumerable

Layer tables list

Methods

MethodDescription
iterator()Enumeration of layers.
getLayerByName(String name)Gets first layer by name.
getLayersByName(String name)Gets layer by name.
getLayersByNames(String[] layersNames)Gets layers by names.
getLayersNames()Gets the layers names.
addItem(DwfWhipLayer item)Adds an item to the DwfLayersList
clear()Removes all items from the DwfLayersList
containsItem(DwfWhipLayer item)Determines whether the DwfLayersList contains a specific value.
copyToTArray(DwfWhipLayer[] array, int arrayIndex)Copies the elements of DwfLayersList to an System.Array, starting at a particular System.Array index.
removeItem(DwfWhipLayer item)Removes the first occurrence of a specific object from the DwfLayersList.
size()Gets the number of elements contained in the DwfLayersList.
isReadOnly()Gets a value indicating whether the DwfLayersList is read-only.

iterator()

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

Enumeration of layers.

Returns: com.aspose.ms.System.Collections.Generic.IGenericEnumerator - Enumerator of layers DwfWhipLayer

getLayerByName(String name)

public DwfWhipLayer getLayerByName(String name)

Gets first layer by name.

Parameters:

ParameterTypeDescription
nameStringThe name of layer.

Returns: DwfWhipLayer - The layer or null if layer with “name” does not exist in the collection DwfWhipLayer

getLayersByName(String name)

public com.aspose.ms.System.Collections.ObjectModel.ReadOnlyCollection<DwfWhipLayer> getLayersByName(String name)

Gets layer by name.

Parameters:

ParameterTypeDescription
nameStringThe name of layer.

Returns: com.aspose.ms.System.Collections.ObjectModel.ReadOnlyCollection - The layers collection of DwfWhipLayer

getLayersByNames(String[] layersNames)

public List<DwfWhipLayer> getLayersByNames(String[] layersNames)

Gets layers by names.

Parameters:

ParameterTypeDescription
layersNamesString[]Array names of layers.

Returns: List - The list of DwfWhipLayer layer objects

getLayersNames()

public List<String> getLayersNames()

Gets the layers names.

Returns: List - The list of string layers names

addItem(DwfWhipLayer item)

public void addItem(DwfWhipLayer item)

Adds an item to the DwfLayersList

Parameters:

ParameterTypeDescription
itemDwfWhipLayerThe object to add to the collection

clear()

public void clear()

Removes all items from the DwfLayersList

containsItem(DwfWhipLayer item)

public boolean containsItem(DwfWhipLayer item)

Determines whether the DwfLayersList contains a specific value.

Parameters:

ParameterTypeDescription
itemDwfWhipLayerthe object to locate in the collection

Returns: boolean - true if item is found in the collection otherwise false

copyToTArray(DwfWhipLayer[] array, int arrayIndex)

public void copyToTArray(DwfWhipLayer[] array, int arrayIndex)

Copies the elements of DwfLayersList to an System.Array, starting at a particular System.Array index.

Parameters:

ParameterTypeDescription
arrayDwfWhipLayer[]the one-dimensional array that is the destination of the elements copied
arrayIndexintthe zero-based index in array at which copying begins

removeItem(DwfWhipLayer item)

public boolean removeItem(DwfWhipLayer item)

Removes the first occurrence of a specific object from the DwfLayersList.

Parameters:

ParameterTypeDescription
itemDwfWhipLayeritem to remove from collection

Returns: boolean - Result of removing

size()

public int size()

Gets the number of elements contained in the DwfLayersList.

Returns: int

isReadOnly()

public boolean isReadOnly()

Gets a value indicating whether the DwfLayersList is read-only.

Returns: boolean