Namespace: Spire.Doc.Collections
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public class StyleCollection : DocumentSerializableCollection, 
	IStyleCollection, ICollectionBase, IEnumerable
Public Class StyleCollection
	Inherits DocumentSerializableCollection
	Implements IStyleCollection, ICollectionBase, IEnumerable
public ref class StyleCollection : public DocumentSerializableCollection, 
	IStyleCollection, ICollectionBase, IEnumerable
type StyleCollection =  
    class
        inherit DocumentSerializableCollection
        interface IStyleCollection
        interface ICollectionBase
        interface IEnumerable
    end

Members

            
 All Members  Fields   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
Add(IStyle)
Adds Style to collection
ApplyDocDefaultsToNormalStyle()()()() Obsolete.
Applys the document default paragraph format and character format to normal style.
Count
Gets the number of items in the collection.
(Inherited from CollectionEx.)
CreateItem(IXDLSContentReader) (Overrides DocumentSerializableCollection..::..CreateItem(IXDLSContentReader).)
Document
Gets the document.
(Inherited from OwnerHolder.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FindById(Int32)
Finds Style by id
FindByIstd(Int32)
FindByName(String)
Finds Style by name
FindByName(String, StyleType)
Finds Style by name
GetEnumerator()()()()
Returns an enumerator that iterates through a collection.
(Inherited from CollectionEx.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetTagItemName()()()() (Overrides DocumentSerializableCollection..::..GetTagItemName()()()().)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
Item[([( Int32])])
Gets the at the specified index.
m_doc (Inherited from OwnerHolder.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)

Inheritance Hierarchy

See Also