VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Drawing Namespace / DrawingFactory Class / CreateDrawingEngine(Int32,Int32,PixelFormat,Resolution,Boolean) Method
Syntax Requirements SeeAlso
In This Topic
    CreateDrawingEngine(Int32,Int32,PixelFormat,Resolution,Boolean) Method (DrawingFactory)
    In This Topic
    Creates the drawing engine.
    Syntax
    'Declaration
    
    Public Overridable Function CreateDrawingEngine( _
    ByVal width
    The canvas width.
    As System.Int32, _
    ByVal height
    The canvas height.
    As System.Int32, _
    ByVal pixelFormat
    The pixel format of canvas.
    As Vintasoft.Imaging.PixelFormat, _
    ByVal resolution
    The resolution of canvas.
    As Vintasoft.Imaging.Resolution, _
    ByRef disposeAfterUse
    A value indicating whether DrawingEngine must be disposed after use.
    As Boolean _
    ) As DrawingEngine
    public virtual DrawingEngine CreateDrawingEngine(
    System.Int32 width,
    System.Int32 height,
    Vintasoft.Imaging.PixelFormat pixelFormat,
    Vintasoft.Imaging.Resolution resolution,
    out bool disposeAfterUse
    )
    public: virtual DrawingEngine* CreateDrawingEngine(
    System.Int32 width,
    System.Int32 height,
    Vintasoft.Imaging.PixelFormat pixelFormat,
    Vintasoft.Imaging.Resolution resolution,
    [PARAMFLAG::Out] bool disposeAfterUse
    )
    public:
    virtual DrawingEngine^ CreateDrawingEngine(
    System.Int32 width,
    System.Int32 height,
    Vintasoft.Imaging.PixelFormat pixelFormat,
    Vintasoft.Imaging.Resolution resolution,
    [Out] bool disposeAfterUse
    )

    Parameters

    width
    The canvas width.
    height
    The canvas height.
    pixelFormat
    The pixel format of canvas.
    resolution
    The resolution of canvas.
    disposeAfterUse
    A value indicating whether DrawingEngine must be disposed after use.

    Return Value

    New drawing engine.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also