Document: see Plot options.
BSTR DocTitle Plot header
BSTR DocComment Plot footer
long DocWidth Plot size on X, 0.1 mm
long DocHeight Plot size on Y, 0.1 mm
boolean Visible show/hide FindGraph application main window
Background picture: See Editor options
boolean DocPictIs Display or not the background picture
boolean DocPictCentered To draw the background picture on page center or on left upper corner.
boolean DocPictStretch Resize or not the background picture on whole size of plot
BSTR DocPictFileName The background picture file (bmp, gif, jpg, wmf, emf)
Axes: See Axes options
BSTR AxeXname The axis X name
BSTR AxeXunit Physical units of measurement of parameter X
double AxeXstart The start of X
double AxeXscale The scale of X in one cm
BSTR AxeYname The axis Y name
BSTR AxeYunit Physical units of measurement of parameter Y
double AxeYstart The start of Y
double AxeYscale The scale of Y
Series of Points:
long CurrentDotsId The unical identifier of a series
long ArrayId Identifier of Variant array used to add at once some points to new series (see example)
VARIANT ArrayVar Fill this array of dimension 3N with points (X, Y, Z) as VARIANT SAFEARRAY (see example)


Application methods:

void AppInit(short nVisible)
  If will use VB you have to call AppInit(1) after CreateObject (see example)

void AppQuit()
  If will use VB you have to call AppQuit() on exit

SCODE OpenDocumentFile(BSTR lpctstr)
  Opens an existing FinfGraph document

void DocUpdate()
  Updates FindGraph window

Series of points methods

long DotsNew(short nColor, short nShape, short nWidth, double fAspect, BSTR lpctstrName)
  Creates new series of points.

long DotsFromPict(short nColor, short nWidth, BSTR lpctstrName)
  Digitizes background picture and creates new series of points.

SCODE DotsAddPoint(long dwId, double fX, double fY, double fZ)
  Adds a point to series

SCODE DotsAddPoints(long dwId, short nParam, VARIANT varray)
  Adds array of points to series

SCODE DotsColorNumGet(long dwId, short* pnColorNum)
SCODE DotsColorNumSet(long dwId, short nColorNum)
  Get/Set the number of color of series

SCODE DotsShapeGet(long dwId, short* pnShape)
SCODE DotsShapeSet(long dwId, short nShape)
  Get/Set the number of marker of series

SCODE DotsWidthGet(long dwId, short* pnWidth)
SCODE DotsWidthSet(long dwId, short nWidth)
  Get/Set the radius of circle point of series

SCODE DotsAspectGet(long dwId, double* pfAspect)
SCODE DotsAspectSet(long dwId, double fAspect)
  Get/Set the aspect ratio of series

SCODE DotsNameGet(long dwId, BSTR* lptstrName)
SCODE DotsNameSet(long dwId, BSTR lpctstrName)
  Get/Set the title of a series

SCODE DotsShowLine(long dwId, short nShow)
  Assigns to connect points with line or no.

long DotsColor(short nColorNum)
  The return value specifies a RGB color calculated on the number of color.

SCODE DotsUpdate(long dwId)
  This updates the rectangle including all points of series.

SCODE DotsRemove(long dwId)
  Removes series of points

Selection methods

Get selected dots. With SelectedGetStart we prepare buffer to keep dots. With SelectedGetStopwe free buffer. nParam unused now.

long SelectedGetStart(short nParam)
  This prepares the buffer and fills it with points selected.

long SelectedGetStop(short nParam)
  You have to call this to free memory

SCODE SelectedGetDot(double* pfX, double* pfY, double* pfZ)
  Function gets point (X,Y,Z) and removes it from buffer (see example).

SCODE SelectedGetDots(short nParam, VARIANT* pvar)
  Function gets array of all points (X,Y,Z) selected and removes array from buffer (see example).

double SelectedGetX(long num)
double SelectedGetY(long num)
double SelectedGetZ(long num)
  This returns X (or Y or Z) value of selected point from buffer. First you have to prepare the buffer with SelectedGetStart.

Areas methods

long ClipNewRect(short nColor, double fXstart, double fYstart, double fXend, double fYend)
  Creates new rectangle area,  named 'rect'

SCODE ClipRemove(long dwId)
  Removes area

long ClipNewEmptyRgn(short nColor)
  Creates new empty area,  named 'clip'. You have to add marks with SetArrayVar(var), or ClipNewRgnDot or ClipNewRgn.

SCODE ClipNewRgnDot(long dwId, double fX, double fY)
  Adds one mark to area.

long ClipNewRgn(short nColor, VARIANT var)
  Creates new area,  named 'clip' with marks from VARIANT array.

SCODE ClipNameSet(long dwId, BSTR lpctstrName)
  Sets a title of area

SCODE ClipSelect(long dwId, short nSelect)
  Selects an area. All points inside of area will be selected.

See automation samples.