API Documentation > CorelDRAW > 2025-v26 > ExportFilter > ICorelExportFilter
ExportFilter.ShowDialog method
Syntax:
Function ShowDialog(Optional ByVal hWnd As Long = 0) As Boolean
Parameters:
Name Type Description
hWnd
Long
Remarks:
The ShowDialog method displays the dialog box for an export filter.
Examples:
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