@property
def pitch(self):
    rect = _NuiLockedRect()
    PlanarImage._LockRect(self, 0, ctypes.byref(rect), None, 0)
    res = rect.pitch
    PlanarImage._UnlockRect(self, 0)
    return res
@property
def pitch(self):
    rect = _NuiLockedRect()
    PlanarImage._LockRect(self, 0, ctypes.byref(rect), None, 0)
    res = rect.pitch
    PlanarImage._UnlockRect(self, 0)
    return res