Settings

ReduceNumberOfDocuments, SetCaptureCreatesNewDoc, SetMaxMemoryImageSize, SetShowMappingDlg, SetUseAutoLUTs, SetUsedFixPathForFiles, SetUsedFixPathForMacros, SetUseLastLUTs, UseSingleUndo

ReduceNumberOfDocuments

Description 

 ReduceNumberOfDocuments(
   int  ReduceNumberOfDocuments
);

This function enables/disables limit number of opened documents. Interactive settings is via Options > General > Limit number of opened documents.

Parameters

int ReduceNumberOfDocuments

The parameter enables/disables limit number of opened documents.

0

Limit is disabled

1

Limit is enabled

SetCaptureCreatesNewDoc

Description 

 SetCaptureCreatesNewDoc(
   bool  CaptureCreatesNewDoc
);

This function sets a behavior of the Capture command. All captured images can overwrite the same document or a new document is created for every image.

Parameters

bool CaptureCreatesNewDoc

Parameter can be one of these values:

0

All images are captured into the same document.

1

New document is created for each captured image.

See Also 
Capture, CaptureEx

SetMaxMemoryImageSize

Description 

 SetMaxMemoryImageSize(
   int  MaxMemoryImageSize
);

This function enables you to set a size limit for images to be opened (in bytes). When opening an image that is larger than this limit, you are notified that you can open the image progressively - as read-only. When you choose this option, performance is quicker, but no processing can be made. Use the Copy/Copy Selection and Paste commands to achieve a reasonably large file for processing.

Parameters

int MaxMemoryImageSize

The image size limit in bytes. Images of size up to about 100MB are always opened without restrictions (regardless of this parameter setting). For monochromatic images (images which contain a single color channel) you should reserve a triple of their size as a limit.

SetShowMappingDlg

Description 

 SetShowMappingDlg(
   int  ShowMappingDlg
);

Determines whether to show the mapping dialog in the organizer after drag and drop.

Parameters

int ShowMappingDlg

Show mapping dialog in organizer after drag and drop

0, FALSE

do not show

1, TRUE

show

SetUseAutoLUTs

Description 

 SetUseAutoLUTs(
   bool  UseAutoLUTs
);

This function sets the Use AutoLUTs on image open and on thumbnails option ON/OFF (General Options).

Parameters

bool UseAutoLUTs

Auto LUTs.

0

LUTs OFF.

1

LUTs ON.

SetUseLastLUTs

Description 

 SetUseLastLUTs(
   bool  UseLastLUTs
);

This function turns the Use Last LUTs option (General Options) ON/OFF. When a new image is opened, the Use Last LUTs option turns the look up tables automatically on, and copies the LUTs settings from the current (most recent) document. Some image formats (jp2, ND2) can contain the LUTs settings. If such document is opened, the saved LUTs are loaded instead of the most recently used.

Parameters

bool UseLastLUTs

0

Do not use the last LUTs on image open.

1

Use the last LUTs on image open.

SetUsedFixPathForFiles

Description 

 SetUsedFixPathForFiles(
   char *Directory
);

Sets the default folder where to store the image files.

Directory parameter is the default folder for saving images. Use empty string for using last used folder.

Parameters

char *Directory

Directory path.

SetUsedFixPathForMacros

Description 

 SetUsedFixPathForMacros(
   char *Directory
);

Sets the default folder where to store the macro files.

Directory parameter is the default folder for saving images. Use empty string for using last used folder.

Parameters

char *Directory

Directory path.

UseSingleUndo

Description 

 UseSingleUndo(
   int  Enabled
);

This function enables/disables the Single Undo mode. When this mode is enabled, the whole Undo history is not remembered but reduced to the most recent operation on the current document. Any operations made before the last one are lost even if you disable the mode. The Single Undo mode is little memory-consuming.

Parameters

int Enabled

0

Disabled.

1

Enabled.