Table of Contents

Method LoadFileAsSurface

Namespace
PaintDotNet
Assembly
PaintDotNet.Data.dll

LoadFileAsSurface(IFileTypesService, string)

Loads a Document and returns a Surface with its flattened content.

public static Surface LoadFileAsSurface(this IFileTypesService service, string filePath)

Parameters

service IFileTypesService
filePath string

Returns

Surface