This documentation is for the old version. Go to the latest Graphics Mill docs

AsfIndexer.Index Method (String, String)

Creates an index for the specified file.

Namespace: Aurigma.GraphicsMill.Codecs
Assembly: Aurigma.GraphicsMill.Codecs.MediaProcessor (in Aurigma.GraphicsMill.Codecs.MediaProcessor.dll)

Syntax

Visual Basic
Public Sub Index ( _
	srcFileName As String, _
	destFileName As String _
)
C#
public void Index(
	string srcFileName,
	string destFileName
)

Parameters

srcFileName

Type: System.String

Name of the file to index.
destFileName

Type: System.String

Name of the indexed copy of the original file.

Remarks

This method creates an indexed copy of the existing file. If the operation of index creation fails, the original file is left unchanged and the copy is deleted.

Note

If the ASF file is corrupted (e.g. partially downloaded, or somehow else), it cannot be indexed.

See Also

Reference