Show / Hide Table of Contents

# Class ConversionOptions

##### Inheritance

object
OptionsBase
ConversionOptions
OfficeToPDFOptions
WordToPDFOptions

##### Inherited Members

OptionsBase.mObjSet
OptionsBase.ColorPtToNumber(ColorPt)
OptionsBase.ColorPtFromNumber(double)
OptionsBase.GetArray(string)
OptionsBase.PutNumber(string, double)
OptionsBase.PutBool(string, bool)
OptionsBase.PutText(string, string)
OptionsBase.PutRect(string, Rect)
OptionsBase.PushBackNumber(string, double)
OptionsBase.PushBackBool(string, bool)
OptionsBase.PushBackText(string, string)
OptionsBase.PushBackRect(string, Rect)
OptionsBase.RectFromArray(Obj)
OptionsBase.insertRectCollection(string, RectCollection, int)
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

###### Namespace: pdftron.PDF

###### Assembly: PDFNet.dll

##### Syntax

    public class ConversionOptions : OptionsBase

### Constructors

#### ConversionOptions()

Constructor.

##### Declaration

    public ConversionOptions()

### Methods

#### GetEnableExternalMediaDownloads()

Gets the value of EnableExternalMediaDownloads from the options object used to determine if downloading external resources is allowed during conversion.

##### Declaration

    public bool GetEnableExternalMediaDownloads()

##### Returns

Type | Description
--- | ---
bool | a boolean, the current value for EnableExternalMediaDownloads.

#### GetFileExtension()

Gets the value of FileExtension from the options object Override file extension used to determine conversion type.

##### Declaration

    public string GetFileExtension()

##### Returns

Type | Description
--- | ---
string | a String^, the current value for FileExtension.

#### SetEnableExternalMediaDownloads(bool)

Sets the value for EnableExternalMediaDownloads in the options object used to determine if downloading external resources is allowed during conversion.

##### Declaration

    public ConversionOptions SetEnableExternalMediaDownloads(bool value)

##### Parameters

Type | Name | Description
--- | --- | ---
bool | value | The new value for EnableExternalMediaDownloads.

##### Returns

Type | Description
--- | ---
ConversionOptions | this object, for call chaining

#### SetFileExtension(string)

Sets the value for FileExtension in the options object Override file extension used to determine conversion type.

##### Declaration

    public ConversionOptions SetFileExtension(string value)

##### Parameters

Type | Name | Description
--- | --- | ---
string | value | The new value for FileExtension.

##### Returns

Type | Description
--- | ---
ConversionOptions | this object, for call chaining