iOSImageView.ContentMode

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Read-Only Property (As ContentModes )
ContentModesValue = aiOSImageView.ContentMode

Supported on Mobile (iOS).

Specifies the way the picture gets displayed using the iOSImageView.ContentModes enumeration.

Sample Code

Center the image within the frame:

Me.ContentMode = iOSImageView.ContentModes.Center