CC2018 | New Class | | | | | | | | |
| Asset | | | | | | | | | |
| Adobe Illustrator 22 Type Library | | | | | | |
| An (exportable) asset. | | | | | | | |
| | Properties | | | | | | | |
| | Asset.assetID (Read Only) | | | | | | |
| | Data Type: Int32 | | | | | | | |
| | Adobe Illustrator 22 Type Library | | | | | |
| | The UID for the asset which is unique within a document. | | | |
| | | | | | | | | | |
| | Asset.assetName | | | | | | | |
| | Data Type: string | | | | | | | |
| | Adobe Illustrator 22 Type Library | | | | | |
| | Name of the asset. | | | | | | | |
| | | | | | | | | | |
| | Asset.parent (Read Only) | | | | | | |
| | Data Type: Object | | | | | | | |
| | Adobe Illustrator 22 Type Library | | | | | |
| | The object's container. | | | | | | |
| | | | | | | | | | |
| | Asset.typename (Read Only) | | | | | | |
| | Data Type: string | | | | | | | |
| | Adobe Illustrator 22 Type Library | | | | | |
| | The class name of the object. | | | | | | |
| | | | | | | | | | |
| | Methods | | | | | | | | |
| | Asset.getNormalizedName (): string | | | | | |
| | Adobe Illustrator 22 Type Library | | | | | |
| | Gets the normalized name without special characters, such that it can be used as a file name. |
| | | | | | | | | | |
| | Asset.remove () | | | | | | | |
| | Adobe Illustrator 22 Type Library | | | | | |
| | Deletes this object. | | | | | | | |
| | | | | | | | | | |
| | Asset.removeAll () | | | | | | | |
| | Adobe Illustrator 22 Type Library | | | | | |
| | Deletes all elements. | | | | | | |
| | | | | | | | | | |
| New Collection | | | | | | | | |
| Assets | | | | | | | | | |
| Adobe Illustrator 22 Type Library | | | | | | |
| A collection of assets. | | | | | | | |
| | Properties | | | | | | | |
| | Assets.length (Read Only) | | | | | | |
| | Data Type: int | | | | | | | |
| | Adobe Illustrator 22 Type Library | | | | | |
| | Number of elements in the collection. | | | | | |
| | | | | | | | | | |
| | Assets.parent (Read Only) | | | | | | |
| | Data Type: Object | | | | | | | |
| | Adobe Illustrator 22 Type Library | | | | | |
| | The object's container. | | | | | | |
| | | | | | | | | | |
| | Assets.typename (Read Only) | | | | | |
| | Data Type: string | | | | | | | |
| | Adobe Illustrator 22 Type Library | | | | | |
| | The class name of the object. | | | | | | |
| | | | | | | | | | |
| | Methods | | | | | | | | |
| | Assets.add (sourceArt:any): Asset | | | | | |
| | Adobe Illustrator 22 Type Library | | | | | |
| | Creates an asset from the given art(s) | | | | | |
| | sourceArt: Data Type: any | | | | | | |
| | The page item(s) to apply to. | | | | | | |
| | | | | | | | | | |
| | Assets.addFromSelection (): Asset | | | | | |
| | Adobe Illustrator 22 Type Library | | | | | |
| | Creates an asset from the selected arts. | | | | | |
| | | | | | | | | | |
| | Assets.getByID (assetID: Int32 ): Asset | | | | | |
| | Adobe Illustrator 22 Type Library | | | | | |
| | Gets the asset with the specified AssetID. | | | | |
| | assetID: Data Type: Int32 | | | | | | |
| | The UID of the asset. | | | | | | |
| | | | | | | | | | |
| | Assets.getByName (name: string ): Asset | | | | |
| | Adobe Illustrator 22 Type Library | | | | | |
| | Get the first element in the collection with the provided name. | | |
| | name: Data Type: string | | | | | | |
| | | | | | | | | | |
| | Assets.getByName (name: string ): Asset | | | | |
| | Adobe Illustrator 22 Type Library | | | | | |
| | Get the first element in the collection with the provided name. | | |
| | name: Data Type: string | | | | | | |
| | | | | | | | | | |
| | Assets.remove (assetID: Int32 ) | | | | | |
| | Adobe Illustrator 22 Type Library | | | | | |
| | Deletes the asset with specified id. | | | | | |
| | assetID: Data Type: Int32 | | | | | | |
| | UID of the asset to be deleted. | | | | | |
| | | | | | | | | | |
| | Assets.removeAll () | | | | | | |
| | Adobe Illustrator 22 Type Library | | | | | |
| | Deletes all elements. | | | | | | |
| | | | | | | | | | |
| Application Class | | | | | | | | |
| | New Method | | | | | | | |
| | Application.getIsFileOpen (filePath: string ): Boolean | | | |
| | Adobe Illustrator 22 Type Library | | | | | |
| | Returns if the specified filePath is open. | | | | | |
| | filePath: Data Type: string | | | | | | |
| | The filePath to be checked. | | | | | | |
| | | | | | | | | | |
| Document Class | | | | | | | | |
| | New Method | | | | | | | |
| | Document.exportForScreens (exportFolder: File , exportFormat: ExportForScreensType , options:any, itemToExport: ExportForScreensItemToExport , fileNamePrefix: string ) |
| | Adobe Illustrator 22 Type Library | | | | | |
| | Export the specified document/asset(s)/artboard(s) | | | |
| | exportFolder: Data Type: File | | | | | | |
| | The folder where the exported documents/assets/artboards are saved. | | |
| | exportFormat: Data Type: ExportForScreensType | | | | |
| | The file type in which the document is exported. | | | | |
| | options (optional): Data Type: any | | | | | |
| | Options for the file type specified. | | | | | |
| | itemToExport (optional): Data Type: ExportForScreensItemToExport | | |
| | What to export. | | | | | | | |
| | fileNamePrefix (optional): Data Type: string | | | | |
| | String prepended to each file name. | | | | | |
| | | | | | | | | | |
| DocumentPreset Class | | | | | | | |
| | New Properties | | | | | | | |
| | DocumentPreset.documentBleedOffset | | | | |
| | Data Type: Rect | | | | | | | |
| | Adobe Illustrator 22 Type Library | | | | | |
| | Document bleed offset rect. | | | | | | |
| | | | | | | | | | |
| | DocumentPreset.documentBleedLink | | | | | |
| | Data Type: Boolean , Default Value: true | | | | | |
| | Adobe Illustrator 22 Type Library | | | | | |
| | Document link for bleed values. | | | | | |
| | | | | | | | | | |
| TextRange Class | | | | | | | | |
| | New Properties | | | | | | | |
| | TextRange.start | | | | | | | |
| | Data Type: Int32 | | | | | | | |
| | Adobe Illustrator 22 Type Library | | | | | |
| | Start index of the text range. | | | | | | |
| | | | | | | | | | |
| | TextRange.end | | | | | | | |
| | Data Type: Int32 | | | | | | | |
| | Adobe Illustrator 22 Type Library | | | | | |
| | End index of the text range. | | | | | | |
| | | | | | | | | | |
| | New Methods | | | | | | | |
| | TextRange.getParagraphLength (): Int32 | | | | | |
| | Adobe Illustrator 22 Type Library | | | | | |
| | Get the length of the first paragraph. | | | | | |
| | | | | | | | | | |
| | TextRange.getTextRunLength (): Int32 | | | | | |
| | Adobe Illustrator 22 Type Library | | | | | |
| | Get the length of the first text run. | | | | | |
| | | | | | | | | | |
| CharacterAttributes Class | | | | | | | |
| | New Properties | | | | | | | |
| | CharacterAttributes.kana | | | | | | |
| | Data Type: Boolean | | | | | | | |
| | Adobe Illustrator 22 Type Library | | | | | |
| | Does the Japanese OpenType support kana? | | | | |
| | | | | | | | | | |
| | CharacterAttributes.ruby | | | | | | |
| | Data Type: Boolean | | | | | | | |
| | Adobe Illustrator 22 Type Library | | | | | |
| | Does the Japanese OpenType support ruby? | | | | |
| | | | | | | | | | |
| | CharacterAttributes.kashidas | | | | | |
| | Data Type: KashidasType | | | | | | |
| | Adobe Illustrator 22 Type Library | | | | | |
| | Kashidas attribute. | | | | | | | |
| | | | | | | | | | |
| | CharacterAttributes.dirOverride | | | | | |
| | Data Type: DirOverrideType | | | | | | |
| | Adobe Illustrator 22 Type Library | | | | | |
| | Direction override attribute. | | | | | | |
| | | | | | | | | | |
| | CharacterAttributes.digitSet | | | | | | |
| | Data Type: DigitSetType | | | | | | |
| | Adobe Illustrator 22 Type Library | | | | | |
| | Digit set attribute. | | | | | | | |
| | | | | | | | | | |
| | CharacterAttributes.diacVPos | | | | | |
| | Data Type: DiacVPosType | | | | | | |
| | Adobe Illustrator 22 Type Library | | | | | |
| | Diacritics positioning attribute. | | | | | |
| | | | | | | | | | |
| | CharacterAttributes.diacXOffset | | | | | |
| | Data Type: number | | | | | | | |
| | Adobe Illustrator 22 Type Library | | | | | |
| | Diacritics x offset attribute. | | | | | | |
| | | | | | | | | | |
| | CharacterAttributes.diacYOffset | | | | | |
| | Data Type: number | | | | | | | |
| | Adobe Illustrator 22 Type Library | | | | | |
| | Diacritics y offset attribute. | | | | | | |
| | | | | | | | | | |
| | CharacterAttributes.justificationAlternates | | | | |
| | Data Type: Boolean | | | | | | | |
| | Adobe Illustrator 22 Type Library | | | | | |
| | Justification alternates attribute. | | | | | |
| | | | | | | | | | |
| | CharacterAttributes.overlapSwash | | | | | |
| | Data Type: Boolean | | | | | | | |
| | Adobe Illustrator 22 Type Library | | | | | |
| | OpenType overlap swash attribute. | | | | | |
| | | | | | | | | | |
| | CharacterAttributes.stretchedAlternates | | | | |
| | Data Type: Boolean | | | | | | | |
| | Adobe Illustrator 22 Type Library | | | | | |
| | Stretched alternates attribute. | | | | | |
| | | | | | | | | | |
| ParagraphAttributes Class | | | | | | | |
| | New Properties | | | | | | | |
| | ParagraphAttributes.composerEngine | | | | | |
| | Data Type: ComposerEngineType | | | | | |
| | Adobe Illustrator 22 Type Library | | | | | |
| | Composer engine attribute. | | | | | | |
| | | | | | | | | | |
| | ParagraphAttributes.defaultTabWidth | | | | | |
| | Data Type: number | | | | | | | |
| | Adobe Illustrator 22 Type Library | | | | | |
| | Default tab width attribute. | | | | | | |
| | | | | | | | | | |
| | ParagraphAttributes.kashidaWidth | | | | | |
| | Data Type: KashidaWidthType | | | | | | |
| | Adobe Illustrator 22 Type Library | | | | | |
| | The Kashida Width attribute. | | | | | | |
| | | | | | | | | | |
| | ParagraphAttributes.paragraphDirection | | | | |
| | Data Type: ParagraphDirectionType | | | | | |
| | Adobe Illustrator 22 Type Library | | | | | |
| | Main writing direction attribute. | | | | | |