TRVCamView.ViewMode

Top  Previous  Next

Specifies how video frames are positioned and scaled in the viewer.

type // defined in MRVType unit

  TRVCamViewMode = (vvmNormal, vvmCenter, vvmCut, vvmAspect, vvmStretch);

property ViewMode: TRVCamViewMode;

View Mode

Sample

vvmNormal

A video is displayed at the top left corner of the window, without stretching

view_mode_normal

vvmCenter

A video is displayed in the center of the window, without stretching

view_mode_center

vvmCut

A video is stretched proportionally so that the smallest side fits the window, the largest side is truncated

 

view_mode_cut

vvmAspect (default)

A video is stretched proportionally to fit the window, keeping the side proportions.

 

view_mode_aspect

vvmStretch

A video is stretched to fit the window.

view_mode_stretch

Default value

vvmAspect

See also

Autosize