Object Model Reference : Classes : E : ExportFilter : Properties : ExportFilter.HasDialog |
Property HasDialog As Boolean
Member of ExportFilter
The HasDialog property returns True if a filter has a filter-specific dialog box.
The HasDialog property returns a read-only value.
The following VBA example creates a document and an ellipse. When exporting the document to JPEG, the dialog box for the filter is displayed (if one exists), and the export process is completed.
Sub Test() |
Dim ex As ExportFilter |
Dim d As Document |
Set d = CreateDocument |
d.ActiveLayer.CreateEllipse2 4, 4, 1 |
Set ex = d.ExportEx("c:\test.jpg", cdrJPEG) |
With ex |
If .HasDialog Then |
.ShowDialog |
End If |
.Finish |
End With |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.