|
DXFReader Control - Font Property
Kadmos DXFReader ActiveX Control

DXFReader Control
Font Property
|
Description
|
Returns/sets the default font object.
|
Syntax Visual Basic
|
[form.]DXFReader.Font[ = Font]
|
|
Visual C++
|
COleFont DXFReader.GetFont(); void DXFReader.SetFont(CFont * pFont);
|
|
Delphi
|
property Font: TFont;
|
|
C#
|
Font DXFReader.Font;
|
|
Remarks
|
Use the Font property of the control to identify the default Font object whose properties you want to use. For example, the following code changes the Bold property setting of the Font object identified by the Font property of a DXFReader object:
With DXFReader
.Font.Bold = True
End With
DXFReader displays all text entities using true type fonts installed on the target system. Whenever the specified font is not avaliable then the Font property is used.
The DrawText method uses the default font object to draw text in the current drawing.
See also the Styles property.
See Visual Basic Reference, or other development tools references, for a list of all of the properties for the Font object.
|
|
Data Type
|
Font
|
|
Default Value
|
Arial, 8.25 points
|
Copyright © 2008/2009 Kadmos.com - All rights reserved. Privacy Policy
|