QTGraphicsExporter Class
Used to export a graphic.
More information available in parent classes: Object
Notes
The Request Settings dialog box has different options for different file types.
Example
The following example exports a graphic, "lois", that has been added to the Project Editor. You can either specify the exporter's properties (as shown) or display the Request Settings dialog box.
Dim f as FolderItem
Dim exporter as QTGraphicsExporter
Dim mybool as Boolean
f= GetFolderItem("")
exporter= GetQTGraphicsExporter("JPEG")
mybool=exporter.RequestSettings
exporter.DesiredTargetDatasize=36
exporter.CompressionQuality=512
exporter.OutputFileType="JPEG"
exporter.OutputFileCreator="ogle"
mybool=exporter.SavePicture(f,lois)
Dim exporter as QTGraphicsExporter
Dim mybool as Boolean
f= GetFolderItem("")
exporter= GetQTGraphicsExporter("JPEG")
mybool=exporter.RequestSettings
exporter.DesiredTargetDatasize=36
exporter.CompressionQuality=512
exporter.OutputFileType="JPEG"
exporter.OutputFileCreator="ogle"
mybool=exporter.SavePicture(f,lois)
See Also
GetQTGraphicsExporter function.