Share

acdbLoadMlineStyleFile

C++

Acad::ErrorStatus acdbLoadMlineStyleFile(
    const ACHAR * sname, 
    const ACHAR * fname
);

File

dbmain.h

Description

This function loads the MlineStyle specified by sname from the file specified by fname. If fname is not a URL and does not contain any path information, then the AutoCAD library search path will be searched for the file.

sname cannot contain wild cards.

Returns Acad::eOk if the MlineStyle is successfully loaded.

Returns Acad::eNullObjectPointer if sname or fname is NULL.

Returns Acad::eFileAccessErr if the specified file cannot be opened.

Returns an appropriate Internet-specific Acad::ErrorStatus value if a URL is specified and the transfer is not successful.

Parameters

Parameters Description
sname Input MlineStyle name string (no wild cards)
fname Input path/filename or URL of file to load from (path is optional)

Was this information helpful?