The file path of the xml output.
Example





In This Topic

SaveDocumentFontsInfo(String) Method

In This Topic
This method saves the font informations within the document to a xml file stream you have specified.
Syntax
'Declaration

 

Public Overloads Function SaveDocumentFontsInfo( _

   ByVal filePath As String _

) As GdPictureStatus
public GdPictureStatus SaveDocumentFontsInfo( 

   string filePath

)
public function SaveDocumentFontsInfo( 

    filePath: String

): GdPictureStatus; 
public function SaveDocumentFontsInfo( 

   filePath : String

) : GdPictureStatus;
public: GdPictureStatus SaveDocumentFontsInfo( 

   string* filePath

) 
public:

GdPictureStatus SaveDocumentFontsInfo( 

   String^ filePath

) 

Parameters

filePath
The file path of the xml output.

Return Value

A member of the GdPictureStatus enumeration. If the method has been successfully followed, then the return value is GdPictureStatus.OK.
Example
Outputting .
Using gdpictureDocumentConverter As GdPictureDocumentConverter = New GdPictureDocumentConverter()

    ' Loading the source document.

    gdpictureDocumentConverter.LoadFromFile("input.docx", GdPicture14.DocumentFormat.DocumentFormatDOCX)

    Using outputStream  as Stream = File.Open("fontsOutput.xml", FileMode.Create)

    {

        converter.SaveDocumentFontsInfo(outputStream);

    }

End Using
using (GdPictureDocumentConverter gdpictureDocumentConverter = new GdPictureDocumentConverter())

{

    // Loading the source document.

    gdpictureDocumentConverter.LoadFromFile("input.docx", GdPicture14.DocumentFormat.DocumentFormatDOCX);

    using (Stream outputStream = File.Open("fontsOutput.xml", FileMode.Create))

    {

        converter.SaveDocumentFontsInfo(outputStream);

    }

}
See Also