[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.GcIco

Class GcIco

Namespace
GrapeCity.Documents.Imaging
Assembly
GcDocs.Imaging.dll

Represents a set of images stored in ICO format.

public class GcIco : IDisposable
Inheritance
object
GcIco
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

GcIco()

Initializes a new empty instance of GcIco class.

public GcIco()

GcIco(byte[])

Initializes a new instance of GcIco class and loads data from a byte array.

public GcIco(byte[] bytes)

Parameters

bytes byte[]

The source data in ICO format.

GcIco(Stream)

Initializes a new instance of GcIco class and loads data from the specified stream.

public GcIco(Stream stream)

Parameters

stream System.IO.Stream

The source stream with data in ICO format.

GcIco(string)

Initializes a new instance of GcIco class and loads data from the specified ICO file.

public GcIco(string path)

Parameters

path string

Path to the ICO file.

Properties

Frames

Gets the list of IcoFrames.

public List<IcoFrame> Frames { get; }

Property Value

System.Collections.Generic.List<T><IcoFrame>

IsDisposed

Gets a value indicating whether the GcIco has been disposed of.

public bool IsDisposed { get; }

Property Value

bool

Methods

ApplyLicenseKey(string)

Applies a license key to an instance of GcIco.

public void ApplyLicenseKey(string key)

Parameters

key string

The license key to set.

Dispose()

Clean up any resources being used.

public void Dispose()

Dispose(bool)

Performs cleanup operations on managed and unmanaged resources.

protected virtual void Dispose(bool disposing)

Parameters

disposing bool

~GcIco()

Performs cleanup operations on unmanaged resources.

protected ~GcIco()

Load(byte[])

Loads data in ICO format from a byte array.

public void Load(byte[] bytes)

Parameters

bytes byte[]

The source data in ICO format.

Load(Stream)

Loads data in ICO format from a stream.

public void Load(Stream stream)

Parameters

stream System.IO.Stream

The source stream with data in ICO format.

Load(string)

Loads data from the specified ICO file.

public void Load(string path)

Parameters

path string

Path to the ICO file.

Save(Stream)

Saves data in ICO format to the specified stream.

public void Save(Stream stream)

Parameters

stream System.IO.Stream

The output stream.

Save(string)

Saves data in ICO format to the specified file.

public void Save(string filePath)

Parameters

filePath string

Full path to the output file.