Interface ISvgResourceKeeperCallback
Interface ISvgResourceKeeperCallback
ชื่อพื้นที่: Aspose.Imaging.FileFormats.Svg การประกอบ: Aspose.Imaging.dll (25.4.0)
อินเตอร์เฟซ SVG callback
public interface ISvgResourceKeeperCallback
Methods
OnFontResourceReady(FontStoringArgs)
ชื่อเมื่อทรัพยากรอักษรพร้อมสําหรับการส่งออก
void OnFontResourceReady(FontStoringArgs args)
Parameters
args
FontStoringArgs
ตัวเลือกการจัดเก็บอักษร
OnImageResourceReady(บิต[ ], SvgImageType, string, ref bool)
ชื่อเมื่อแหล่งข้อมูลภาพพร้อมสําหรับการส่งออก
string OnImageResourceReady(byte[] imageData, SvgImageType imageType, string suggestedFileName, ref bool useEmbeddedImage)
Parameters
imageData
byte
[ ]
ข้อมูลทรัพยากร
imageType
SvgImageType
ประเภทของภาพ
suggestedFileName
string
ชื่อไฟล์ที่แนะนํา
useEmbeddedImage
bool
ถ้าตั้งค่าเป็น “จริง” ภาพที่รวมจะต้องใช้
Returns
กลับเส้นทางไปยังทรัพยากรที่ถูกบันทึก เส้นทางควรมีความสัมพันธ์กับเอกสาร SVG ที่เป้าหมาย
OnSvgDocumentReady(บิต[ ], ภาษาไทย)
โทรเมื่อเอกสาร SVG พร้อมสําหรับการส่งออก
string OnSvgDocumentReady(byte[] htmlData, string suggestedFileName)
Parameters
htmlData
byte
[ ]
ข้อมูล SVG
suggestedFileName
string
ชื่อไฟล์ที่แนะนํา
Returns
กลับทางไปยังเอกสาร SVG ที่บันทึกไว้