# getStride method

int getStride()

Gets the stride in bytes.

return Stride in bytes. throws DocumentException An error has occurred during Document Library execution.

## Implementation

    int getStride() {
      Pointer<Int> pStride = calloc();
      try {
        var err = documentSDK.id3DocumentImage_GetStride(_pHandle.value, pStride);
        if (err != DocumentError.success.value) {
          throw DocumentException(err);
        }
        final vStride = pStride.value;
        return vStride;
      } finally {
        calloc.free(pStride);
      }
    }