VisioForge (c) 2025

Search Results for

    Class CDGFile

    CDG File. Implements the IDisposable.

    Inheritance
    object
    CDGFile
    Implements
    IDisposable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: VisioForge.Core.CDG
    Assembly: VisioForge.Core.dll
    Syntax
    public class CDGFile : IDisposable

    Constructors

    CDGFile(string)

    Initializes a new instance of the CDGFile class.

    Declaration
    public CDGFile(string cdgFileName)
    Parameters
    Type Name Description
    string cdgFileName

    Name of the CDG file.

    Fields

    CDG_FULL_HEIGHT

    The CDG full height.

    Declaration
    public const int CDG_FULL_HEIGHT = 216
    Field Value
    Type Description
    int

    CDG_FULL_WIDTH

    The CDG full width.

    Declaration
    public const int CDG_FULL_WIDTH = 300
    Field Value
    Type Description
    int

    Methods

    Dispose()

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

    Declaration
    public void Dispose()

    Dispose(bool)

    Releases unmanaged and - optionally - managed resources.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing

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

    RGBImage(bool)

    Gets RGB image.

    Declaration
    public Image RGBImage(bool makeTransparent = false)
    Parameters
    Type Name Description
    bool makeTransparent

    if set to true [make transparent].

    Returns
    Type Description
    Image

    System.Drawing.Image.

    SavePNG(string)

    Saves the PNG.

    Declaration
    public void SavePNG(string filename)
    Parameters
    Type Name Description
    string filename

    The filename.

    getTotalDuration()

    Gets the total duration.

    Declaration
    public long getTotalDuration()
    Returns
    Type Description
    long

    System.Int64.

    renderAtPosition(long)

    Renders at position.

    Declaration
    public bool renderAtPosition(long ms)
    Parameters
    Type Name Description
    long ms

    The ms.

    Returns
    Type Description
    bool

    true if successfull, false otherwise.

    Implements

    IDisposable

    See Also

    IDisposable