Table of Contents

Method SetFilePinned

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

SetFilePinned(string, bool)

Pins a recent file, putting it after the files pinned before it, or unpins it, putting it back among the others by its date.

public bool SetFilePinned(string path, bool pinned)

Parameters

path string

The path of the file.

pinned bool

Whether to pin it.

Returns

bool

False where the file is not in the list or is already so.