TdxImageSliderPreviewOptions.ThumbnailSize Property
Specifies the thumbnail size, in pixels.
Declaration
property ThumbnailSize: TcxSize read; write;
Property Value
Type |
---|
TcxSize |
Remarks
Use the ThumbnailSize.Width and ThumbnailSize.Height sub-properties to specify the dimensions of thumbnails that are created automatically based on collection images specified using the image slider’s Images or MultiFrameImage property. Collection images are scaled to a specified size without maintaining the aspect ratio. None of the dimensions, in pixels, can be less than the dxImageSliderThumbnailMinSize. To provide custom thumbnails, handle the image slider’s OnGetThumbnail event.
The default value of the ThumbnailSize property is a TcxSize value specifying a rectangle that is dxImageSliderThumbnailDefaultWidth pixels wide by dxImageSliderThumbnailDefaultHeight pixels high.
See Also