IPhotoAcquireSettings::SetSequenceZeroPadding method (photoacquire.h)

The SetSequenceZeroPadding method sets a value indicating whether zeros or spaces are used to pad sequential file names.

Syntax

HRESULT SetSequenceZeroPadding(
  [in] BOOL fZeroPad
);

Parameters

[in] fZeroPad

Flag that, if set to TRUE, indicates that zeros pad sequential file names.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.

Remarks

A file name padded with zeros might appear as

"IMG0001.JPG"

The same file name without zero padding might appear as

"IMG   1.JPG"

Requirements

Requirement Value
Target Platform Windows
Header photoacquire.h
Library PhotoAcquireUID.lib

See also

GetSequenceZeroPadding

IPhotoAcquireSettings Interface

SetSequencePaddingWidth