Table of Contents

Method LoadAsSurface

Namespace
PaintDotNet
Assembly
PaintDotNet.Data.dll

LoadAsSurface(FileType, Stream)

Loads a Document using the given FileType and returns a Surface with its flattened content.

public static Surface LoadAsSurface(this FileType fileType, Stream input)

Parameters

fileType FileType
input Stream

Returns

Surface