Routines (alphabetical) > Routines: H > HDF5 Routines > H5S_OFFSET_SIMPLE

# H5S_OFFSET_SIMPLE

The H5S_OFFSET_SIMPLE procedure sets the selection offset for a simple dataspace. The offset allows the same shaped selection to be moved to different locations within the dataspace.

## Syntax

H5S_OFFSET_SIMPLE, Dataspace_id, Offset

## Arguments

### Dataspace_id

An integer representing the dataspace’s identifier on which to set the selection offset.

### Offset

An m-element vector of integers, where m is the number of dataspace dimensions, containing the offsets.

## Keywords

None

## Version History

5.6 | Introduced

## See Also

H5S_GET_SELECT_BOUNDS, H5S_SELECT_ELEMENTS, H5S_SELECT_HYPERSLAB