Accusoft NotateXpress 12
Font Property
See Also  Example  Send comments on this topic.
AccusoftNotateXpress12 ActiveX DLL > NotateXpress Object : Font Property

Glossary Item Box

Description

Gets and sets the default font for the currently selected tool for new interactively created elements.

Property Type

Read-write property

Syntax

Visual Basic
Public Property Font As Font

Return Type

A font object appropriate within a programming environment:

  • VB - StdFont
  • Delphi - TFont
  • VC++ - IFontDisp

Remarks

If the specified font is not available on the system the application is running the operating system will provide a close-match replacement.

This only effects elements created with the toolbar.

Example

Default Font (Visual Basic)Copy Code
DimToolFontAsNewStdFont

ToolFont.Name="Arial"
ToolFont.Size=24
ToolFont.Italic=True

NotateXpress1.Font=ToolFont
Default Font (Delphi)Copy Code
VarToolFont:TFont;
begin
ToolFont:=TFont.Create;
ToolFont.Name:='TimesNewRoman';
ToolFont.Size:=16;
ToolFont.Style:=[fsBold];
Notate1.Font:=ToolFont;
end;

See Also

©2013. Accusoft Corporation. All Rights Reserved.