TPictureBoxSizeMode Type
Specifies how an image is positioned within a CNClrLib.Control.PictureBox|TCnPictureBox .
Field | Description |
|---|---|
smNormal | The image is placed in the upper-left corner of the CNClrLib.Control.PictureBox|TCnPictureBox . The image is clipped if it is larger than the CNClrLib.Control.PictureBox|TCnPictureBox it is contained in. |
smStretchImage | The image within the CNClrLib.Control.PictureBox|TCnPictureBox is stretched or shrunk to fit the size of the CNClrLib.Control.PictureBox|TCnPictureBox . |
smAutoSize | The CNClrLib.Control.PictureBox|TCnPictureBox is sized equal to the size of the image that it contains. |
smCenterImage | The image is displayed in the center if the CNClrLib.Control.PictureBox|TCnPictureBox is larger than the image. If the image is larger than the CNClrLib.Control.PictureBox|TCnPictureBox , the picture is placed in the center of the CNClrLib.Control.PictureBox|TCnPictureBox and the outside edges are clipped. |
smZoom | The size of the image is increased or decreased maintaining the size ratio. |