Enable/disable the correction of non-square pixels

property AdjustPixelAspectRatio: Boolean read GetAdjustPixelAspectRatio write SetAdjustPixelAspectRatio default DEF_AdjustPixelAspectRatio;

__property bool AdjustPixelAspectRatio=read=GetAdjustPixelAspectRatio, write=SetAdjustPixelAspectRatio, default=1

Property AdjustPixelAspectRatio As Boolean


Used to enable / disable the correction of non-square pixels, e.g. when the video source is a PAL source or a 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 concenrs the video window and the frame capture size.
When AdjustPixelAspectRatio is disabled, the video frame will be 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):
- if you want the control to be resized automatically, set AdjustPixelAspectRatio = false and Display_AutoSize = true
- if you want to specify yourself the size of the control, set AdjustPixelAspectRatio = false and Display_AutoSize = false and Display_AspectRatio = ar_NoResize

See Also
TVideoRenderer Display_Active Display_AlphaBlendEnabled Display_AlphaBlendValue Display_AutoSize Display_Embedded Display_FullScreen Display_Height Display_Left Display_Monitor Display_MouseMovesWindow Display_PanScanRatio Display_SetLocation Display_StayOnTop Display_Top Display_TransparentColorEnabled Display_TransparentColorValue Display_VideoHeight Display_VideoPortEnabled Display_VideoWidth Display_VideoWindowHandle Display_Width DualDisplay_Active DualDisplay_AlphaBlendEnabled DualDisplay_AlphaBlendValue DualDisplay_AutoSize DualDisplay_Embedded DualDisplay_FullScreen DualDisplay_Height DualDisplay_Left DualDisplay_Monitor DualDisplay_MouseMovesWindow DualDisplay_PanScanRatio DualDisplay_StayOnTop DualDisplay_Top DualDisplay_TransparentColorEnabled DualDisplay_TransparentColorValue DualDisplay_VideoHeight DualDisplay_VideoPortEnabled DualDisplay_VideoWidth DualDisplay_VideoWindowHandle DualDisplay_Visible DualDisplay_Width IsVideoPortAvailable Monitor_Primary_Index MonitorBounds MonitorsCount OnLeavingFullScreen SetParentWindow SetWindowTransparency VideoDoubleBuffered VideoHeight_PreferredAspectRatio VideoRendererExternal VideoRendererExternalIndex VideoVisibleWhenStopped VideoWidth_PreferredAspectRatio