www.gnostice.com 

FileExtension

Top  Previous  Next

The FileExtension property is used to set the extension to the file.

 

 

 

 

Syntax

 

 

[VC++]

CString GetFileExtension();

void SetFileExtension(LPCTSTR lpszNewValue);

 

[C#]

public abstract new string FileExtension [  get,  set ]

 

[VB]

Property FileExtension As String

 

 

 

 

 

Remarks

 

 

By default, the file extension is set to format extension. Use this property to change the extension of the file. The output file generated will have the filename with the defined extension.

 

 

 

 

Example Codes

 

 

[VC++]

m_Engine.SetFileExtension("html");

 

 

 

[VB]

gtEngineX1.FileExtension = "html"

 

 

 

 

See Also

 

 

FileName, FileDescription