Visit Gigasoft's Web Site
 ProEssentials v9 Help

PeCustomGridNumber

Scope

Pego, Pesgo, Pepso, Pe3do

 

public event CustomGridNumberEventHandler PeCustomGridNumber;

 

public delegate void CustomGridNumberEventHandler(object sender, ProEssentials.EventArg.CustomGridNumberEventArgs e);

 

public CustomGridNumberEventArgs(int axisType, int axisIndex, double numberValue, string numberString)

 

Argument

Description

axisType

Reading this argument identifies the type of axis being constructed:

  0 = Y Axis
  1 = Right Y Axis
  2 = X Axis
  3 = Top X Axis
  4 = Extra X Axis
  5 = Extra Top X Axis

axisIndex

When using PeGrid.MultiAxesSubsets, reading this arguments identifies axis index 0 - 5.

When using PeFunction.SetExtraAxisX, argument identifies extra axis index 0 - 5.

numberValue

Read to identify numeric representation for a grid line.

numberString

Set this argument to a string as desired to present the numberValue assigned to a grid number.

 

Description

The PeCustomGridNumber event is triggered in the process of the control building an image when PeGrid.Option.CustomGridNumbersX, PeGrid.Option.CustomGridNumbersY, PeGrid.Option.CustomGridNumbersRY, PeGrid.Option.CustomGridNumbersZ, PeGrid.Option.CustomGridNumbersTX, PeGrid.Option.CustomGridNumbersEX, PeGrid.Option.CustomGridNumbersETX is set to true.

 

Read the axisType, axisIndex, and numberValue arguments to learn which axis and value is being formatted and set numberString as desired.

 

Comments

See Also:   Example 132 in demo.