LlCreateSketch

Syntax:

INT LlCreateSketch (HLLJOB hJob, UINT nObjType, LPCTSTR lpszObjName);

Task:

Creates a sketch that can later be displayed in the file selection dialogs. The color depth can be set using LL_OPTION_SKETCHCOLORDEPTH

Parameter:

hJob: List & Label job handle

nObjType: Project type

Value

Meaning

LL_­PROJECT_­LABEL

for labels

LL_­PROJECT_­CARD

for cards

LL_­PROJECT_­LIST

for lists

 

lpszObjName: Pointer to project's file name (with path) and file extension

Return Value:

Error code

Hints:

This API function can be used to create the sketches on-the-fly automatically, so that you do not need to include the sketch files in your setup.

See also:

LlSelectFileDlgTitleEx