Returns the frame being loaded.
Namespace:
Aurigma.GraphicsMill.Codecs
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Protected Friend Function GetLoadingFrame As CustomFrame
protected internal CustomFrame GetLoadingFrame()
This method should be called from the LoadFrameBitmap() or LoadFrameParameters() method if the frame object should be modified somehow, for example, if its parameters should be initialized.
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); }