## Aurigma Image Uploader 6.5 Dual

# ImageUploader.PasteFileNameTemplate Property

- Collapse All Sections
- See Also
- Language Filter ( all languages )
- Supported in: ActiveX , Java

File name template for files pasted from clipboard.

## Syntax

### Initialize

### JavaScript

    <script type="text/javascript" src="iuembed.js">  </script>
    <script type="text/javascript">
    var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500);
    //...other params...
    iu.addParam("PasteFileNameTemplate", "Paste_[Date]_[Time]");
    //...other params...
    iu.writeHtml();
    </script>

### Get/Set Value in Runtime

### JavaScript

    getImageUploader("ImageUploaderID").setPasteFileNameTemplate(value);
    value = getImageUploader("ImageUploaderID").getPasteFileNameTemplate();

### Property Value

A string value that specifies a file name template for files pasted from clipboard. It can contain any characters allowed for file names and use the following placeholders:

[Date]
  Current date (i.e. when the file was pasted from clipboard).
[Time]
  Current time (i.e. when the file was pasted from clipboard).

Default value is "Paste_[Date]_[Time]".

## See Also

### Manual

- Watermark Sample

### Reference

- ButtonPasteImageFormat Property
- ButtonPasteText Property