www.gnostice.com 

FileName

Top  Previous  Next

The FileName property specifies the name of the output file that needs to be generated.

 

 

 

 

Syntax

 

 

[VC++]

CString GetFileName();

void SetFileName(LPCTSTR lpszNewValue);

 

[C#]

public abstract new string FileName [  get,  set ]

 

[VB]

Property FileName As String

 

 

 

 

 

 

Remarks

 

 

The FileName property is used to set the name for the output document that needs to be generated. If extension is not provided with the FileName in the FileExtension property, the default file extension is used.

 

 

Example Codes

 

 

[VC++]

m_Engine.SetFileName("Sample");

m_Engine.BeginDoc();

m_Engine.EndDoc();

 

 

 

[VB]

With gtEngineX1

.FileName = "Sample"

.BeginDoc

.EndDoc

End With

 

 

 

 

See Also

 

 

FileExtension, FileDescription