Table of Contents

Method CreateRef

Namespace
PaintDotNet.Imaging
Assembly
PaintDotNet.Windows.Core.dll

CreateRef()

Creates a reference to the global IImagingFactory instance.

public static IImagingFactory CreateRef()

Returns

IImagingFactory

Remarks

You usually won't need to use this method. Instead, in your plugin, retrieve it as a service with this.Services.GetService<IImagingFactory>().
For effect plugins it is also available through this.Environment.ImagingFactory.