Table of Contents

Class CDGFile

Namespace
VisioForge.Core.CDG
Assembly
VisioForge.Core.dll

CDG File. Implements the IDisposable.

public class CDGFile : IDisposable

Inheritance

Implements

Inherited Members

Constructors

CDGFile(string)

Initializes a new instance of the VisioForge.Core.CDG.CDGFile class.

public CDGFile(string cdgFileName)

Parameters

cdgFileName string

Name of the CDG file.

Fields

CDG_FULL_HEIGHT

The CDG full height.

public const int CDG_FULL_HEIGHT = 216

Field Value

int

CDG_FULL_WIDTH

The CDG full width.

public const int CDG_FULL_WIDTH = 300

Field Value

int

Methods

Dispose(bool)

Releases unmanaged and - optionally - managed resources.

protected virtual void Dispose(bool disposing)

Parameters

disposing bool

true to release both managed and unmanaged resources; false to release only unmanaged resources.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

RGBImage(bool)

Gets RGB image.

public Image RGBImage(bool makeTransparent = false)

Parameters

makeTransparent bool

if set to true [make transparent].

Returns

Image

System.Drawing.Image.

SavePNG(string)

Saves the PNG.

public void SavePNG(string filename)

Parameters

filename string

The filename.

getTotalDuration()

Gets the total duration.

public long getTotalDuration()

Returns

long

System.Int64.

renderAtPosition(long)

Renders at position.

public bool renderAtPosition(long ms)

Parameters

ms long

The ms.

Returns

bool

true if successfull, false otherwise.

See Also