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__
def __init__(self, path: str, opened: System.DateTime, isPinned: bool) -> None
Makes a file of the list.
Properties and fields
IsPinned
@property
def IsPinned(self) -> bool
Gets whether the file is pinned.
Opened
@property
def Opened(self) -> System.DateTime
Gets when the file was last opened, in UTC.
Path
@property
def Path(self) -> str
Gets the full path of the file.
Methods
ToString
def ToString(self) -> str