Property VLImageAdjust.TVLImageAdjust.Contrast

From Mitov Wiki Doc
(Difference between revisions)
Jump to: navigation, search
(Automated Syncronization with Documentation)
(Automated Syncronization with Documentation)
Line 10: Line 10:
 
=== Delphi: ===
 
=== Delphi: ===
 
<code>
 
<code>
'''property''' Contrast : Single '''read''' FContrast '''write''' SetContrast;
+
'''property''' Contrast : Single '''read''' FContrast '''write''' SetContrast '''default''' 1;
 
</code>
 
</code>
  
 
=== C++ Builder: ===
 
=== C++ Builder: ===
 
<code>
 
<code>
'''__property''' float Contrast = { '''read'''=FContrast,  '''write'''=SetContrast };
+
'''__property''' float Contrast = { '''read'''=FContrast,  '''write'''=SetContrast,  '''default'''=1 };
 
</code>
 
</code>
  

Revision as of 20:29, 10 June 2013

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: TVLImageAdjust

Contents

Syntax

Delphi:

property Contrast : Single read FContrast write SetContrast default 1;

C++ Builder:

__property float Contrast = { read=FContrast, write=SetContrast, default=1 };

Summary

Adjusts the Contrast.

Description

Use this property to adjust the Contrast.

The value is a multiplication coefficient.


Examples:

1 - will preserve the value.

0.5 - will result in half the value.

2 - will result in twice the value.


Delphi example:

VLRotate1.Contrast := 1.5;

C++ Builder example:

VLRotate1->Contrast = 1.5;

Visual C++(MFC) example:

VLRotate1.Contrast = 1.5;

Visual C++/CLI example:

rotate1->Contrast = 1.5;

C# example:

rotate1.Contrast = 1.5;

VB example:

Rotate1.Contrast = 1.5

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox