AttachmentBinaryHelper Class |
Namespace: CMS.DocumentEngine
public class AttachmentBinaryHelper : AbstractHelper<AttachmentBinaryHelper>
The AttachmentBinaryHelper type exposes the following members.
Name | Description | |
---|---|---|
AttachmentBinaryHelper |
Name | Description | |
---|---|---|
DeletePhysicalFiles |
Thumbnail quality.
| |
ThumbnailQuality |
Thumbnail quality.
|
Name | Description | |
---|---|---|
CanResizeImageInternal |
Checks whether the image should be processed (resized) by the Image manager (if the destination size is smaller).
| |
DeleteFile |
Delete all files with the same name ([name].*) in specified directory.
| |
DeleteFileInternal |
Delete all files with the same name ([name].*) in specified directory.
| |
EnsurePhysicalFile |
Ensures the file in the file system and returns the path to the file.
| |
EnsurePhysicalFileInternal |
Ensures the file in the file system and returns the path to the file.
| |
EnsureThumbnailFileInternal |
Ensures the thumbnail file.
| |
GetAttachmentBinary |
Returns the file from disk or (if not available on the disk) from database.
| |
GetAttachmentBinaryInternal(DocumentAttachment) |
Returns the file from disk or (if not available on the disk) from database.
| |
GetAttachmentBinaryInternal(Guid, String) |
Returns the file from disk or (if not available on the disk) from database.
| |
GetAttachmentBinaryInternal(Guid, Int32, String, Boolean) |
Returns attachment binary and optionally store it in file system.
| |
GetFilePhysicalPath |
Returns physical path to the file.
| |
GetFilePhysicalPathInternal |
Returns physical path to the file.
| |
GetFilesFolderPath |
Returns files folder physical path according to 'CMSFilesFolder' settings key is set or not.
| |
GetFilesFolderPathInternal |
Returns files folder physical path according to 'CMSFilesFolder' settings key is set or not.
| |
GetFilesFolderRelativePathInternal |
Returns files folder relative path according to 'CMSFilesFolder' settings key is set or not.
| |
GetImageThumbnailBinaryFileInternal |
Returns the image thumbnail from the disk.
| |
GetImageThumbnailInternal(DocumentAttachment, Int32, Int32, Int32, Boolean) |
Returns image thumbnail (from the disk - if already exists, or create new one and save it to disk - if doesn't exist).
| |
GetImageThumbnailInternal(Guid, Byte, String, String, Int32, Int32, Int32, Int32, Int32) |
Returns image thumbnail (from the disk - if already exists, or create new one and save it to disk - if doesn't exist).
| |
GetThumbnailPhysicalPathInternal |
Returns physical path to the thumbnail.
| |
ResizeImageAttachmentInternal |
Resizes image to specified dimensions.
| |
SaveFileToDiskInternal |
Saves file to the disk.
| |
SetAsDefaultHelper |
Sets this object as the default helper
(Inherited from AbstractHelperHelperType.) |