Skip to content

ZoomXCenter

property

Delphi
property ZoomXCenter: LongInt read GetZoomXCenter write SetZoomXCenter default DEF_ZoomXCenter;
C++Builder
__property System::LongInt ZoomXCenter = {read=GetZoomXCenter, write=SetZoomXCenter, default=0};
C#
public int ZoomXCenter { get; set; }
VB.NET
Public Property ZoomXCenter As Integer
C++/Qt
int GetZoomXCenter ();
void SetZoomXCenter (int Value);

Specifies the horizontal position (X) of the zoom center when zooming is used, expressed in pixels:

  • 0 means the center of the video frame (default value)

  • -50 means that the center of the zoom is shifted by 50 pixels to the left

  • +50 means that the center of the zoom is shifted by 50 pixels to the right