Visit Gigasoft's Web Site
 ProEssentials v9 Help

PEvsetcellEx

BOOL PEvsetcellEx (hObject, nProperty, nSubset, nPoint, lpvData)

 

HWND 

hObject

The handle returned from PEcreate.

UINT 

nProperty

Identifies which property is set.

UINT 

nSubset

Zero based subset index this data is assigned to.

UINT 

nPoint

Zero based point index this data is assigned to.

VOID* 

lpvData

Pointer to data which will be copied.

 

This function sets individual elements of two dimensional property arrays by copying the data pointed to by lpvData into the object property array element located by the hObject, nProperty, nSubset and nPoint arguments.

 

Returns

NonZero if the function was successful, otherwise Zero.

 

Comments

Two dimensional property arrays include XData, YData, ZData, XDataII, YDataII, DataPointLabels, and PointColors.

 

PEvset can be used to set an entire array rather than just one element of the array.

 

PEvsetEx can be used to set partial data within an array.

 

PEvsetcell can be used to set single dimensioned array elements such as SubsetLabels

 

When working with string data, (PEP_sza properties) PEvsetcellExA and/or PEvsetcelExlW may be called to work specifically with short-char or wide-char data. Else the presence of the UNICODE pragma will control which function is automatically called.

 

See Also: PEvgetcell, PEvgetcellEx, PEvget, and PEvgetEx.