Property VLImageAdjust.TVLImageAdjust.Brightness

From Mitov Wiki Doc
(Difference between revisions)
Jump to: navigation, search
(Automated Syncronization with Documentation)
 
(Automated Syncronization with Documentation)
 
(6 intermediate revisions by one user not shown)
Line 10: Line 10:
 
=== Delphi: ===
 
=== Delphi: ===
 
<code>
 
<code>
'''property''' Brightness : Single '''read''' FBrightness '''write''' SetBrightness;
+
'''property''' Brightness : Single '''read''' FBrightness '''write''' SetBrightness '''default''' 0;
 
</code>
 
</code>
  
 
=== C++ Builder: ===
 
=== C++ Builder: ===
 
<code>
 
<code>
'''__property''' float Brightness = { '''read'''=FBrightness,  '''write'''=SetBrightness };
+
'''__property''' float Brightness = { '''read'''=FBrightness,  '''write'''=SetBrightness,  '''default'''=0 };
 
</code>
 
</code>
  
Line 25: Line 25:
 
</code>
 
</code>
 
Use this property to adjust the Brightness.
 
Use this property to adjust the Brightness.
 +
 +
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.
 +
 +
  
  

Latest revision as of 00:11, 26 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 Brightness : Single read FBrightness write SetBrightness default 0;

C++ Builder:

__property float Brightness = { read=FBrightness, write=SetBrightness, default=0 };

Summary

Adjusts the Brightness.

Description

Use this property to adjust the Brightness.

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.Brightness := 1.5;

C++ Builder example:

VLRotate1->Brightness = 1.5;

Visual C++(MFC) example:

VLRotate1.Brightness = 1.5;

Visual C++/CLI example:

rotate1->Brightness = 1.5;

C# example:

rotate1.Brightness = 1.5;

VB example:

Rotate1.Brightness = 1.5

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox