Property VLCrop.TVLCrop.Region

From Mitov Wiki Doc
Jump to: navigation, search

This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.

Class: TVLCrop

Contents

Syntax

Delphi:

property Region : TVLCropRectRegion read FRegion write SetRegion;

C++ Builder:

__property TVLCropRectRegion * Region = { read=FRegion, write=SetRegion };

Summary

Crop region size and location.

Description

Use this property to specify the size and the location of the region to be preserved in the output. The rest of the image will be discarded.


Delphi example:

VLCrop1.Region.Left := 10;
VLCrop1.Region.Top := 10;
VLCrop1.Region.Width := 100;
VLCrop1.Region.Height := 100;

C++ Builder example:

VLCrop1->Region->Left = 10;
VLCrop1->Region->Top = 10;
VLCrop1->Region->Width = 100;
VLCrop1->Region->Height = 100;

Visual C++(MFC) example:

VLCrop1.Region.Left = 10;
VLCrop1.Region.Top = 10;
VLCrop1.Region.Width = 100;
VLCrop1.Region.Height = 100;

Visual C++/CLI example:

crop1->Region->Left = 10;
crop1->Region->Top = 10;
crop1->Region->Width = 100;
crop1->Region->Height = 100;

C# example:

crop1.Region.Left = 10;
crop1.Region.Top = 10;
crop1.Region.Width = 100;
crop1.Region.Height = 100;

VB example:

Crop1.Region.Left = 10
Crop1.Region.Top = 10
Crop1.Region.Width = 100
Crop1.Region.Height = 100

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox