I'm attempting to insert a new layer programmatically into Paint.NET when called from an effect. I've decided against using Code Lab and have created a C# project that extends
PaintDotNet.Effects.Effect
I have been able to make the other adjustments as needed to the active surface but am required to modify a new layer. Any ideas regarding how to access the document's Layer Array from the effect?