Skip to content

MarkupStretch Enumeration

Description

Defines how content is resized to fill its allocated space.

Members

Member Description
xtpMarkupStretchNone The content preserves its original size.
xtpMarkupStretchFill The content is resized to fill the destination dimensions. The aspect ratio is not preserved.
xtpMarkupStretchUniform The content is resized to fit in the destination dimensions while it preserves its native aspect ratio.
xtpMarkupStretchUniformToFill The content is resized to fill the destination dimensions while it preserves its native aspect ratio. If the aspect ratio of the destination rectangle differs from the source, the source content is clipped to fit in the destination dimensions.

Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.