This documentation is for the old version. Go to the latest Graphics Mill docs

CustomFormatReader.LoadFrameParameters Method

Loads frame parameters.

Namespace: Aurigma.GraphicsMill.Codecs
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Protected Friend MustOverride Sub LoadFrameParameters
C#
protected internal abstract void LoadFrameParameters()

Examples

C#
protected override void LoadFrameParameters()
{
    //Get the frame object (the frame currently being loaded)
    CustomFrame frame = (CustomFrame)base.GetLoadingFrame();
    
    //Initialize the frame with your settings
    //You do not have to override the InitializeCustomFrameTU method
    frame.InitializeCustomFrameTU(null, 0, 0, _width, _height,
        Aurigma.GraphicsMill.PixelFormat.Format1bppIndexed, 72.0f, 72.0f, null);
}

See Also

Reference