TracingOptions

Tracing options that guide the tracing process.

Methods:

loadFromPreset, storeToPreset

Property Listing

Property

Type

Access

Description

colorFidelity

Number

read/write

ColorFidelity when TracingColorTypeValue is TracingFullColor.

colorGroup

String

read/write

The color group name used for tracing. Use 'All' or any color group name available in color Palette (library).

cornerFidelity

Number

read/write

Corner fidelity for tracing.

fills

Boolean

read/write

Tracing with fills. Fills, Strokes or both must be on.

grayLevels

Int32 (range 1 - 256)

read/write

The gray levels for a grayscale mode tracing..

ignoreWhite

Boolean

read/write

Controls whether to ignore white fill color. Works only if TracingMethod is TracingMethodAbutting and mode is Black and white.

maxStrokeWeight

Number

read/write

Maximum stroke weight (stroke only).

noiseFidelity

Number

read/write

Specifies minimum area of pixels to be vectorized.

palette

String

read/write

The color palette (Library) name used for tracing. Use 'Document Library' or any other imported library name.

parent

 

readonly

The object's container.

pathFidelity

Number

read/write

Path fidelity for tracing.

preset

String

readonly

The name of the preset in use. Read-only.

snapCurveToLines

Boolean

read/write

Controls whether to snap curve to lines.

strokes

Boolean

read/write

Tracing with strokes. Fills, Strokes or both must be on.

threshold

Int32 (range 1 - 256)

read/write

The threshold value for a black and white mode tracing.

tracingColorTypeValue

TracingColorType

TracingColorType.TRACINGFULLCOLOR

TracingColorType.TRACINGLIMITEDCOLOR

read/write

Color Type used for tracing, TracingLimitedColor or TracingFullColor .

tracingColors

Int32

read/write

Maximum number of colors allowed for tracing when TracingColorTypeValue is TracingLimitedColor.

tracingMethod

TracingMethodType

TracingMethodType.TRACINGMETHODABUTTING

TracingMethodType.TRACINGMETHODOVERLAPPING

read/write

Method for tracing, either abutting or adjoining paths.

tracingMode

TracingModeType

TracingModeType.TRACINGMODEBLACKANDWHITE

TracingModeType.TRACINGMODECOLOR

TracingModeType.TRACINGMODEGRAY

read/write

The tracing mode: color, gray, black and white.

typename

String

readonly

The class name of the object.

viewMode

ViewType

ViewType.TRACINGVIEWIMAGE

ViewType.TRACINGVIEWVECTOROUTLINES

ViewType.TRACINGVIEWVECTOROUTLINESWITHTRACING

ViewType.TRACINGVIEWVECTORTRACINGRESULT

ViewType.TRACINGVIEWVECTORWITHTRANSPARENTIMAGE

read/write

The visualization mode.

Method Listing

Boolean loadFromPreset (presetName:String)

Load options from preset.

Parameter

Type

Description

presetName

String

The name of the preset.

Boolean storeToPreset (presetName:String)

Store options to a preset kAiVectorizeSuite. Will overwrite an existing (unlocked) preset if names match.

Parameter

Type

Description

presetName

String

The name of the preset.

Object of

TracingObject.tracingOptions