## ImageClip.GetFileName

### Introduced

v10.0 (2012)

### Description

Returns the image filename for a given time as a String. If a specific time value is not given, returns the image filename for the current frame.

### C# Syntax

    String ImageClip.GetFileName( Object in_vFrame );

### Scripting Syntax

    oString = ImageClip.GetFileName( [Frame] );

### Return Value

String

### Parameters

Parameter | Type | Description
--- | --- | ---
Frame | Variant | Frame at which to retrieve the image. Default Value: Current Frame

### Examples

#### VBScript Example

    NewScene ,False

    set myGrid = CreatePrim("Grid", "MeshSurface")

    BlendInTextureLayersInsp , , , True, siReplaceAndNoBlendInTextureLayers

    set myMat = myGrid.Materials(0)

    set myClip = myMat.imageClips(0)

    LogMessage myClip.GetFileName()