Partager via


Chart.Export Method

Exports the chart in a graphic format. This method returns a Boolean value indicating whether the export was successful.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Function Export ( _
    FileName As String, _
    FilterName As Object, _
    Interactive As Object _
) As Boolean
'Usage
Dim instance As Chart
Dim FileName As String
Dim FilterName As Object
Dim Interactive As Object
Dim returnValue As Boolean

returnValue = instance.Export(FileName, _
    FilterName, Interactive)
bool Export(
    string FileName,
    Object FilterName,
    Object Interactive
)

Parameters

  • FileName
    Type: System.String
    Required String The name of the exported file.
  • FilterName
    Type: System.Object
    Optional Object The language-independent name of the graphic filter as it appears in the registry.
  • Interactive
    Type: System.Object
    Optional ObjectTrue to display the dialog box that contains the filter-specific options. If this argument is False, Microsoft Word uses the default values for the filter. The default value is False.

Return Value

Type: System.Boolean
Boolean

See Also

Reference

Chart Interface

Chart Members

Microsoft.Office.Interop.Word Namespace