Modifier and Type | Method and Description |
---|---|
void |
add(XForm xform)
Adds new XForm into collection.
|
void |
copyTo(com.aspose.ms.System.Array array,
int index)
Copies XFormCollection into collection.
|
void |
delete()
Deletes all XForms from collection.
|
void |
delete(int index)
Delete XForm from collectin
|
void |
delete(String name)
Deletes XForm from collection by form name.
|
XForm |
get_Item(int index)
Returns XForm by index.
|
XForm |
get_Item(String name)
Returns XForm by its name.
|
String |
getFormName(XForm form)
Returns name of the form in this form collection
|
Object |
getSyncRoot()
Synchronization object.
|
boolean |
hasForm(String formName) |
boolean |
isSynchronized()
Returns true if object is synchronized.
|
com.aspose.ms.System.Collections.IEnumerator |
iterator()
Returns collection enumerator.
|
int |
size()
Gets count of XForms in collection.
|
public int size()
Gets count of XForms in collection.
size
in interface com.aspose.ms.System.Collections.ICollection
public boolean isSynchronized()
Returns true if object is synchronized.
isSynchronized
in interface com.aspose.ms.System.Collections.ICollection
public Object getSyncRoot()
Synchronization object.
getSyncRoot
in interface com.aspose.ms.System.Collections.ICollection
public void add(XForm xform)
Adds new XForm into collection.
xform
- XForm to add into collectionpublic void delete(int index)
Delete XForm from collectin
index
- Index of XForm which must be deletedpublic void delete()
Deletes all XForms from collection.
public void copyTo(com.aspose.ms.System.Array array, int index)
Copies XFormCollection into collection.
copyTo
in interface com.aspose.ms.System.Collections.ICollection
array
- Array of XForm to be copiedindex
- Index where XFormCollection will be copiedpublic com.aspose.ms.System.Collections.IEnumerator iterator()
Returns collection enumerator.
public void delete(String name)
Deletes XForm from collection by form name.
name
- Name of XForm to be deleted.public XForm get_Item(int index)
Returns XForm by index.
index
- Index of XFormCollection. XForms numbering is started from 1public XForm get_Item(String name)
Returns XForm by its name. Exception is thrown if XForm with specified name is not found.
name
- Name of XFormpublic String getFormName(XForm form)
Returns name of the form in this form collection
form
- Form which name is searhcedpublic boolean hasForm(String formName)
Copyright © 2017 Aspose. All Rights Reserved.