Please enable JavaScript to view this site.

uEye .NET Manual 4.97

Class

uEye.Memory

Accessible

Camera.Memory.GetPitch

Syntax

uEye.Memory.GetPitch(int s32MemId, out int s32Pitch)

Description

Returns the line increment (in bytes) of the active image memory. The line increment is defined as the number of bytes from the beginning of a line to the beginning of the next line.

The line increment is calculated as (see Allocate()):

lineinc = s32Width * [(s32BitsPerPixel + 7) / 8]

Parameter

p32Pitch: Pointer to the variable containing the line increment