Table of Contents

Method Read

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Read(string)

Reads a .pat file: UTF-8 where its bytes are, else each byte its own character.

public static IReadOnlyList<CadHatchPattern> Read(string path)

Parameters

path string

The path.

Returns

IReadOnlyList<CadHatchPattern>

The patterns.

Exceptions

ArgumentNullException

Thrown when the path is null.

IOException

Thrown when the file cannot be read.