istylecollection-ag凯发旗舰厅



com.spire.doc.interfaces
interface istylecollection

all superinterfaces:
icollectionbase, java.lang.iterable
all known implementing classes:
stylecollection

public interface istylecollection
extends icollectionbase

represents a collection of istyle objects.


method summary
 int add(istyle style)
          adds the specified style.
 style findbyname(java.lang.string name)
          finds a first style with specified style name
 istyle findbyname(java.lang.string name, styletype styletype)
          finds a style by style name and style type
 istyle get(int index)
          gets the istyle at the specified index.
 
methods inherited from interface com.spire.doc.interfaces.icollectionbase
getcount
 
method detail

get

istyle get(int index)
gets the istyle at the specified index.
parameters:
index - the index
returns:
the style

add

int add(istyle style)
adds the specified style.
parameters:
style - the style.
returns:
the index

findbyname

style findbyname(java.lang.string name)
finds a first style with specified style name
parameters:
name - the name.
returns:
the style

findbyname

istyle findbyname(java.lang.string name,
                  styletype styletype)
finds a style by style name and style type
parameters:
name - the name.
styletype - type of the style.
returns:
the style


网站地图