columncollection-ag凯发旗舰厅



com.spire.doc.collections
class columncollection

java.lang.object
  extended by com.spire.doc.ownerholder
      extended by com.spire.doc.collections.collectionex
          extended by com.spire.doc.documents.xml.documentserializablecollection
              extended by com.spire.doc.collections.columncollection
all implemented interfaces:
ixdlsserializablecollection, java.lang.iterable

public class columncollection
extends documentserializablecollection

a collection of column objects that represent all the columns of text in a section of a document.


method summary
 int add(column column)
          adds column object to the collection.
 void clear()
          removes all item.
 column get(int index)
          gets the column at the specified index.
 void populate(int count, float spacing)
          populates the specified number of columns with specified spacing.
 
methods inherited from class com.spire.doc.collections.collectionex
getcount, iterator
 
methods inherited from class com.spire.doc.ownerholder
getdocument
 
methods inherited from interface com.spire.doc.interfaces.ixdlsserializablecollection
addnewitem, getcount, gettagitemnameex
 
method detail

get

public column get(int index)
gets the column at the specified index.
parameters:
index - index
returns:
column object

add

public int add(column column)
adds column object to the collection.
parameters:
column - the column.
returns:
int value

populate

public void populate(int count,
                     float spacing)
populates the specified number of columns with specified spacing.
parameters:
count - the count.
spacing - the spacing.

clear

public void clear()
removes all item.
overrides:
clear in class collectionex


网站地图