Class Converter
ชื่อพื้นที่: Aspose.Svg.Converters การประชุม: Aspose.SVG.dll (25.5.0)
การแบ่งปันเฟซด์เฉพาะสําหรับสถานการณ์การแปลงที่พบมากที่สุดมันให้หลากหลายของการแปลงไปยังรูปแบบที่นิยมเช่น PDF, XPS, รูปภาพ ฯลฯกรณีผู้ใช้การแปลงที่เฉพาะเจาะจงมากขึ้น (การส่งมอบการบันทึก) ได้รับการนําเสนอโดยฟังก์ชั่น API ระดับต่ําที่รู้จักกันดีและเป็นเอกสาร
[ComVisible(true)]
public static class Converter
Inheritance
อนุญาโตตุลาการ
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Methods
แปลง(ImageVectorizer การกําหนดค่า string, string)
แปลงภาพที่ตั้งอยู่บนดิสก์เป็นรูปแบบ SVG
public static void ConvertImageToSVG(ImageVectorizerConfiguration configuration, string imageFile, string outputPath)
Parameters
configuration
ImageVectorizerConfiguration
การกําหนดค่า Aspose.Svg.ImageVectorization.Imagevectorizer ที่ควบคุมพารามิเตอร์ติดตาม
imageFile
string
เส้นทางไปยังไฟล์ภาพแหล่งกําเนิด
outputPath
string
เส้นทางปลายทางสําหรับ SVG ที่สร้างขึ้น
แปลง(ImageVectorizerConfiguration, กระแส, string)
แปลงภาพสกรูที่ให้เป็นรูปแบบ System.IO.Stream ไปยังรูปแบบ SVG
public static void ConvertImageToSVG(ImageVectorizerConfiguration configuration, Stream imageStream, string outputPath)
Parameters
configuration
ImageVectorizerConfiguration
การกําหนดค่า Aspose.Svg.ImageVectorization.Imagevectorizer ที่ควบคุมพารามิเตอร์ติดตาม
imageStream
Stream
กระแสที่สามารถอ่านได้ซึ่งมีภาพแหล่งข้อมูล
outputPath
string
เส้นทางปลายทางสําหรับ SVG ที่สร้างขึ้น
การแปลงSVG(SVGDocument, XpsSaveOptions, string)
แปลงเอกสาร svg ไปยัง xps.Result เป็นไฟล์ xps
public static void ConvertSVG(SVGDocument source, XpsSaveOptions options, string outputPath)
Parameters
source
SVGDocument
แปลงแหล่ง
options
XpsSaveOptions
ตัวเลือกการแปลง
outputPath
string
เส้นทางออกของไฟล์
การแปลงSVG(Url, XpsSaveOptions, string)
แปลงแหล่ง svg ไปยัง xps ผลเป็นไฟล์ xps
public static void ConvertSVG(Url url, XpsSaveOptions options, string outputPath)
Parameters
url
Url
หลักสูตร URL
options
XpsSaveOptions
ตัวเลือกการแปลง
outputPath
string
เส้นทางออกของไฟล์
การแปลงSVG(Url, การตั้งค่า, XpsSaveOptions, string)
แปลงแหล่ง svg ไปยัง xps ผลเป็นไฟล์ xps
public static void ConvertSVG(Url url, Configuration configuration, XpsSaveOptions options, string outputPath)
Parameters
url
Url
หลักสูตร URL
configuration
Configuration
การกําหนดค่าสิ่งแวดล้อม
options
XpsSaveOptions
ตัวเลือกการแปลง
outputPath
string
เส้นทางออกของไฟล์
การแปลงSVG(ลวด, XpsSaveOptions, ลวด)
แปลงแหล่ง svg ไปยัง xps ผลเป็นไฟล์ xps
public static void ConvertSVG(string sourcePath, XpsSaveOptions options, string outputPath)
Parameters
sourcePath
string
Svg ไฟล์แหล่งกําเนิดเส้นทาง มันจะรวมกับเส้นทางไดเรกทอรีปัจจุบันเพื่อสร้าง URL ที่สมบูรณ์
options
XpsSaveOptions
ตัวเลือกการแปลง
outputPath
string
เส้นทางออกของไฟล์
การแปลงSVG(string, การตั้งค่า, XpsSaveOptions, string)
แปลงแหล่ง svg ไปยัง xps ผลเป็นไฟล์ xps
public static void ConvertSVG(string sourcePath, Configuration configuration, XpsSaveOptions options, string outputPath)
Parameters
sourcePath
string
Svg ไฟล์แหล่งกําเนิดเส้นทาง มันจะรวมกับเส้นทางไดเรกทอรีปัจจุบันเพื่อสร้าง URL ที่สมบูรณ์
configuration
Configuration
การกําหนดค่าสิ่งแวดล้อม
options
XpsSaveOptions
ตัวเลือกการแปลง
outputPath
string
เส้นทางออกของไฟล์
การแปลงSVG(string, string, XpsSaveOptions, string)
แปลงแหล่ง svg ไปยัง xps ผลเป็นไฟล์ xps
public static void ConvertSVG(string content, string baseUri, XpsSaveOptions options, string outputPath)
Parameters
content
string
Inline String SVG เนื้อหา
baseUri
string
ฐาน URI ของเอกสาร มันจะถูกรวมกับเส้นทางไดเรกทอรีปัจจุบันเพื่อสร้าง URL ที่สมบูรณ์
options
XpsSaveOptions
ตัวเลือกการแปลง
outputPath
string
เส้นทางออกของไฟล์
การแปลงSVG(string, string, การกําหนดค่า, XpsSaveOptions, string)
แปลงแหล่ง svg ไปยัง xps ผลเป็นไฟล์ xps
public static void ConvertSVG(string content, string baseUri, Configuration configuration, XpsSaveOptions options, string outputPath)
Parameters
content
string
Inline String SVG เนื้อหา
baseUri
string
ฐาน URI ของเอกสาร มันจะถูกรวมกับเส้นทางไดเรกทอรีปัจจุบันเพื่อสร้าง URL ที่สมบูรณ์
configuration
Configuration
การกําหนดค่าสิ่งแวดล้อม
options
XpsSaveOptions
ตัวเลือกการแปลง
outputPath
string
เส้นทางออกของไฟล์
การแปลงSVG(SVGDocument, XpsSaveOptions, ICreateStreamProvider)
แปลงแหล่ง svg ไปยัง xps ผลเป็นไฟล์ xps
public static void ConvertSVG(SVGDocument document, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
document
SVGDocument
แปลงแหล่ง
options
XpsSaveOptions
ตัวเลือกการแปลง
provider
ICreateStreamProvider
การประยุกต์ใช้อินเตอร์เฟซ Aspose.Svg.IO.ICreateStreamProvider ซึ่งจะใช้เพื่อรับการไหลออก
การแปลงSVG(URL, XpsSaveOptions, ICreateStreamProvider)
แปลงแหล่ง svg ไปยัง xps ผลเป็นไฟล์ xps
public static void ConvertSVG(Url url, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
url
Url
URL ของเอกสาร
options
XpsSaveOptions
ตัวเลือกการแปลง
provider
ICreateStreamProvider
การประยุกต์ใช้อินเตอร์เฟซ Aspose.Svg.IO.ICreateStreamProvider ซึ่งจะใช้เพื่อรับการไหลออก
การแปลงSVG(Url, การตั้งค่า, XpsSaveOptions, ICreateStreamProvider)
แปลงแหล่ง svg ไปยัง xps ผลเป็นไฟล์ xps
public static void ConvertSVG(Url url, Configuration configuration, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
url
Url
URL ของเอกสาร
configuration
Configuration
การกําหนดค่าสิ่งแวดล้อม
options
XpsSaveOptions
ตัวเลือกการแปลง
provider
ICreateStreamProvider
การประยุกต์ใช้อินเตอร์เฟซ Aspose.Svg.IO.ICreateStreamProvider ซึ่งจะใช้เพื่อรับการไหลออก
การแปลงSVG(ลวด, XpsSaveOptions, ICreateStreamProvider)
แปลงแหล่ง svg ไปยัง xps ผลเป็นไฟล์ xps
public static void ConvertSVG(string sourcePath, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
sourcePath
string
Svg ไฟล์แหล่งกําเนิดเส้นทาง มันจะรวมกับเส้นทางไดเรกทอรีปัจจุบันเพื่อสร้าง URL ที่สมบูรณ์
options
XpsSaveOptions
ตัวเลือกการแปลง
provider
ICreateStreamProvider
การประยุกต์ใช้อินเตอร์เฟซ Aspose.Svg.IO.ICreateStreamProvider ซึ่งจะใช้เพื่อรับการไหลออก
การแปลงSVG(string, การตั้งค่า, XpsSaveOptions, ICreateStreamProvider)
แปลงแหล่ง svg ไปยัง xps ผลเป็นไฟล์ xps
public static void ConvertSVG(string sourcePath, Configuration configuration, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
sourcePath
string
Svg ไฟล์แหล่งกําเนิดเส้นทาง มันจะรวมกับเส้นทางไดเรกทอรีปัจจุบันเพื่อสร้าง URL ที่สมบูรณ์
configuration
Configuration
การกําหนดค่าสิ่งแวดล้อม
options
XpsSaveOptions
ตัวเลือกการแปลง
provider
ICreateStreamProvider
การประยุกต์ใช้อินเตอร์เฟซ Aspose.Svg.IO.ICreateStreamProvider ซึ่งจะใช้เพื่อรับการไหลออก
การแปลงSVG(string, string, XpsSaveOptions, ICreateStreamProvider)
แปลงแหล่ง svg ไปยัง xps ผลเป็นไฟล์ xps
public static void ConvertSVG(string content, string baseUri, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
content
string
Inline String SVG เนื้อหา
baseUri
string
ฐาน URI ของเอกสาร มันจะถูกรวมกับเส้นทางไดเรกทอรีปัจจุบันเพื่อสร้าง URL ที่สมบูรณ์
options
XpsSaveOptions
ตัวเลือกการแปลง
provider
ICreateStreamProvider
การประยุกต์ใช้อินเตอร์เฟซ Aspose.Svg.IO.ICreateStreamProvider ซึ่งจะใช้เพื่อรับการไหลออก
การแปลงSVG(string, string, การตั้งค่า, XpsSaveOptions, ICreateStreamProvider)
แปลงแหล่ง svg ไปยัง xps ผลเป็นไฟล์ xps
public static void ConvertSVG(string content, string baseUri, Configuration configuration, XpsSaveOptions options, ICreateStreamProvider provider)
Parameters
content
string
Inline String SVG เนื้อหา
baseUri
string
ฐาน URI ของเอกสาร มันจะถูกรวมกับเส้นทางไดเรกทอรีปัจจุบันเพื่อสร้าง URL ที่สมบูรณ์
configuration
Configuration
การกําหนดค่าสิ่งแวดล้อม
options
XpsSaveOptions
ตัวเลือกการแปลง
provider
ICreateStreamProvider
การประยุกต์ใช้อินเตอร์เฟซ Aspose.Svg.IO.ICreateStreamProvider ซึ่งจะใช้เพื่อรับการไหลออก
การแปลงSVG(SVGDocument, PdfSaveOptions, string)
แปลงแหล่ง svg ไปยัง pdf ผลเป็นไฟล์ pdf
public static void ConvertSVG(SVGDocument source, PdfSaveOptions options, string outputPath)
Parameters
source
SVGDocument
แปลงแหล่ง
options
PdfSaveOptions
ตัวเลือกการแปลง
outputPath
string
เส้นทางออกของไฟล์
การแปลงSVG(Url, PdfSaveOptions, string)
แปลงแหล่ง svg ไปยัง pdf ผลเป็นไฟล์ pdf
public static void ConvertSVG(Url url, PdfSaveOptions options, string outputPath)
Parameters
url
Url
URL ของเอกสาร
options
PdfSaveOptions
ตัวเลือกการแปลง
outputPath
string
เส้นทางออกของไฟล์
การแปลงSVG(Url, การตั้งค่า, PdfSaveOptions, string)
แปลงแหล่ง svg ไปยัง pdf ผลเป็นไฟล์ pdf
public static void ConvertSVG(Url url, Configuration configuration, PdfSaveOptions options, string outputPath)
Parameters
url
Url
URL ของเอกสาร
configuration
Configuration
การกําหนดค่าสิ่งแวดล้อม
options
PdfSaveOptions
ตัวเลือกการแปลง
outputPath
string
เส้นทางออกของไฟล์
การแปลงSVG(ลวด, PdfSaveOptions, ลวด)
แปลงแหล่ง svg ไปยัง pdf ผลเป็นไฟล์ pdf
public static void ConvertSVG(string sourcePath, PdfSaveOptions options, string outputPath)
Parameters
sourcePath
string
Svg ไฟล์แหล่งกําเนิดเส้นทาง มันจะรวมกับเส้นทางไดเรกทอรีปัจจุบันเพื่อสร้าง URL ที่สมบูรณ์
options
PdfSaveOptions
ตัวเลือกการแปลง
outputPath
string
เส้นทางออกของไฟล์
การแปลงSVG(string, การตั้งค่า, PdfSaveOptions, string)
แปลงแหล่ง svg ไปยัง pdf ผลเป็นไฟล์ pdf
public static void ConvertSVG(string sourcePath, Configuration configuration, PdfSaveOptions options, string outputPath)
Parameters
sourcePath
string
Svg ไฟล์แหล่งกําเนิดเส้นทาง มันจะรวมกับเส้นทางไดเรกทอรีปัจจุบันเพื่อสร้าง URL ที่สมบูรณ์
configuration
Configuration
การกําหนดค่าสิ่งแวดล้อม
options
PdfSaveOptions
ตัวเลือกการแปลง
outputPath
string
เส้นทางออกของไฟล์
การแปลงSVG(string, string, PdfSaveOptions, string)
แปลงแหล่ง svg ไปยัง pdf ผลเป็นไฟล์ pdf
public static void ConvertSVG(string content, string baseUri, PdfSaveOptions options, string outputPath)
Parameters
content
string
Inline String SVG เนื้อหา
baseUri
string
ฐาน URI ของเอกสาร มันจะถูกรวมกับเส้นทางไดเรกทอรีปัจจุบันเพื่อสร้าง URL ที่สมบูรณ์
options
PdfSaveOptions
ตัวเลือกการแปลง
outputPath
string
เส้นทางออกของไฟล์
การแปลงSVG(string, string, การกําหนดค่า, PdfSaveOptions, string)
แปลงแหล่ง svg ไปยัง pdf ผลเป็นไฟล์ pdf
public static void ConvertSVG(string content, string baseUri, Configuration configuration, PdfSaveOptions options, string outputPath)
Parameters
content
string
Inline String SVG เนื้อหา
baseUri
string
ฐาน URI ของเอกสาร มันจะถูกรวมกับเส้นทางไดเรกทอรีปัจจุบันเพื่อสร้าง URL ที่สมบูรณ์
configuration
Configuration
การกําหนดค่าสิ่งแวดล้อม
options
PdfSaveOptions
ตัวเลือกการแปลง
outputPath
string
เส้นทางออกของไฟล์
การแปลงSVG(SVGDocument, PdfSaveOptions, ICreateStreamProvider)
แปลงแหล่ง svg ไปยัง pdf ผลเป็นไฟล์ pdf
public static void ConvertSVG(SVGDocument document, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
document
SVGDocument
แปลงแหล่ง
options
PdfSaveOptions
ตัวเลือกการแปลง
provider
ICreateStreamProvider
การประยุกต์ใช้อินเตอร์เฟซ Aspose.Svg.IO.ICreateStreamProvider ซึ่งจะใช้เพื่อรับการไหลออก
การแปลงSVG(Url, PdfSaveOptions, ICreateStreamProvider)
แปลงแหล่ง svg ไปยัง pdf ผลเป็นไฟล์ pdf
public static void ConvertSVG(Url url, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
url
Url
URL ของเอกสาร
options
PdfSaveOptions
ตัวเลือกการแปลง
provider
ICreateStreamProvider
การประยุกต์ใช้อินเตอร์เฟซ Aspose.Svg.IO.ICreateStreamProvider ซึ่งจะใช้เพื่อรับการไหลออก
การแปลงSVG(Url, การตั้งค่า, PdfSaveOptions, ICreateStreamProvider)
แปลงแหล่ง svg ไปยัง pdf ผลเป็นไฟล์ pdf
public static void ConvertSVG(Url url, Configuration configuration, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
url
Url
URL ของเอกสาร
configuration
Configuration
การกําหนดค่าสิ่งแวดล้อม
options
PdfSaveOptions
ตัวเลือกการแปลง
provider
ICreateStreamProvider
การประยุกต์ใช้อินเตอร์เฟซ Aspose.Svg.IO.ICreateStreamProvider ซึ่งจะใช้เพื่อรับการไหลออก
การแปลงSVG(ลวด, PdfSaveOptions, ICreateStreamProvider)
แปลงแหล่ง svg ไปยัง pdf ผลเป็นไฟล์ pdf
public static void ConvertSVG(string sourcePath, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
sourcePath
string
Svg ไฟล์แหล่งกําเนิดเส้นทาง มันจะรวมกับเส้นทางไดเรกทอรีปัจจุบันเพื่อสร้าง URL ที่สมบูรณ์
options
PdfSaveOptions
ตัวเลือกการแปลง
provider
ICreateStreamProvider
การประยุกต์ใช้อินเตอร์เฟซ Aspose.Svg.IO.ICreateStreamProvider ซึ่งจะใช้เพื่อรับการไหลออก
การแปลงSVG(string, การตั้งค่า, PdfSaveOptions, ICreateStreamProvider)
แปลงแหล่ง svg ไปยัง pdf ผลเป็นไฟล์ pdf
public static void ConvertSVG(string sourcePath, Configuration configuration, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
sourcePath
string
Svg ไฟล์แหล่งกําเนิดเส้นทาง มันจะรวมกับเส้นทางไดเรกทอรีปัจจุบันเพื่อสร้าง URL ที่สมบูรณ์
configuration
Configuration
การกําหนดค่าสิ่งแวดล้อม
options
PdfSaveOptions
ตัวเลือกการแปลง
provider
ICreateStreamProvider
การประยุกต์ใช้อินเตอร์เฟซ Aspose.Svg.IO.ICreateStreamProvider ซึ่งจะใช้เพื่อรับการไหลออก
การแปลงSVG(string, string, PdfSaveOptions, ICreateStreamProvider)
แปลงแหล่ง svg ไปยัง pdf ผลเป็นไฟล์ pdf
public static void ConvertSVG(string content, string baseUri, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
content
string
เนื้อหาเอกสารแหล่งข้อมูล
baseUri
string
ฐาน URI ของเอกสาร มันจะถูกรวมกับเส้นทางไดเรกทอรีปัจจุบันเพื่อสร้าง URL ที่สมบูรณ์
options
PdfSaveOptions
ตัวเลือกการแปลง
provider
ICreateStreamProvider
การประยุกต์ใช้อินเตอร์เฟซ Aspose.Svg.IO.ICreateStreamProvider ซึ่งจะใช้เพื่อรับการไหลออก
การแปลงSVG(string, string, การตั้งค่า, PdfSaveOptions, ICreateStreamProvider)
แปลงแหล่ง svg ไปยัง pdf ผลเป็นไฟล์ pdf
public static void ConvertSVG(string content, string baseUri, Configuration configuration, PdfSaveOptions options, ICreateStreamProvider provider)
Parameters
content
string
Inline String SVG เนื้อหา
baseUri
string
ฐาน URI ของเอกสาร มันจะถูกรวมกับเส้นทางไดเรกทอรีปัจจุบันเพื่อสร้าง URL ที่สมบูรณ์
configuration
Configuration
การกําหนดค่าสิ่งแวดล้อม
options
PdfSaveOptions
ตัวเลือกการแปลง
provider
ICreateStreamProvider
การประยุกต์ใช้อินเตอร์เฟซ Aspose.Svg.IO.ICreateStreamProvider ซึ่งจะใช้เพื่อรับการไหลออก
การแปลงSVG(SVGDocument, ImageSaveOptions, string)
แปลงเอกสาร svg เพื่อภาพ ผลเป็นไฟล์ภาพ
public static void ConvertSVG(SVGDocument source, ImageSaveOptions options, string outputPath)
Parameters
source
SVGDocument
แปลงแหล่ง
options
ImageSaveOptions
ตัวเลือกการแปลง
outputPath
string
เส้นทางออกของไฟล์
การแปลงSVG(URL, ImageSaveOptions, string)
แปลงเอกสาร svg เพื่อภาพ ผลเป็นไฟล์ภาพ
public static void ConvertSVG(Url url, ImageSaveOptions options, string outputPath)
Parameters
url
Url
URL ของเอกสาร
options
ImageSaveOptions
ตัวเลือกการแปลง
outputPath
string
เส้นทางออกของไฟล์
การแปลงSVG(Url, การตั้งค่า, ImageSaveOptions, string)
แปลงเอกสาร svg เพื่อภาพ ผลเป็นไฟล์ภาพ
public static void ConvertSVG(Url url, Configuration configuration, ImageSaveOptions options, string outputPath)
Parameters
url
Url
URL ของเอกสาร
configuration
Configuration
การกําหนดค่าสิ่งแวดล้อม
options
ImageSaveOptions
ตัวเลือกการแปลง
outputPath
string
เส้นทางออกของไฟล์
การแปลงSVG(รั้ว, ImageSaveOptions, รั้ว)
แปลงเอกสาร svg เพื่อภาพ ผลเป็นไฟล์ภาพ
public static void ConvertSVG(string sourcePath, ImageSaveOptions options, string outputPath)
Parameters
sourcePath
string
Svg ไฟล์แหล่งกําเนิดเส้นทาง มันจะรวมกับเส้นทางไดเรกทอรีปัจจุบันเพื่อสร้าง URL ที่สมบูรณ์
options
ImageSaveOptions
ตัวเลือกการแปลง
outputPath
string
เส้นทางออกของไฟล์
การแปลงSVG(string, การตั้งค่า, ImageSaveOptions, string)
แปลงเอกสาร svg เพื่อภาพ ผลเป็นไฟล์ภาพ
public static void ConvertSVG(string sourcePath, Configuration configuration, ImageSaveOptions options, string outputPath)
Parameters
sourcePath
string
Svg ไฟล์แหล่งกําเนิดเส้นทาง มันจะรวมกับเส้นทางไดเรกทอรีปัจจุบันเพื่อสร้าง URL ที่สมบูรณ์
configuration
Configuration
การกําหนดค่าสิ่งแวดล้อม
options
ImageSaveOptions
ตัวเลือกการแปลง
outputPath
string
เส้นทางออกของไฟล์
การแปลงSVG(string, string, ImageSaveOptions, string)
แปลงเอกสาร svg เพื่อภาพ ผลเป็นไฟล์ภาพ
public static void ConvertSVG(string content, string baseUri, ImageSaveOptions options, string outputPath)
Parameters
content
string
Inline String SVG เนื้อหา
baseUri
string
ฐาน URI ของเอกสาร มันจะถูกรวมกับเส้นทางไดเรกทอรีปัจจุบันเพื่อสร้าง URL ที่สมบูรณ์
options
ImageSaveOptions
ตัวเลือกการแปลง
outputPath
string
เส้นทางออกของไฟล์
การแปลงSVG(string, string, การกําหนดค่า, ImageSaveOptions, string)
แปลงเอกสาร svg เพื่อภาพ ผลเป็นไฟล์ภาพ
public static void ConvertSVG(string content, string baseUri, Configuration configuration, ImageSaveOptions options, string outputPath)
Parameters
content
string
Inline String SVG เนื้อหา
baseUri
string
ฐาน URI ของเอกสาร มันจะถูกรวมกับเส้นทางไดเรกทอรีปัจจุบันเพื่อสร้าง URL ที่สมบูรณ์
configuration
Configuration
การกําหนดค่าสิ่งแวดล้อม
options
ImageSaveOptions
ตัวเลือกการแปลง
outputPath
string
เส้นทางออกของไฟล์
การแปลงSVG(SVGDocument, ImageSaveOptions, ICreateStreamProvider)
แปลงแหล่ง SVG ไปยังภาพ ผลเป็นไฟล์ภาพ
public static void ConvertSVG(SVGDocument document, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
document
SVGDocument
แปลงแหล่ง
options
ImageSaveOptions
ตัวเลือกการแปลง
provider
ICreateStreamProvider
การประยุกต์ใช้อินเตอร์เฟซ Aspose.Svg.IO.ICreateStreamProvider ซึ่งจะใช้เพื่อรับการไหลออก
การแปลงSVG(URL, ImageSaveOptions, ICreateStreamProvider)
แปลงแหล่ง SVG ไปยังภาพ ผลเป็นไฟล์ภาพ
public static void ConvertSVG(Url url, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
url
Url
URL ของเอกสาร
options
ImageSaveOptions
ตัวเลือกการแปลง
provider
ICreateStreamProvider
การประยุกต์ใช้อินเตอร์เฟซ Aspose.Svg.IO.ICreateStreamProvider ซึ่งจะใช้เพื่อรับการไหลออก
การแปลงSVG(Url, การตั้งค่า, ImageSaveOptions, ICreateStreamProvider)
แปลงแหล่ง SVG ไปยังภาพ ผลเป็นไฟล์ภาพ
public static void ConvertSVG(Url url, Configuration configuration, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
url
Url
URL ของเอกสาร
configuration
Configuration
การกําหนดค่าสิ่งแวดล้อม
options
ImageSaveOptions
ตัวเลือกการแปลง
provider
ICreateStreamProvider
การประยุกต์ใช้อินเตอร์เฟซ Aspose.Svg.IO.ICreateStreamProvider ซึ่งจะใช้เพื่อรับการไหลออก
การแปลงSVG(string, ImageSaveOptions, ICreateStreamProvider)
แปลงแหล่ง SVG ไปยังภาพ ผลเป็นไฟล์ภาพ
public static void ConvertSVG(string sourcePath, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
sourcePath
string
Svg ไฟล์แหล่งกําเนิดเส้นทาง มันจะรวมกับเส้นทางไดเรกทอรีปัจจุบันเพื่อสร้าง URL ที่สมบูรณ์
options
ImageSaveOptions
ตัวเลือกการแปลง
provider
ICreateStreamProvider
การประยุกต์ใช้อินเตอร์เฟซ Aspose.Svg.IO.ICreateStreamProvider ซึ่งจะใช้เพื่อรับการไหลออก
การแปลงSVG(string, การตั้งค่า, ImageSaveOptions, ICreateStreamProvider)
แปลงแหล่ง SVG ไปยังภาพ ผลเป็นไฟล์ภาพ
public static void ConvertSVG(string sourcePath, Configuration configuration, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
sourcePath
string
Svg ไฟล์แหล่งกําเนิดเส้นทาง มันจะรวมกับเส้นทางไดเรกทอรีปัจจุบันเพื่อสร้าง URL ที่สมบูรณ์
configuration
Configuration
การกําหนดค่าสิ่งแวดล้อม
options
ImageSaveOptions
ตัวเลือกการแปลง
provider
ICreateStreamProvider
การประยุกต์ใช้อินเตอร์เฟซ Aspose.Svg.IO.ICreateStreamProvider ซึ่งจะใช้เพื่อรับการไหลออก
การแปลงSVG(รั้ว, รั้ว, ImageSaveOptions, ICreateStreamProvider)
แปลงแหล่ง SVG ไปยังภาพ ผลเป็นไฟล์ภาพ
public static void ConvertSVG(string content, string baseUri, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
content
string
Inline String SVG เนื้อหา
baseUri
string
ฐาน URI ของเอกสาร มันจะถูกรวมกับเส้นทางไดเรกทอรีปัจจุบันเพื่อสร้าง URL ที่สมบูรณ์
options
ImageSaveOptions
ตัวเลือกการแปลง
provider
ICreateStreamProvider
การประยุกต์ใช้อินเตอร์เฟซ Aspose.Svg.IO.ICreateStreamProvider ซึ่งจะใช้เพื่อรับการไหลออก
การแปลงSVG(string, string, การตั้งค่า, ImageSaveOptions, ICreateStreamProvider)
แปลงแหล่ง SVG ไปยังภาพ ผลเป็นไฟล์ภาพ
public static void ConvertSVG(string content, string baseUri, Configuration configuration, ImageSaveOptions options, ICreateStreamProvider provider)
Parameters
content
string
Inline String SVG เนื้อหา
baseUri
string
ฐาน URI ของเอกสาร มันจะถูกรวมกับเส้นทางไดเรกทอรีปัจจุบันเพื่อสร้าง URL ที่สมบูรณ์
configuration
Configuration
การกําหนดค่าสิ่งแวดล้อม
options
ImageSaveOptions
ตัวเลือกการแปลง
provider
ICreateStreamProvider
การประยุกต์ใช้อินเตอร์เฟซ Aspose.Svg.IO.ICreateStreamProvider ซึ่งจะใช้เพื่อรับการไหลออก