Vcl.Touch.GestureCtrls.TCustomGesturePreview.MaxPreviewSize

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property MaxPreviewSize: Integer read FMaxPreviewSize write SetMaxPreviewSize default 0;

C++

__property int MaxPreviewSize = {read=FMaxPreviewSize, write=SetMaxPreviewSize, default=0};

Properties

Type Visibility Source Unit Parent
property public
Vcl.Touch.GestureCtrls.pas
Vcl.Touch.GestureCtrls.hpp
Vcl.Touch.GestureCtrls TCustomGesturePreview

Description

Specifies the maximum height and width of the preview rectangle.

Use MaxPreviewSize to specify the maximum size of the preview rectangle. Even though the size of the gesture preview control can be big, specifying a value other than 0 for MaxPreviewSize ensures that the actual drawing will only use the rectangle limited by this value.

See Also