Media Encoder2027
Object

ExportModeManager

The ExportModeManager object provides the main access for full export settings information and control.

Properties

NameType AccessDescription
String readonly Returns a string representing aspect ratio currently selected for source crop.
String readonly Returns a JSON list of strings representing aspect ratio options to select for source crop.
String readonly Returns a JSON list of total 4 integer crop boundary values in the order representing left top right and bottom.
String readonly Returns a JSON list of total 2 integers representing X and Y of current crop center position.
String readonly Returns a JSON list of destination categories that should be collapsed in the view.
String readonly Returns a JSON list of destination categories to view categories in order.
String readonly Returns a JSON list of all destinations for an export.
Boolean readonly Returns if the app is running in Export Mode and the full Export Settings are visible.
Number readonly Returns the index of the currently selected destination.
String readonly Returns a JSON list of all source selected objects that request an export.
Transcoder readonly Get the current Transcoder.

Methods

→ Boolean

Add a new destination of type destID with destName as custom display name.

destID String
destName String
→ Boolean

Apply source crop with the given aspect ratio.

inCropAspectRatioOptionStr String
→ Boolean

Apply source crop with the given pixels for the given direction.

inDirection Number
inPixelsToCrop Number
→ Boolean

Adjust crop such that crop horizontal center is at the given center position.

inCenterX Number
→ Boolean

Adjust crop such that crop vertical center is at the given center position.

inCenterY Number
→ Boolean

Delete a destination.

destID String
groupIndex Number
→ Boolean

Disable crop and reset crop parameters in standard filter.

→ Boolean

Trigger an export action from the Export Mode. Will return true if the host application take care of the action. Otherwise the client is responsible for the action.

exportModeAction Number
inSdmContextGuid String
→ Boolean

Rename a destination.

destID String
groupIndex Number
destDisplayName String
→ Boolean

Restore default destinations

→ Boolean

Select a new destination.

destID String
groupIndex Number
→ Boolean

Should export a destination.

destID String
groupIndex Number
shouldExport Boolean
→ Boolean

Toggle the given category as collapsed vs expanded in the local set that tracks collapsed export destination categories.

inDestinationCategory String

Object of 1

Properties elsewhere that hold a ExportModeManager.