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, wait
forEach, spliterator
public 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>
DwfWhipLayer
public DwfWhipLayer getLayerByName(String name)
Gets first layer by name.
name
- The name of layer.DwfWhipLayer
public com.aspose.ms.System.Collections.ObjectModel.ReadOnlyCollection<DwfWhipLayer> getLayersByName(String name)
Gets layer by name.
name
- The name of layer.DwfWhipLayer
public List<DwfWhipLayer> getLayersByNames(String[] layersNames)
Gets layers by names.
layersNames
- Array names of layers.DwfWhipLayer
layer objectspublic List<String> getLayersNames()
Gets the layers names.
string
layers 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>