Stretch Property
Description
Gets or sets a value that describes how a MarkupImage should be stretched to fill the destination rectangle.
Property Type
Read-write property
Syntax (Visual Basic)
Public Property Stretch() As [MarkupStretch](XtremeMarkup~Enumerations~MarkupStretch_EN.md)
Remarks
A value of xtpMarkupFill will cause your image to stretch to completely fill the output area. When the output area and the image have different aspect ratios, the image is distorted by this stretching. To make an image preserve the aspect ratio, set this property to xtpMarkupUniform (default) or xtpMarkupUniformToFill.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.