Table of Contents

GlobalRecentFile

from OpenCAD2D import GlobalRecentFile

class GlobalRecentFile(System.Object) ยท GlobalRecentFile in the .NET reference

A file of the Recent Documents list, as the application menu and the start screen show it: its path, when it was last opened and whether it is pinned.

Constructors

__init__

.NET

def __init__(self, path: str, opened: System.DateTime, isPinned: bool) -> None

Makes a file of the list.

Properties and fields

IsPinned

.NET

@property
def IsPinned(self) -> bool

Gets whether the file is pinned.

Opened

.NET

@property
def Opened(self) -> System.DateTime

Gets when the file was last opened, in UTC.

Path

.NET

@property
def Path(self) -> str

Gets the full path of the file.

Methods

ToString

.NET

def ToString(self) -> str