# Gimp.Vectors.export_to_string

    @accepts(Gimp.Image, Gimp.Vectors)
    @returns(unicode)
    def export_to_string(image, vectors):
        # Python wrapper for gimp_vectors_export_to_string()

Save a path as an SVG string.

This procedure works like Gimp.Vectors.export_to_file but creates a string rather than a file. The string is NULL-terminated and holds a complete XML document. Pass None as the 'vectors' argument to export all paths in the image.

Since 2.6

image

  The image.

vectors

  The vectors object to export, or None for all in the image.

Returns