Visit Gigasoft's Web Site
 ProEssentials v9 Help

GraphAnnotTextLocation

Scope

Pego, Pesgo, Pe3do, Pepso

Type

Property Array of type Int32

Default

{315, 270, 275, 355, 0, 180, 175, 225, 185, 265, 45, 85, 5, 135, 95}

.NET

PeAnnotation.Graph.TextLocation

Ocx|Vcl

GraphAnnotTextLocation

DLL

PEP_naGRAPHANNOTTEXTLOCATION

 

Purpose

This property array is used to provide targeted directions (0-360 degrees) where GraphAnnotationText can be located when auto-positioning/dodging logic is invoked. It also controls the sequence of positions that get tested.  The dodging logic will iterate through all directions defined in this property array, if no suitable position is found, it increases the test radius by 10% and tests all directions again. It repeats this process n times where n is defined with GraphAnnotTextDodge.  This mechanism is useful when you want to prevent overlapping annotation text and at the same time want some control as to the possible placement of this text.

 

Comments

PeAnnotation.Graph.TextLocation members of Pego.PeAnnotation.Graph, Pesgo.PeAnnotation.Graph, Pe3do.PeAnnotation.Graph, Pepso.PeAnnotation.Graph

 

It setting this property array to other values, be sure to empty this array first before setting new values. Refer to

Chapter 2, 3, 4, or 5 on how to empty Property Arrays.

 

Other sets of values for this property array  you may find useful are:

Location

Array Items

Top Quadrant

{232, 187, 202, 217, 247, 262, 277, 292, 307, 322, 337, 352}

Left Quadrant

{218, 263, 248, 233, 203, 188, 173, 158, 143, 128, 113, 98}

Right Quadrant

{322, 277, 292, 307, 337, 352, 367, 382, 397, 412, 427, 435}

Bottom Quadrant

{127, 172, 157, 142, 112, 97, 82, 67, 52, 37, 22, 07}

Top-Left Quadrant

{263, 256, 249, 242, 235, 228, 221, 214, 207, 200, 193, 186}

Bottom-Left Quadrant

{138, 173, 166, 159, 152, 145, 131, 124, 117, 110, 103, 96}

Top-Right Quadrant

{277, 284, 291, 298, 305, 312, 319, 326, 333, 340, 347, 354}

Bottom-Right Quadrant

{42, 7, 14, 21, 28, 35, 49, 56, 63, 70, 77, 85}

 

Within the demo, see example 031.

 

See Also: GraphAnnotationText, GraphAnnotationType, GraphAnnotTextDodge, SubsetObstacles