Dynamsoft Home|Product Home

CapGetDefault Method

Description

Returns the Source's Default Value for the specified capability. This is the Source's preferred default value.

Syntax

Boolean ObjectName. CapGetDefault()

Parameters

None.

Return value

Boolean.

TRUE indicates success. FALSE indicates failure.

When an error occurs and IfThrowException property is TRUE, an exception will be thrown.

When FALSE is returned or an exception is thrown, check ErrorCode property and ErrorString property for error information.

Remarks

Before invoking CapGetDefault(), Capability property should be set.

The Source's Default Value cannot be changed.

Using the Source's preferred default as the Current Value may increase performance in some Sources.

See also

Capability property, CapGet(), CapGetCurrent(), CapSet(), CapType property