Interface IImageLoaderDescriptor
Interface IImageLoaderDescriptor
ชื่อพื้นที่: Aspose.Imaging การประกอบ: Aspose.Imaging.dll (25.4.0)
ภาพโหลดตัวอธิบายที่ระบุคุณสมบัติโหลด ตัวอธิบายโหลดจะใช้เพื่อเอาชนะความจําเป็นในการรวมตัวอย่างโหลดภาพแต่ละตัวในหน่วยความจําและปัญหาหลายตัว
public interface IImageLoaderDescriptor : IImageDescriptor
Implements
Methods
CanLoad(StreamContainer, LoadOptions)
กําหนดว่าเครื่องโหลดภาพสามารถอ่านภาพใหม่จากกระแสที่ระบุและเลือกใช้ loadOptions'.
bool CanLoad(StreamContainer streamContainer, LoadOptions loadOptions)
Parameters
streamContainer
StreamContainer
กระแสภาชนะ
loadOptions
LoadOptions
ข้อมูลรูปแบบไฟล์ที่ระบุโดย loadOptions’.
loadOptions’ อาจเป็น null.
Returns
‘จริง’ ถ้าตัวโหลดภาพที่สร้างขึ้นโดยตัวอธิบายนี้สามารถอ่านภาพจากกระแส หรือ ‘ล้มเหลว’
CreateInstance()
สร้าง instance loader ใหม่
IImageLoader CreateInstance()
Returns
ตัวอย่างโหลดใหม่