Skip to content

AdjustPixelAspectRatio

property

Delphi
property AdjustPixelAspectRatio: Boolean read GetAdjustPixelAspectRatio write SetAdjustPixelAspectRatio default DEF_AdjustPixelAspectRatio;
C++Builder
__property bool AdjustPixelAspectRatio = {read=GetAdjustPixelAspectRatio, write=SetAdjustPixelAspectRatio, default=1};
C#
public bool AdjustPixelAspectRatio { get; set; }
VB.NET
Public Property AdjustPixelAspectRatio As Boolean
C++/Qt
BOOL GetAdjustPixelAspectRatio ();
void SetAdjustPixelAspectRatio (BOOL Value);

Enables/disables the correction of non-square pixels, e.g. when the video source is a PAL source or an NTSC source.

When AdjustPixelAspectRatio is enabled (by default), the pixel aspect ratio is corrected when a PAL or NTSC format is detected, and also according to the monitor aspect ratio. This concerns the video window and the frame capture size.

When AdjustPixelAspectRatio is disabled, the video frame is processed "as is", but it can be stretched to the size of the video window if Display_AutoSize = false.

To display the video AS IS (without stretching the video frame to the video window size):