PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.8 Assembly / C1.Win.C1Preview Namespace / ExportOptions Class / IndexByExportProviderFormatKey Method
The C1.C1Preview.Export.ExportProvider.FormatKey to search for.

In This Topic
    IndexByExportProviderFormatKey Method (ExportOptions)
    In This Topic
    Searches the current ExportOptions for an index corresponding to the specified format key (see C1.C1Preview.Export.ExportProvider.FormatKey).
    Syntax
    'Declaration
     
    Public Function IndexByExportProviderFormatKey( _
       ByVal exportProviderFormatKey As String _
    ) As Integer
    public int IndexByExportProviderFormatKey( 
       string exportProviderFormatKey
    )

    Parameters

    exportProviderFormatKey
    The C1.C1Preview.Export.ExportProvider.FormatKey to search for.

    Return Value

    Index of the specified export provider in the current ExportOptions, or -1 if none was found.
    See Also