#include "ltwrappr.h"
L_BOOL LVectorBase::IsFileNameEnabled(void);
Determines whether the use of the internal file name is enabled or disabled.
Value | Meaning |
---|---|
TRUE | The file name is enabled. |
FALSE | The file name is not enabled. |
Call this function to check if the use of the internal file name is enabled or disabled.
Required DLLs and Libraries
L_INT LVectorBase__IsFileNameEnabledExample(HWND hWnd)
{
L_INT nRet;
L_TCHAR szFileName[_MAX_PATH];
L_UINT uLen;
LVectorBase myVectorBase;
myVectorBase.SetFileName(MAKE_IMAGE_PATH(TEXT("random.dxf")));
if (myVectorBase.IsFileNameEnabled())
{
MessageBox(hWnd, TEXT("FileName is enabled"), TEXT(""), MB_OK);
}
else
{
MessageBox(hWnd, TEXT("FileName NOT enabled.\nEnabling..."), TEXT(""), MB_OK);
myVectorBase.EnableFileName();
}
nRet = myVectorBase.Load();
if(nRet != SUCCESS)
return nRet;
//Get the file name--it is "random.dxf"
nRet = myVectorBase.GetFileName(szFileName, &uLen);
if(nRet != SUCCESS)
return nRet;
return SUCCESS;
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.