Visit Gigasoft's Web Site
 ProEssentials v9 Help

HorzLineAnnotationText

Scope

Pego, Pesgo, Pe3do, Pepso

Type

Property Array of type String

Default

empty

.NET

PeAnnotation.Line.YAxisText

Ocx|Vcl

HorzLineAnnotationText

DLL

PEP_szaHORZLINEANNOTATIONTEXT

 

Purpose

This property contains the text for the horizontal line annotations. The text can have the following two-character prefix codes to control placement. The first character is the pipe symbol "|". With no prefix, the text will be placed on the left inside edge the graphs grid. Note that 3D Scientific Graph Objects will always place text along outside edge of axis.

 

Prefix

Description

|c

Centers text inside graphs grid.

|l

Left inside edge of graph. (default).

|L

Left outside edge of graph. See LeftMargin

|r

Right inside edge of graph.

|R

Right outside edge of graph. See RightMargin

|M

Left outside edge of graph. See LineAnnotBackColor and LeftMargin. Good for when text can overlap gridnumbers and you want to clarify the annotation text. For Pego and Pesgo.

|S

Right outside edge of graph. See LineAnnotBackColor and RightMargin. Good for when text can overlap gridnumbers and you want to clarify the annotation text. For Pego and Pesgo.

 

Example Strings

"|cCentered String Example"

"|RRight Outside Edge"

"|LLeft Outside Edge"

 

Comments

PeAnnotation.Line.YAxisText members of Pego.PeAnnotation.Line, Pesgo.PeAnnotation.Line, Pe3do.PeAnnotation.Line, Pepso.PeAnnotation.Line

 

Look at HorzLineAnnotationType for example code.

 

See Also: VertLineAnnotationType, GraphAnnotationType

 

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

 

See Also: HorzLineAnnotation, HorzLineAnnotationType, HorzLineAnnotationColor, and HorzLineAnnotationAxis.

 

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