Visit Gigasoft's Web Site
 ProEssentials v9 Help

GraphAnnotationFontSize

Scope

Pego, Pesgo, Pepso

Type

Property Array of type Float/Single

Default

empty

.NET

PeAnnotation.Graph.FontSize

Ocx|Vcl

GraphAnnotationFontSize

DLL

PEP_faGRAPHANNOTATIONFONTSIZE

 

Purpose

This optional property controls annotation fontsize on a per annotation basis. If not defined and left empty, annotation text will be drawn in a size defined by GraphAnnotationTextSize. If defined, set to (.3 to 3.0) which represents a relative size as compared to the default size estabilished with GraphAnnotationTextSize. For example, setting to 2.0 will cause the the font size to be twice the default size.

 

Comments

Defining any of GraphAnnotationFont, GraphAnnotationBold, GraphAnnotationItalic, GraphAnnotationUnderline, or GraphAnnotationFontSize causes a performance hit in drawing annotations as potential font objects need to be allocated and selected per annotation. Not using any of these allows all annotations to use the same font object and is most efficient.

 

PeAnnotation.Graph.FontSize members of Pego.PeAnnotation.Graph, Pesgo.PeAnnotation.Graph, Pepso.PeAnnotation.Graph

 

Graph annotations are implemented with the following other properties. GraphAnnotationX, GraphAnnotationY, GraphAnnotationType, GraphAnnotationColor, GraphAnnotationAxis ,and HideIntersectingText.

 

Within the demo, see example 015.

 

Refer to Chapter 7, Question 10 for more information on annotations.

 

When used with PEvget, the destination buffer must be large enough to hold all of the float/single information. For property arrays, calling PEvget with lpDest equal to NULL will return the number of bytes needed to hold the data.

 

See Also: GraphAnnotationFont, GraphAnnotationBold, GraphAnnotationItalic, GraphAnnotationUnderline