FastReport.Net.Demo by Fast Reports Inc.

<PackageReference Include="FastReport.Net.Demo" Version="2022.2.5" />

.NET API 15,777,792 bytes

 StyleCollection

Represents a collection of styles used in the Styles.
public Style this[int index] { get; set; }

Gets or sets the element at the specified index.

public string Name { get; set; }

Gets or sets the name of the style.

public StyleCollection()

Initializes a new instance of the StyleCollection class with default settings.

public int Add(Style value)

Adds an object to the end of this collection.

public void AddRange(Style[] range)

Adds the specified elements to the end of this collection.

Creates exact copy of this collection.

public bool Contains(Style value)

Determines whether an element is in the collection.

public bool Contains(string value)

Determines whether a style with specified name is in the collection.

public void Deserialize(FRReader reader)

public int IndexOf(Style value)

Returns the zero-based index of the first occurrence of an object.

public int IndexOf(string value)

Returns the zero-based index of the first occurrence of a style with specified name.

public void Insert(int index, Style value)

Inserts an object into this collection at the specified index.

public void Load(Stream stream)

Loads the collection from a stream.

public void Load(string fileName)

Loads the collection from a file.

public void Remove(Style value)

Removes the specified object from the collection.

public void Save(Stream stream)

Saves the collection to a stream.

public void Save(string fileName)

Saves the collection to a file.

public void Serialize(FRWriter writer)