Adobe 26001360 Scripting Guide - Page 421
PrintFontOptions, Table 5.123, PrintFontOptions - Properties
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 421 highlights
Adobe Illustrator CS Scripting Guide 421 PrintFontOptions This object class contains information about font downloading and substitution for the fonts used for printing the document. Table 5.123 PrintFontOptions - Properties Property R/O Value type What it is Application R/O Application object Application to which the collection belongs DownloadFonts AiPrintFontDownloadMode enumeration The font download mode; default: DownloadSubset FontSubstitution AiFontSubstitution The font substitution policy; Policy enumeration default: SubstituteOblique Example 65.1 ' PrintFontOptions ' ' Create a new print font options object, change some ' attributes and print with it. ' Dim appRef As New Illustrator.Application Dim docRef As Illustrator.Document Dim textRef As Illustrator.TextFrame Set docRef = appRef.Documents.Add() Set textRef = docRef.TextFrames.Add() textRef.Top = 600 textRef.Left = 50 textRef.Contents = "PrintFontOptions object" ' Create a PrintFontOptions object and ' assign it to a PrintOptions object. Dim fontOpts As New Illustrator.PrintFontOptions Dim printOpts As New Illustrator.printOptions printOpts.FontOptions = fontOpts fontOpts.DownloadFonts = aiDownloadComplete fontOpts.FontSubstitution = aiSubstituteOblique ' print it docRef.PrintOut printOpts 12 Aug 03