Show / Hide Table of Contents

# Class ObjSet

ObjSet is a lightweight container that can hold a collection of SDF objects.

##### Inheritance

object
ObjSet

##### Implements

IDisposable

##### Inherited Members

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

###### Namespace: pdftron.SDF

###### Assembly: PDFTronDotNet.dll

##### Syntax

    public class ObjSet : IDisposable

### Constructors

#### ObjSet()

Instantiates a new obj set.

##### Declaration

    public ObjSet()

### Methods

#### CreateArray()

Creates the array.

##### Declaration

    public Obj CreateArray()

##### Returns

Type | Description
--- | ---
Obj | the obj

##### Exceptions

Type | Condition
--- | ---
PDFNetException | PDFNetException the PDFNet exception

#### CreateBool(bool)

Creates the bool.

##### Declaration

    public Obj CreateBool(bool value)

##### Parameters

Type | Name | Description
--- | --- | ---
bool | value | the value

##### Returns

Type | Description
--- | ---
Obj | the obj

##### Exceptions

Type | Condition
--- | ---
PDFNetException | PDFNetException the PDFNet exception

#### CreateDict()

Creates the dict.

##### Declaration

    public Obj CreateDict()

##### Returns

Type | Description
--- | ---
Obj | the obj

##### Exceptions

Type | Condition
--- | ---
PDFNetException | PDFNetException the PDFNet exception

#### CreateName(string)

Creates the name.

##### Declaration

    public Obj CreateName(string name)

##### Parameters

Type | Name | Description
--- | --- | ---
string | name | the name

##### Returns

Type | Description
--- | ---
Obj | the obj

##### Exceptions

Type | Condition
--- | ---
PDFNetException | PDFNetException the PDFNet exception

#### CreateNull()

Creates the null.

##### Declaration

    public Obj CreateNull()

##### Returns

Type | Description
--- | ---
Obj | the obj

##### Exceptions

Type | Condition
--- | ---
PDFNetException | PDFNetException the PDFNet exception

#### CreateNumber(double)

Creates the number.

##### Declaration

    public Obj CreateNumber(double value)

##### Parameters

Type | Name | Description
--- | --- | ---
double | value | the value

##### Returns

Type | Description
--- | ---
Obj | the obj

##### Exceptions

Type | Condition
--- | ---
PDFNetException | PDFNetException the PDFNet exception

#### CreateString(string)

Creates the string.

##### Declaration

    public Obj CreateString(string value)

##### Parameters

Type | Name | Description
--- | --- | ---
string | value | the value

##### Returns

Type | Description
--- | ---
Obj | the obj

##### Exceptions

Type | Condition
--- | ---
PDFNetException | PDFNetException the PDFNet exception

#### Destroy()

##### Declaration

    public void Destroy()

#### Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

##### Declaration

    public void Dispose()

#### Dispose(bool)

##### Declaration

    protected virtual void Dispose(bool disposing)

##### Parameters

Type | Name | Description
--- | --- | ---
bool | disposing |

#### ~ObjSet()

Releases all resources used by the ObjSet

##### Declaration

    protected ~ObjSet()

### Implements

IDisposable