Class ThumbnailSettings
- Namespace
- Dynamicweb.Imaging
- Assembly
- Dynamicweb.Core.dll
Represents settings used for image thumbnail generation.
- Inheritance
-
Thumbnail
Settings
- Inherited Members
Properties
CropOffset
Gets or sets crop mode
Property Value
- Crop
Mode The crop mode
Height
Gets or sets height
Property Value
- int
The height
LastApply
Gets or sets last apply time stamp
Property Value
- Date
Time The last apply time stamp
PostfixName
Gets or sets postfix name
Property Value
- string
The postfix name
Quality
Gets or sets quality
Property Value
- int
The quality
Selected
Gets or sets flag indicates whether settings are selected
Property Value
- bool
True if selected otherwise false
SubfolderName
Gets or sets sub folder name
Property Value
- string
The sub folder name
Width
Gets or sets width
Property Value
- int
The width
Methods
GetThumbnailName(string, string, bool)
Gets thumbnail file path
Parameters
imageFolder
stringImages folder path
imageName
stringImage name
encode
boolBoolean value indicates whether to encode image name