AlbumOnNet WebControl Suite

ScalingType Enumeration

Determines the scaling type to apply for each image in a SlideShow.

[Visual Basic]
Public Enum ScalingType
[C#]
public enum ScalingType

Remarks

When ScalingType is set to MaximumSize, the Physical Image Dimensions must be known by the SlideShow. This will be OK when an AlbumUrl is set as the SlideShow then will retrieve the physical file dimensions from the dataset. The SlideShow does not retrieve the file image dimensions automatically if the Slides collection is set manually. You will then need to input the image dimensions for each Slide in the collection.

Members

Member NameDescription
None No Scaling.
ScaleToValue Scale image to the dimensions given in ScaleWidth and ScaleHeight.
ScaleToFit Keep image ratio intact and scale to the dimensions given in ScaleWidth and ScaleHeight.
MaximumSize Scale down images larger than dimensions and do not scale images that are smaller than dimensions.

Requirements

Namespace: AlbumOnNet

Assembly: AlbumOnNet (in AlbumOnNet.dll)

See Also

AlbumOnNet Namespace