Property LPGDIPlusProperties.TLPGPPen.Width
From Mitov Wiki Doc
				
				
				(Difference between revisions)
				
																
				
				
								
				 (Automated Syncronization with Documentation)  | 
		 (Automated Syncronization with Documentation)  | 
		||
| (10 intermediate revisions by one user not shown) | |||
| Line 10: | Line 10: | ||
=== Delphi: ===  | === Delphi: ===  | ||
<code>  | <code>  | ||
| − | '''property''' Width : Single '''read''' FWidth '''write''' SetWidth;  | + | '''property''' Width : Single '''read''' FWidth '''write''' SetWidth '''default''' 1;  | 
</code>  | </code>  | ||
=== C++ Builder: ===  | === C++ Builder: ===  | ||
<code>  | <code>  | ||
| − | '''__property''' float Width = { '''read'''=FWidth,  '''write'''=SetWidth };  | + | '''__property''' float Width = { '''read'''=FWidth,  '''write'''=SetWidth,  '''default'''=1 };  | 
</code>  | </code>  | ||
Latest revision as of 00:29, 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: TLPGPPen
Contents | 
Syntax
Delphi:
property Width : Single read FWidth write SetWidth default 1;
C++ Builder:
__property float Width = { read=FWidth,  write=SetWidth,  default=1 };
Summary
Specifies the width of the pen.
Description
Use this property to specify the width of the pen.
Delphi example:
APen.Width := 30;
C++ Builder example:
APen->Width = 30;
Visual C++(MFC/Win32) example:
APen.Width = 30;
Visual C++/CLI example:
APen->Width = 30;
C# Example:
APen.Width = 30;
VB example:
APen.Width = 30