public final class DwfLayersList extends Object implements com.aspose.ms.System.Collections.Generic.IGenericCollection<DwfWhipLayer>, com.aspose.ms.System.Collections.Generic.IGenericEnumerable<DwfWhipLayer>
Layer tables list
| Modifier and Type | Method and Description |
|---|---|
void |
addItem(DwfWhipLayer item)
Adds an item to the DwfLayersList
|
void |
clear()
Removes all items from the DwfLayersList
|
boolean |
containsItem(DwfWhipLayer item)
Determines whether the DwfLayersList contains a specific value.
|
void |
copyToTArray(DwfWhipLayer[] array,
int arrayIndex)
Copies the elements of DwfLayersList to an System.Array, starting at a particular System.Array index.
|
DwfWhipLayer |
getLayerByName(String name)
Gets first layer by name.
|
com.aspose.ms.System.Collections.ObjectModel.ReadOnlyCollection<DwfWhipLayer> |
getLayersByName(String name)
Gets layer by name.
|
List<DwfWhipLayer> |
getLayersByNames(String[] layersNames)
Gets layers by names.
|
List<String> |
getLayersNames()
Gets the layers names.
|
boolean |
isReadOnly()
Gets a value indicating whether the DwfLayersList is read-only.
|
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<DwfWhipLayer> |
iterator()
Enumeration of layers.
|
boolean |
removeItem(DwfWhipLayer item)
Removes the first occurrence of a specific object from the DwfLayersList.
|
int |
size()
Gets the number of elements contained in the DwfLayersList.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic com.aspose.ms.System.Collections.Generic.IGenericEnumerator<DwfWhipLayer> iterator()
Enumeration of layers.
iterator in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<DwfWhipLayer>iterator in interface com.aspose.ms.System.Collections.IEnumerable<DwfWhipLayer>iterator in interface Iterable<DwfWhipLayer>DwfWhipLayerpublic DwfWhipLayer getLayerByName(String name)
Gets first layer by name.
name - The name of layer.DwfWhipLayerpublic com.aspose.ms.System.Collections.ObjectModel.ReadOnlyCollection<DwfWhipLayer> getLayersByName(String name)
Gets layer by name.
name - The name of layer.DwfWhipLayerpublic List<DwfWhipLayer> getLayersByNames(String[] layersNames)
Gets layers by names.
layersNames - Array names of layers.DwfWhipLayerlayer objectspublic List<String> getLayersNames()
Gets the layers names.
stringlayers namespublic void addItem(DwfWhipLayer item)
Adds an item to the DwfLayersList
addItem in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<DwfWhipLayer>item - The object to add to the collectionpublic void clear()
Removes all items from the DwfLayersList
clear in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<DwfWhipLayer>public boolean containsItem(DwfWhipLayer item)
Determines whether the DwfLayersList contains a specific value.
containsItem in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<DwfWhipLayer>item - the object to locate in the collectionpublic void copyToTArray(DwfWhipLayer[] array, int arrayIndex)
Copies the elements of DwfLayersList to an System.Array, starting at a particular System.Array index.
copyToTArray in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<DwfWhipLayer>array - the one-dimensional array that is the destination of the elements copiedarrayIndex - the zero-based index in array at which copying beginspublic boolean removeItem(DwfWhipLayer item)
Removes the first occurrence of a specific object from the DwfLayersList.
removeItem in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<DwfWhipLayer>item - item to remove from collectionpublic int size()
Gets the number of elements contained in the DwfLayersList.
size in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<DwfWhipLayer>public boolean isReadOnly()
Gets a value indicating whether the DwfLayersList is read-only.
isReadOnly in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<DwfWhipLayer>