[]
        
(Showing Draft Content)

C1.WPF.Document.C1LinkTargetFile

C1LinkTargetFile Class

Describes a C1LinkTarget pointing to an external document, file or URL. The hyperlink jump is performed using the ShellExecute OS shell API, so the result depends on the operating system and installed programs.

Inheritance
C1LinkTargetFile
Namespace: C1.WPF.Document
Assembly: C1.WPF.Document.4.6.2.dll
Syntax
public class C1LinkTargetFile : C1LinkTargetBase

Constructors

Name Description
C1LinkTargetFile(string)

Initializes a new instance of the C1LinkTargetFile class.

C1LinkTargetFile(string, string)

Initializes a new instance of the C1LinkTargetFile class.

C1LinkTargetFile(string, string, string, string)

Initializes a new instance of the C1LinkTargetFile class.

Properties

Name Description
Command

Gets the command (verb) specifying the action to perform when the link is clicked.

Directory

Gets the default directory.

FileName

Specifies the file or object on which to execute the specified verb.

Parameters

If the FileName parameter specifies an executable file, this is a string specifying the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If FileName specifies a document file, this should be an empty string.

Methods

Name Description
Open()

Opens specified document using parameters defined by this C1LinkTargetFile object.