Show / Hide Table of Contents

# Class OptionsBase

##### Inheritance

object
OptionsBase
XFDFExportOptions
AdvancedImagingConvertOptions
BarcodeOptions
CADConvertOptions
ConversionOptions
DataExtractionOptions
DiffOptions
FindReplaceOptions
MergeXFDFOptions
OCROptions
PDFAOptions
PDFUAOptions
PrintToPdfOptions
RefreshOptions
SVGConvertOptions
TaggingOptions
TextDiffOptions
TransPDFOptions
ViewerOptimizedOptions

##### 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.PDF

###### Assembly: PDFTronDotNet.dll

##### Syntax

    public class OptionsBase : IDisposable

### Constructors

#### OptionsBase()

##### Declaration

    public OptionsBase()

### Fields

#### mDict

##### Declaration

    protected Obj mDict

##### Field Value

Type | Description
--- | ---
Obj |

#### mObjSet

##### Declaration

    protected ObjSet mObjSet

##### Field Value

Type | Description
--- | ---
ObjSet |

### Methods

#### ColorPtFromNumber(double)

##### Declaration

    public static ColorPt ColorPtFromNumber(double dnum)

##### Parameters

Type | Name | Description
--- | --- | ---
double | dnum |

##### Returns

Type | Description
--- | ---
ColorPt |

#### ColorPtToNumber(ColorPt)

##### Declaration

    public static double ColorPtToNumber(ColorPt cp)

##### Parameters

Type | Name | Description
--- | --- | ---
ColorPt | cp |

##### Returns

Type | Description
--- | ---
double |

#### 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 |

#### ~OptionsBase()

##### Declaration

    protected ~OptionsBase()

#### GetArray(string)

##### Declaration

    protected Obj GetArray(string key)

##### Parameters

Type | Name | Description
--- | --- | ---
string | key |

##### Returns

Type | Description
--- | ---
Obj |

#### GetInternalObj()

##### Declaration

    public Obj GetInternalObj()

##### Returns

Type | Description
--- | ---
Obj |

#### PushBackBool(string, bool)

##### Declaration

    protected void PushBackBool(string key, bool val)

##### Parameters

Type | Name | Description
--- | --- | ---
string | key |
bool | val |

#### PushBackNumber(string, double)

##### Declaration

    protected void PushBackNumber(string key, double num)

##### Parameters

Type | Name | Description
--- | --- | ---
string | key |
double | num |

#### PushBackRect(string, Rect)

##### Declaration

    protected void PushBackRect(string key, Rect rect)

##### Parameters

Type | Name | Description
--- | --- | ---
string | key |
Rect | rect |

#### PushBackText(string, string)

##### Declaration

    protected void PushBackText(string key, string text)

##### Parameters

Type | Name | Description
--- | --- | ---
string | key |
string | text |

#### PutBool(string, bool)

##### Declaration

    protected void PutBool(string key, bool val)

##### Parameters

Type | Name | Description
--- | --- | ---
string | key |
bool | val |

#### PutNumber(string, double)

##### Declaration

    protected void PutNumber(string key, double num)

##### Parameters

Type | Name | Description
--- | --- | ---
string | key |
double | num |

#### PutRect(string, Rect)

##### Declaration

    protected void PutRect(string key, Rect rect)

##### Parameters

Type | Name | Description
--- | --- | ---
string | key |
Rect | rect |

#### PutText(string, string)

##### Declaration

    protected void PutText(string key, string text)

##### Parameters

Type | Name | Description
--- | --- | ---
string | key |
string | text |

#### RectFromArray(Obj)

##### Declaration

    protected Rect RectFromArray(Obj nums)

##### Parameters

Type | Name | Description
--- | --- | ---
Obj | nums |

##### Returns

Type | Description
--- | ---
Rect |

#### insertRectCollection(string, RectCollection, int)

##### Declaration

    protected void insertRectCollection(string key, RectCollection rects, int index)

##### Parameters

Type | Name | Description
--- | --- | ---
string | key |
RectCollection | rects |
int | index |

### Implements

IDisposable