pdfgridcolumncollection-ag凯发旗舰厅



com.spire.pdf.grid
class pdfgridcolumncollection

java.lang.object
  extended by com.spire.pdf.grid.pdfgridcolumncollection
all implemented interfaces:
com.spire.ms.system.collections.ienumerable, java.lang.iterable

public class pdfgridcolumncollection
extends java.lang.object
implements com.spire.ms.system.collections.ienumerable

the class pdf grid column collection.


constructor summary
pdfgridcolumncollection(pdfgrid grid)
           
 
method summary
 pdfgridcolumn add()
          adds this instance.
 void add(int count)
          adds the specified count.
 void add(pdfgridcolumn column)
          adds the specified column.
 void clear()
          clears this instance.
 pdfgridcolumn get(int index)
          gets the at the specified index.
 int getcount()
          gets the count.
 float measurecolumnswidth()
          calculates the column widths.
 boolean remove(pdfgridcolumn item)
          removes the first occurrence of a specific object from the pdfgridcolumncollection
 void removeat(int index)
          removes the element at the specified index of the pdfgridcolumncollection.
 
constructor detail

pdfgridcolumncollection

public pdfgridcolumncollection(pdfgrid grid)
method detail

get

public pdfgridcolumn get(int index)
gets the at the specified index.

getcount

public int getcount()
gets the count.

clear

public void clear()
clears this instance.

add

public pdfgridcolumn add()
adds this instance.
returns:
adds this instance

add

public void add(int count)
adds the specified count.
parameters:
count - the count.

add

public void add(pdfgridcolumn column)
adds the specified column.
parameters:
column - the column.

measurecolumnswidth

public float measurecolumnswidth()
calculates the column widths.

remove

public boolean remove(pdfgridcolumn item)
removes the first occurrence of a specific object from the pdfgridcolumncollection
parameters:
item - the object to remove from the pdfgridcolumncollection.
returns:
true if item is successfully removed; otherwise, false

removeat

public void removeat(int index)
removes the element at the specified index of the pdfgridcolumncollection.
parameters:
index - the zero-based index of the element to remove.


网站地图