Promotic
WikipediaLinkedInYoutubeTwitterFacebook

SetSize - method of object PmBuffer

Description:
Setting the data block size.
Syntax:
Empty SetSize(Long nNewSize, [Boolean bRealloc])
Calling:
PmBuffer.SetSize(nNewSize, bRealloc)
Parameters:
nNewSize(Long) New data block size
bRealloc[optional] (Boolean) Defines the behavior when the size of existing data block is changed.
false (default) - the content of existing data block will not be preserved. New data block will be created and zeroed.
true - the content of existing data block will be preserved. The existing data blog will be enlarged or reduced in size. Only the modified portion will be zeroed.
Note:
This method is also functional in Web panels.
See also:

History:
Pm9.00.04: Created
PROMOTIC 9.0.7 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice