Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

d5d0ca70 59f6 ca20 f794 a0071462a764

haplokuon edited this page May 6, 2023 · 1 revision

FindFile Method

netDxf 3.0.0 Library

Looks for a file in one of the support folders.

Definition

Namespace: netDxf.Collections
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public string FindFile(
	string file
)

VB

Public Function FindFile ( 
	file As String
) As String

C++

public:
String^ FindFile(
	String^ file
)

F#

member FindFile : 
        file : string -> string 

Parameters

  String
File name to find in one of the support folders.

Return Value

String
The path to the file found in one of the support folders. It includes both the path and the specified file name.

Remarks

If the specified file already exists it return the same value, if neither it cannot be found in any of the support folders it will return an empty string.

See Also

Reference

SupportFolders Class
netDxf.Collections Namespace

Clone this wiki locally