Class Converter
Tên không gian: Aspose.Svg.Converters Tổng hợp: Aspose.SVG.dll (25.5.0)
Phân tích chia sẻ chỉ cho các kịch bản chuyển đổi thường xuyên nhất.Nó cung cấp một loạt các chuyển đổi sang các định dạng phổ biến, chẳng hạn như PDF, XPS, định dạng hình ảnh, vv.Các trường hợp người dùng chuyển đổi cụ thể hơn (đặt hàng, tiết kiệm) được trình bày bởi các chức năng API cấp thấp được biết đến và tài liệu.
[ComVisible(true)]
public static class Converter
Inheritance
Thành viên thừa kế
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Methods
Chuyển đổi(ImageVectorizerConfiguration, string, dòng)
Chuyển đổi một hình ảnh raster nằm trên đĩa sang định dạng SVG.
public static void ConvertImageToSVG(ImageVectorizerConfiguration configuration, string imageFile, string outputPath)
Parameters
configuration
ImageVectorizerConfiguration
Aspose.Svg.ImageVectorization.ImagevectorizerConfiguration điều khiển các thông số theo dõi.
imageFile
string
Đi đến file hình ảnh nguồn.
outputPath
string
Con đường đích cho SVG được tạo ra.
Chuyển đổi(ImageVectorizer cấu hình, Stream, string)
Chuyển đổi hình ảnh raster được cung cấp dưới dạng System.IO.Stream sang định dạng SVG.
public static void ConvertImageToSVG(ImageVectorizerConfiguration configuration, Stream imageStream, string outputPath)
Parameters
configuration
ImageVectorizerConfiguration
Aspose.Svg.ImageVectorization.ImagevectorizerConfiguration điều khiển các thông số theo dõi.
imageStream
Stream
dòng có thể đọc được chứa hình ảnh nguồn.
outputPath
string
Con đường đích cho SVG được tạo ra.
chuyển đổiSVG(SVGDocument, XpsSaveOptions, dòng)
Chuyển đổi tài liệu SVG sang xps.Result là tệp xps.
public static void ConvertSVG(SVGDocument source, XpsSaveOptions options, string outputPath)
Parameters
source
SVGDocument
Nguồn chuyển đổi
options
XpsSaveOptions
Các tùy chọn chuyển đổi.
outputPath
string
Hướng dẫn file output.
chuyển đổiSVG(URL, XpsSaveOptions, dòng)
Chuyển đổi nguồn SVG sang xps. kết quả là tệp xps.
public static void ConvertSVG(Url url, XpsSaveOptions options, string outputPath)
Parameters
url
Url
Nguồn tài liệu URL
options
XpsSaveOptions
Các tùy chọn chuyển đổi.
outputPath
string
Hướng dẫn file output.
chuyển đổiSVG(URL, cấu hình, XpsSaveOptions, string)
Chuyển đổi nguồn SVG sang xps. kết quả là tệp xps.
public static void ConvertSVG(Url url, Configuration configuration, XpsSaveOptions options, string outputPath)
Parameters
url
Url
Nguồn tài liệu URL
configuration
Configuration
cấu hình môi trường.
options
XpsSaveOptions
Các tùy chọn chuyển đổi.
outputPath
string
Hướng dẫn file output.
chuyển đổiSVG(string, XpsSaveOptions, string)
Chuyển đổi nguồn SVG sang xps. kết quả là tệp xps.
public static void ConvertSVG(string sourcePath, XpsSaveOptions options, string outputPath)
Parameters
sourcePath
string
Nó sẽ được kết hợp với con đường thư mục hiện tại để hình thành một URL tuyệt đối.
options
XpsSaveOptions
Các tùy chọn chuyển đổi.
outputPath
string
Hướng dẫn file output.
chuyển đổiSVG(string, cấu hình, XpsSaveOptions, string)
Chuyển đổi nguồn SVG sang xps. kết quả là tệp xps.
public static void ConvertSVG(string sourcePath, Configuration configuration, XpsSaveOptions options, string outputPath)
Parameters
sourcePath
string
Nó sẽ được kết hợp với con đường thư mục hiện tại để hình thành một URL tuyệt đối.
configuration
Configuration
cấu hình môi trường.
options
XpsSaveOptions
Các tùy chọn chuyển đổi.
outputPath
string
Hướng dẫn file output.
chuyển đổiSVG(string, string, XpsSaveOptions, string)
Chuyển đổi nguồn SVG sang xps. kết quả là tệp xps.
public static void ConvertSVG(string content, string baseUri, XpsSaveOptions options, string outputPath)
Parameters
content
string
Inline string SVG nội dung.
baseUri
string
URI cơ bản của tài liệu. nó sẽ được kết hợp với con đường thư mục hiện tại để hình thành một URL tuyệt đối.
options
XpsSaveOptions
Các tùy chọn chuyển đổi.
outputPath
string
Hướng dẫn file output.
chuyển đổiSVG(string, string, cấu hình, XpsSaveOptions, string)
Chuyển đổi nguồn SVG sang xps. kết quả là tệp xps.
public static void ConvertSVG(string content, string baseUri, Configuration configuration, XpsSaveOptions options, string outputPath)
Parameters
content
string
Inline string SVG nội dung.
baseUri
string
URI cơ bản của tài liệu. nó sẽ được kết hợp với con đường thư mục hiện tại để hình thành một URL tuyệt đối.
configuration
Configuration
cấu hình môi trường.
options
XpsSaveOptions
Các tùy chọn chuyển đổi.
outputPath
string
Hướng dẫn file output.
chuyển đổiSVG(SVGDocument, XpsSaveOptions, ICreateStreamProvider)
Chuyển đổi nguồn SVG sang xps. kết quả là tệp xps.
public static void ConvertSVG(SVGDocument document, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
document
SVGDocument
Nguồn chuyển đổi
options
XpsSaveOptions
Các tùy chọn chuyển đổi.
provider
ICreateStreamProvider
Việc thực hiện giao diện Aspose.Svg.IO.ICreateStreamProvider, mà sẽ được sử dụng để có được dòng output.
chuyển đổiSVG(URL, XpsSaveOptions, ICreateStreamProvider)
Chuyển đổi nguồn SVG sang xps. kết quả là tệp xps.
public static void ConvertSVG(Url url, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
url
Url
Tài liệu URL.
options
XpsSaveOptions
Các tùy chọn chuyển đổi.
provider
ICreateStreamProvider
Việc thực hiện giao diện Aspose.Svg.IO.ICreateStreamProvider, mà sẽ được sử dụng để có được dòng output.
chuyển đổiSVG(URL, cấu hình, XpsSaveOptions, ICreateStreamProvider)
Chuyển đổi nguồn SVG sang xps. kết quả là tệp xps.
public static void ConvertSVG(Url url, Configuration configuration, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
url
Url
Tài liệu URL.
configuration
Configuration
cấu hình môi trường.
options
XpsSaveOptions
Các tùy chọn chuyển đổi.
provider
ICreateStreamProvider
Việc thực hiện giao diện Aspose.Svg.IO.ICreateStreamProvider, mà sẽ được sử dụng để có được dòng output.
chuyển đổiSVG(Thẻ, XpsSaveOptions, ICreateStreamProvider)
Chuyển đổi nguồn SVG sang xps. kết quả là tệp xps.
public static void ConvertSVG(string sourcePath, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
sourcePath
string
Nó sẽ được kết hợp với con đường thư mục hiện tại để hình thành một URL tuyệt đối.
options
XpsSaveOptions
Các tùy chọn chuyển đổi.
provider
ICreateStreamProvider
Việc thực hiện giao diện Aspose.Svg.IO.ICreateStreamProvider, mà sẽ được sử dụng để có được dòng output.
chuyển đổiSVG(string, Thiết lập, XpsSaveOptions, ICreateStreamProvider)
Chuyển đổi nguồn SVG sang xps. kết quả là tệp xps.
public static void ConvertSVG(string sourcePath, Configuration configuration, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
sourcePath
string
Nó sẽ được kết hợp với con đường thư mục hiện tại để hình thành một URL tuyệt đối.
configuration
Configuration
cấu hình môi trường.
options
XpsSaveOptions
Các tùy chọn chuyển đổi.
provider
ICreateStreamProvider
Việc thực hiện giao diện Aspose.Svg.IO.ICreateStreamProvider, mà sẽ được sử dụng để có được dòng output.
chuyển đổiSVG(string, string, XpsSaveOptions, ICreateStreamProvider)
Chuyển đổi nguồn SVG sang xps. kết quả là tệp xps.
public static void ConvertSVG(string content, string baseUri, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
content
string
Inline string SVG nội dung.
baseUri
string
URI cơ bản của tài liệu. nó sẽ được kết hợp với con đường thư mục hiện tại để hình thành một URL tuyệt đối.
options
XpsSaveOptions
Các tùy chọn chuyển đổi.
provider
ICreateStreamProvider
Việc thực hiện giao diện Aspose.Svg.IO.ICreateStreamProvider, mà sẽ được sử dụng để có được dòng output.
chuyển đổiSVG(string, string, cấu hình, XpsSaveOptions, ICreateStreamProvider)
Chuyển đổi nguồn SVG sang xps. kết quả là tệp xps.
public static void ConvertSVG(string content, string baseUri, Configuration configuration, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
content
string
Inline string SVG nội dung.
baseUri
string
URI cơ bản của tài liệu. nó sẽ được kết hợp với con đường thư mục hiện tại để hình thành một URL tuyệt đối.
configuration
Configuration
cấu hình môi trường.
options
XpsSaveOptions
Các tùy chọn chuyển đổi.
provider
ICreateStreamProvider
Việc thực hiện giao diện Aspose.Svg.IO.ICreateStreamProvider, mà sẽ được sử dụng để có được dòng output.
chuyển đổiSVG(SVGDocument, PdfSaveOptions, string)
Chuyển đổi nguồn SVG sang pdf. kết quả là file pdf.
public static void ConvertSVG(SVGDocument source, PdfSaveOptions options, string outputPath)
Parameters
source
SVGDocument
Nguồn chuyển đổi
options
PdfSaveOptions
Các tùy chọn chuyển đổi.
outputPath
string
Hướng dẫn file output.
chuyển đổiSVG(URL, PdfSaveOptions, dòng)
Chuyển đổi nguồn SVG sang pdf. kết quả là file pdf.
public static void ConvertSVG(Url url, PdfSaveOptions options, string outputPath)
Parameters
url
Url
Tài liệu URL.
options
PdfSaveOptions
Các tùy chọn chuyển đổi.
outputPath
string
Hướng dẫn file output.
chuyển đổiSVG(URL, cấu hình, PdfSaveOptions, string)
Chuyển đổi nguồn SVG sang pdf. kết quả là file pdf.
public static void ConvertSVG(Url url, Configuration configuration, PdfSaveOptions options, string outputPath)
Parameters
url
Url
Tài liệu URL.
configuration
Configuration
cấu hình môi trường.
options
PdfSaveOptions
Các tùy chọn chuyển đổi.
outputPath
string
Hướng dẫn file output.
chuyển đổiSVG(string, PdfSaveOptions, string)
Chuyển đổi nguồn SVG sang pdf. kết quả là file pdf.
public static void ConvertSVG(string sourcePath, PdfSaveOptions options, string outputPath)
Parameters
sourcePath
string
Nó sẽ được kết hợp với con đường thư mục hiện tại để hình thành một URL tuyệt đối.
options
PdfSaveOptions
Các tùy chọn chuyển đổi.
outputPath
string
Hướng dẫn file output.
chuyển đổiSVG(string, cấu hình, PdfSaveOptions, string)
Chuyển đổi nguồn SVG sang pdf. kết quả là file pdf.
public static void ConvertSVG(string sourcePath, Configuration configuration, PdfSaveOptions options, string outputPath)
Parameters
sourcePath
string
Nó sẽ được kết hợp với con đường thư mục hiện tại để hình thành một URL tuyệt đối.
configuration
Configuration
cấu hình môi trường.
options
PdfSaveOptions
Các tùy chọn chuyển đổi.
outputPath
string
Hướng dẫn file output.
chuyển đổiSVG(string, string, PdfSaveOptions, string)
Chuyển đổi nguồn SVG sang pdf. kết quả là file pdf.
public static void ConvertSVG(string content, string baseUri, PdfSaveOptions options, string outputPath)
Parameters
content
string
Inline string SVG nội dung.
baseUri
string
URI cơ bản của tài liệu. nó sẽ được kết hợp với con đường thư mục hiện tại để hình thành một URL tuyệt đối.
options
PdfSaveOptions
Các tùy chọn chuyển đổi.
outputPath
string
Hướng dẫn file output.
chuyển đổiSVG(string, string, cấu hình, PdfSaveOptions, string)
Chuyển đổi nguồn SVG sang pdf. kết quả là file pdf.
public static void ConvertSVG(string content, string baseUri, Configuration configuration, PdfSaveOptions options, string outputPath)
Parameters
content
string
Inline string SVG nội dung.
baseUri
string
URI cơ bản của tài liệu. nó sẽ được kết hợp với con đường thư mục hiện tại để hình thành một URL tuyệt đối.
configuration
Configuration
cấu hình môi trường.
options
PdfSaveOptions
Các tùy chọn chuyển đổi.
outputPath
string
Hướng dẫn file output.
chuyển đổiSVG(Tài liệu SVGDocument, PdfSaveOptions, ICreateStreamProvider)
Chuyển đổi nguồn SVG sang pdf. kết quả là file pdf.
public static void ConvertSVG(SVGDocument document, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
document
SVGDocument
Nguồn chuyển đổi
options
PdfSaveOptions
Các tùy chọn chuyển đổi.
provider
ICreateStreamProvider
Việc thực hiện giao diện Aspose.Svg.IO.ICreateStreamProvider, mà sẽ được sử dụng để có được dòng output.
chuyển đổiSVG(URL, PdfSaveOptions, ICreateStreamProvider)
Chuyển đổi nguồn SVG sang pdf. kết quả là file pdf.
public static void ConvertSVG(Url url, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
url
Url
Tài liệu URL.
options
PdfSaveOptions
Các tùy chọn chuyển đổi.
provider
ICreateStreamProvider
Việc thực hiện giao diện Aspose.Svg.IO.ICreateStreamProvider, mà sẽ được sử dụng để có được dòng output.
chuyển đổiSVG(URL, cấu hình, PdfSaveOptions, ICreateStreamProvider)
Chuyển đổi nguồn SVG sang pdf. kết quả là file pdf.
public static void ConvertSVG(Url url, Configuration configuration, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
url
Url
Tài liệu URL.
configuration
Configuration
cấu hình môi trường.
options
PdfSaveOptions
Các tùy chọn chuyển đổi.
provider
ICreateStreamProvider
Việc thực hiện giao diện Aspose.Svg.IO.ICreateStreamProvider, mà sẽ được sử dụng để có được dòng output.
chuyển đổiSVG(string, PdfSaveOptions, ICreateStreamProvider)
Chuyển đổi nguồn SVG sang pdf. kết quả là file pdf.
public static void ConvertSVG(string sourcePath, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
sourcePath
string
Nó sẽ được kết hợp với con đường thư mục hiện tại để hình thành một URL tuyệt đối.
options
PdfSaveOptions
Các tùy chọn chuyển đổi.
provider
ICreateStreamProvider
Việc thực hiện giao diện Aspose.Svg.IO.ICreateStreamProvider, mà sẽ được sử dụng để có được dòng output.
chuyển đổiSVG(string, cấu hình, PdfSaveOptions, ICreateStreamProvider)
Chuyển đổi nguồn SVG sang pdf. kết quả là file pdf.
public static void ConvertSVG(string sourcePath, Configuration configuration, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
sourcePath
string
Nó sẽ được kết hợp với con đường thư mục hiện tại để hình thành một URL tuyệt đối.
configuration
Configuration
cấu hình môi trường.
options
PdfSaveOptions
Các tùy chọn chuyển đổi.
provider
ICreateStreamProvider
Việc thực hiện giao diện Aspose.Svg.IO.ICreateStreamProvider, mà sẽ được sử dụng để có được dòng output.
chuyển đổiSVG(string, string, PdfSaveOptions, ICreateStreamProvider)
Chuyển đổi nguồn SVG sang pdf. kết quả là file pdf.
public static void ConvertSVG(string content, string baseUri, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
content
string
Nguồn tài liệu nội dung
baseUri
string
URI cơ bản của tài liệu. nó sẽ được kết hợp với con đường thư mục hiện tại để hình thành một URL tuyệt đối.
options
PdfSaveOptions
Các tùy chọn chuyển đổi.
provider
ICreateStreamProvider
Việc thực hiện giao diện Aspose.Svg.IO.ICreateStreamProvider, mà sẽ được sử dụng để có được dòng output.
chuyển đổiSVG(string, string, cấu hình, PdfSaveOptions, ICreateStreamProvider)
Chuyển đổi nguồn SVG sang pdf. kết quả là file pdf.
public static void ConvertSVG(string content, string baseUri, Configuration configuration, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
content
string
Inline string SVG nội dung.
baseUri
string
URI cơ bản của tài liệu. nó sẽ được kết hợp với con đường thư mục hiện tại để hình thành một URL tuyệt đối.
configuration
Configuration
cấu hình môi trường.
options
PdfSaveOptions
Các tùy chọn chuyển đổi.
provider
ICreateStreamProvider
Việc thực hiện giao diện Aspose.Svg.IO.ICreateStreamProvider, mà sẽ được sử dụng để có được dòng output.
chuyển đổiSVG(SVGDocument, ImageSaveOptions, string)
Chuyển đổi tài liệu SVG sang hình ảnh. kết quả là tệp hình ảnh.
public static void ConvertSVG(SVGDocument source, ImageSaveOptions options, string outputPath)
Parameters
source
SVGDocument
Nguồn chuyển đổi
options
ImageSaveOptions
Các tùy chọn chuyển đổi.
outputPath
string
Hướng dẫn file output.
chuyển đổiSVG(URL, ImageSaveOptions, dòng)
Chuyển đổi tài liệu SVG sang hình ảnh. kết quả là tệp hình ảnh.
public static void ConvertSVG(Url url, ImageSaveOptions options, string outputPath)
Parameters
url
Url
Tài liệu URL.
options
ImageSaveOptions
Các tùy chọn chuyển đổi.
outputPath
string
Hướng dẫn file output.
chuyển đổiSVG(URL, cấu hình, ImageSaveOptions, string)
Chuyển đổi tài liệu SVG sang hình ảnh. kết quả là tệp hình ảnh.
public static void ConvertSVG(Url url, Configuration configuration, ImageSaveOptions options, string outputPath)
Parameters
url
Url
Tài liệu URL.
configuration
Configuration
cấu hình môi trường.
options
ImageSaveOptions
Các tùy chọn chuyển đổi.
outputPath
string
Hướng dẫn file output.
chuyển đổiSVG(string, ImageSaveOptions, string)
Chuyển đổi tài liệu SVG sang hình ảnh. kết quả là tệp hình ảnh.
public static void ConvertSVG(string sourcePath, ImageSaveOptions options, string outputPath)
Parameters
sourcePath
string
Nó sẽ được kết hợp với con đường thư mục hiện tại để hình thành một URL tuyệt đối.
options
ImageSaveOptions
Các tùy chọn chuyển đổi.
outputPath
string
Hướng dẫn file output.
chuyển đổiSVG(string, cấu hình, ImageSaveOptions, string)
Chuyển đổi tài liệu SVG sang hình ảnh. kết quả là tệp hình ảnh.
public static void ConvertSVG(string sourcePath, Configuration configuration, ImageSaveOptions options, string outputPath)
Parameters
sourcePath
string
Nó sẽ được kết hợp với con đường thư mục hiện tại để hình thành một URL tuyệt đối.
configuration
Configuration
cấu hình môi trường.
options
ImageSaveOptions
Các tùy chọn chuyển đổi.
outputPath
string
Hướng dẫn file output.
chuyển đổiSVG(string, string, ImageSaveOptions, string)
Chuyển đổi tài liệu SVG sang hình ảnh. kết quả là tệp hình ảnh.
public static void ConvertSVG(string content, string baseUri, ImageSaveOptions options, string outputPath)
Parameters
content
string
Inline string SVG nội dung.
baseUri
string
URI cơ bản của tài liệu. nó sẽ được kết hợp với con đường thư mục hiện tại để hình thành một URL tuyệt đối.
options
ImageSaveOptions
Các tùy chọn chuyển đổi.
outputPath
string
Hướng dẫn file output.
chuyển đổiSVG(string, string, cấu hình, ImageSaveOptions, string)
Chuyển đổi tài liệu SVG sang hình ảnh. kết quả là tệp hình ảnh.
public static void ConvertSVG(string content, string baseUri, Configuration configuration, ImageSaveOptions options, string outputPath)
Parameters
content
string
Inline string SVG nội dung.
baseUri
string
URI cơ bản của tài liệu. nó sẽ được kết hợp với con đường thư mục hiện tại để hình thành một URL tuyệt đối.
configuration
Configuration
cấu hình môi trường.
options
ImageSaveOptions
Các tùy chọn chuyển đổi.
outputPath
string
Hướng dẫn file output.
chuyển đổiSVG(SVGDocument, ImageSaveOptions, ICreateStreamProvider)
Chuyển đổi nguồn SVG sang hình ảnh. kết quả là file hình ảnh.
public static void ConvertSVG(SVGDocument document, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
document
SVGDocument
Nguồn chuyển đổi
options
ImageSaveOptions
Các tùy chọn chuyển đổi.
provider
ICreateStreamProvider
Việc thực hiện giao diện Aspose.Svg.IO.ICreateStreamProvider, mà sẽ được sử dụng để có được dòng output.
chuyển đổiSVG(URL, ImageSaveOptions, ICreateStreamProvider)
Chuyển đổi nguồn SVG sang hình ảnh. kết quả là file hình ảnh.
public static void ConvertSVG(Url url, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
url
Url
Tài liệu URL.
options
ImageSaveOptions
Các tùy chọn chuyển đổi.
provider
ICreateStreamProvider
Việc thực hiện giao diện Aspose.Svg.IO.ICreateStreamProvider, mà sẽ được sử dụng để có được dòng output.
chuyển đổiSVG(URL, cấu hình, ImageSaveOptions, ICreateStreamProvider)
Chuyển đổi nguồn SVG sang hình ảnh. kết quả là file hình ảnh.
public static void ConvertSVG(Url url, Configuration configuration, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
url
Url
Tài liệu URL.
configuration
Configuration
cấu hình môi trường.
options
ImageSaveOptions
Các tùy chọn chuyển đổi.
provider
ICreateStreamProvider
Việc thực hiện giao diện Aspose.Svg.IO.ICreateStreamProvider, mà sẽ được sử dụng để có được dòng output.
chuyển đổiSVG(string, ImageSaveOptions, ICreateStreamProvider)
Chuyển đổi nguồn SVG sang hình ảnh. kết quả là file hình ảnh.
public static void ConvertSVG(string sourcePath, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
sourcePath
string
Nó sẽ được kết hợp với con đường thư mục hiện tại để hình thành một URL tuyệt đối.
options
ImageSaveOptions
Các tùy chọn chuyển đổi.
provider
ICreateStreamProvider
Việc thực hiện giao diện Aspose.Svg.IO.ICreateStreamProvider, mà sẽ được sử dụng để có được dòng output.
chuyển đổiSVG(string, cấu hình, ImageSaveOptions, ICreateStreamProvider)
Chuyển đổi nguồn SVG sang hình ảnh. kết quả là file hình ảnh.
public static void ConvertSVG(string sourcePath, Configuration configuration, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
sourcePath
string
Nó sẽ được kết hợp với con đường thư mục hiện tại để hình thành một URL tuyệt đối.
configuration
Configuration
cấu hình môi trường.
options
ImageSaveOptions
Các tùy chọn chuyển đổi.
provider
ICreateStreamProvider
Việc thực hiện giao diện Aspose.Svg.IO.ICreateStreamProvider, mà sẽ được sử dụng để có được dòng output.
chuyển đổiSVG(string, string, ImageSaveOptions, ICreateStreamProvider)
Chuyển đổi nguồn SVG sang hình ảnh. kết quả là file hình ảnh.
public static void ConvertSVG(string content, string baseUri, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
content
string
Inline string SVG nội dung.
baseUri
string
URI cơ bản của tài liệu. nó sẽ được kết hợp với con đường thư mục hiện tại để hình thành một URL tuyệt đối.
options
ImageSaveOptions
Các tùy chọn chuyển đổi.
provider
ICreateStreamProvider
Việc thực hiện giao diện Aspose.Svg.IO.ICreateStreamProvider, mà sẽ được sử dụng để có được dòng output.
chuyển đổiSVG(string, string, cấu hình, ImageSaveOptions, ICreateStreamProvider)
Chuyển đổi nguồn SVG sang hình ảnh. kết quả là file hình ảnh.
public static void ConvertSVG(string content, string baseUri, Configuration configuration, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
content
string
Inline string SVG nội dung.
baseUri
string
URI cơ bản của tài liệu. nó sẽ được kết hợp với con đường thư mục hiện tại để hình thành một URL tuyệt đối.
configuration
Configuration
cấu hình môi trường.
options
ImageSaveOptions
Các tùy chọn chuyển đổi.
provider
ICreateStreamProvider
Việc thực hiện giao diện Aspose.Svg.IO.ICreateStreamProvider, mà sẽ được sử dụng để có được dòng output.