Click or drag to resize
AttachmentHelper Class
Methods to work with the files representing attachments.
Inheritance Hierarchy
SystemObject
  CMS.HelpersAttachmentHelper

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
public static class AttachmentHelper

The AttachmentHelper type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberScriptTimeout
Gets or sets the script timeout in seconds.
Top
Methods
  NameDescription
Public methodStatic memberGetFileRelativePath
Returns file relative path due to files folder.
Public methodStatic memberGetFileSubfolder
Gets the file subfolder (first two letters from the file name).
Public methodStatic memberGetFullFileName
Returns full file name ([name.extension] if extension is specified) or ([name] only if extension is not specified), If width and height are specified, thumbnail file name is generated.
Top
See Also