Show / Hide Table of Contents

# Class ByteRange

This class represents a Byte Range.

##### Inheritance

object
ByteRange

##### Implements

IDisposable

##### Inherited Members

object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()

###### Namespace: pdftron.Common

###### Assembly: PDFNet.dll

##### Syntax

    public sealed class ByteRange : IDisposable

### Methods

#### Dispose()

##### Declaration

    public override sealed void Dispose()

#### Dispose(bool)

##### Declaration

    [HandleProcessCorruptedStateExceptions]
    protected void Dispose(bool A_0)

##### Parameters

Type | Name | Description
--- | --- | ---
bool | A_0 |

#### ~ByteRange()

##### Declaration

    protected ~ByteRange()

#### GetEndOffset()

Retrieves the end offset of the byte range.

##### Declaration

    public long GetEndOffset()

##### Returns

Type | Description
--- | ---
long | an unsigned integer

#### GetSize()

Retrieves the size of the byte range.

##### Declaration

    public long GetSize()

##### Returns

Type | Description
--- | ---
long | an unsigned integer

#### GetStartOffset()

Retrieves the start offset of the byte range.

##### Declaration

    public long GetStartOffset()

##### Returns

Type | Description
--- | ---
long | an unsigned integer

### Implements

IDisposable