Aurigma Image Uploader 4.6 Dual
ImageUploader.PasteFileNameTemplate Property
See Also Supported in: ActiveX Java

File name template for files pasted from clipboard.

# Syntax

##### Initialize

JavaScript | Copy Code
--- | ---
    <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 | Copy Code
--- | ---
    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

##### Examples

Watermark Sample

##### Reference

ButtonPasteImageFormat Property
ButtonPasteText Property