Property LPGDIPlusProperties.TLPGPBasicFont.Name

From Mitov Wiki Doc
(Difference between revisions)
Jump to: navigation, search
(Automated Syncronization with Documentation)
(Automated Syncronization with Documentation)
 
(3 intermediate revisions by one user not shown)
Line 10: Line 10:
 
=== Delphi: ===
 
=== Delphi: ===
 
<code>
 
<code>
'''property''' Name : String '''read''' FName '''write''' SetName;
+
'''property''' Name : String '''read''' FName '''write''' SetName '''default''' 'Microsoft Sans Serif';
 
</code>
 
</code>
  
 
=== C++ Builder: ===
 
=== C++ Builder: ===
 
<code>
 
<code>
'''__property''' String Name = { '''read'''=FName,  '''write'''=SetName };
+
'''__property''' String Name = { '''read'''=FName,  '''write'''=SetName,  '''default'''='Microsoft Sans Serif' };
 
</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: TLPGPBasicFont

Contents

Syntax

Delphi:

property Name : String read FName write SetName default 'Microsoft Sans Serif';

C++ Builder:

__property String Name = { read=FName, write=SetName, default='Microsoft Sans Serif' };

Summary

Specifies the font name.

Description

Use this property to specify the desired font name such as 'Arial'.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox