Documentation > CMS Template API Library > Size

CrownPeak.CMSAPI.Size

Used to specify the desired size of an image created at upload time.

NameDescriptionType
Height

The desired height of the image.

Property
Name

The name you will use to refer to this image size after it has been created

Property
PreserveAspectRatio

Optional. Defaults to true. If set to false, aspect ratio is not preserved when creating a thumbnail

Property
QualityPercent

The quality to use when creating the image. Defaults to 75

Property
Width

The desired width of the image

Property

Connect with Crownpeak