Share via


FontFile.FileNameWithExtension Method

Definition

Overloads

FileNameWithExtension()

Gets the filename of this font file, including the extension.

FileNameWithExtension(String)

Gets the filename of this font file with the provided extension appended to the end.

FileNameWithExtension()

Gets the filename of this font file, including the extension.

public:
 System::String ^ FileNameWithExtension();
public string FileNameWithExtension ();
member this.FileNameWithExtension : unit -> string
Public Function FileNameWithExtension () As String

Returns

The filename of this font file, including the extension.

Remarks

This returns the combination of FileName and Extension.

Applies to

FileNameWithExtension(String)

Gets the filename of this font file with the provided extension appended to the end.

public:
 System::String ^ FileNameWithExtension(System::String ^ extension);
public string FileNameWithExtension (string? extension);
member this.FileNameWithExtension : string -> string
Public Function FileNameWithExtension (extension As String) As String

Parameters

extension
String

The extension to append to the font filename.

Returns

The filename of this font file including the given extension.

Remarks

The value for extension should include a leading dot (.) character.

Applies to