Class RecentFilesCommand
Represents the "Recent Files" command.
Inherited Members
Namespace: FastReport.Design
Assembly: FastReport.dll
Syntax
public class RecentFilesCommand : DesignerCommand
Remarks
This command has no default action associated with it. Check the Enabled property to see if the recent files list is enabled.
Methods
GetEnabled()
Gets a value for the Enabled property.
Declaration
protected override bool GetEnabled()
Returns
Type | Description |
---|---|
System.Boolean | true if command is enabled. |
Overrides
IsCloudFile(String)
Returns true if the file specified is a cloud file.
Declaration
public bool IsCloudFile(string fileName)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName | File name to check. |
Returns
Type | Description |
---|---|
System.Boolean | true if file is a cloud file. |
LoadFile(String)
Opens a recent file with specified name either from local PC or from cloud.
Declaration
public void LoadFile(string fileName)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName | File name to open. |