DicomObjects Reference
DicomObjects Reference / DicomImage Object / AllocatePixelSpace Method
Length of data to allocate (in bytes)
AllocatePixelSpace Method
Description
Allocate space for pixel data
Syntax
Visual Basic
Public Sub AllocatePixelSpace( _
   ByVal Length As Long _
) 
Parameters
Length
Length of data to allocate (in bytes)
Remarks
It is the user’s responsibility to ensure that the data length is correct, normally being the product of the rows, columns, frames, samples per pixel, and bytes per sample(1 or 2).
See Also