Class MhtmlRenderer
ชื่อพื้นที่: Aspose.Html.Rendering การประกอบ: Aspose.HTML.dll (25.5.0)
แสดงเป็นเอกสาร MHTML renderer
[ComVisible(true)]
public class MhtmlRenderer : Renderer<stream>, IDisposableInheritance
object
←
Renderer
←
Renderer
Implements
อนุญาโตตุลาการ
Renderer
Constructors
MhtmlRenderer()
public MhtmlRenderer()Methods
Render(IDevice, TimeSpan, params Stream[])
ดาวน์โหลดหลายเอกสาร MHTML ใน Aspose.Html.Rendering.IDevice ที่ระบุไว้
public override void Render(IDevice device, TimeSpan timeout, params Stream[] sources)Parameters
device IDevice
อุปกรณ์
timeout TimeSpan
A System.TimeSpan ซึ่งแสดงให้เห็นถึงจํานวน milliseconds ที่รอ หรือ System.TimeSpan ซึ่งแสดงให้เห็นถึง -1 milliseconds ที่รอไม่นาน
sources Stream
[ ]
ไฟล์ MHTML ที่จะส่งมอบ
Render(IDevice, CancellationToken, params Stream[])
กําหนดวิธีการ rendering หลายเอกสาร MHTML into a specific Aspose.Html.Rendering.IDevice, ใช้ token การยกเลิกเพื่อขอยกเลิกการทํางาน.
public override void Render(IDevice device, CancellationToken cancellationToken, params Stream[] sources)Parameters
device IDevice
อุปกรณ์การผลิต
cancellationToken CancellationToken
A System.Threading.CancellationToken เพื่อสังเกตในขณะที่รองานที่จะเสร็จสิ้น
sources Stream
[ ]
ไฟล์ MHTML ที่จะส่งมอบ
Render(IDevice, Stream, การกําหนดค่า)
แนะนําเอกสาร MHTML ใน Aspose.Html.Rendering.IDevice ที่ระบุไว้
public void Render(IDevice device, Stream source, Configuration configuration)Parameters
device IDevice
อุปกรณ์
source Stream
เอกสาร MHTML
configuration Configuration
การกําหนดค่า
Render(IDevice, Stream, การกําหนดค่า, TimeSpan)
แนะนําเอกสาร MHTML ใน Aspose.Html.Rendering.IDevice ที่ระบุไว้การจัดเรียงจะดําเนินการเมื่อไม่มีการดําเนินการเครือข่ายสําหรับทรัพยากรโหลดชั่วโมงที่ใช้งานงานการเคลื่อนไหวหรือชั่วโมงที่กําหนดจะดําเนินการ
public void Render(IDevice device, Stream source, Configuration configuration, TimeSpan timeout)Parameters
device IDevice
อุปกรณ์
source Stream
เอกสาร MHTML
configuration Configuration
การกําหนดค่า
timeout TimeSpan
A System.TimeSpan ซึ่งแสดงให้เห็นถึงจํานวน milliseconds ที่รอ หรือ System.TimeSpan ซึ่งแสดงให้เห็นถึง -1 milliseconds ที่รอไม่นาน
Render(IDevice, IList, การกําหนดค่า)
ดาวน์โหลดหลายเอกสาร MHTML ใน Aspose.Html.Rendering.IDevice ที่ระบุไว้
public void Render(IDevice device, IList<stream> sources, Configuration configuration)Parameters
device IDevice
อุปกรณ์
The System.Collections.Generic.IList`1 ของเอกสาร MHTML ที่จะนําเสนอ
configuration Configuration
การกําหนดค่า
Render(IDevice, IList, การตั้งค่า, TimeSpan)
ดาวน์โหลดหลายเอกสาร MHTML ใน Aspose.Html.Rendering.IDevice ที่ระบุไว้การจัดเรียงจะดําเนินการเมื่อไม่มีการดําเนินการเครือข่ายสําหรับทรัพยากรโหลดชั่วโมงที่ใช้งานงานการเคลื่อนไหวหรือชั่วโมงที่กําหนดจะดําเนินการ
public void Render(IDevice device, IList<stream> sources, Configuration configuration, TimeSpan timeout)Parameters
device IDevice
อุปกรณ์
The System.Collections.Generic.IList`1 ของเอกสาร MHTML ที่จะนําเสนอ
configuration Configuration
การกําหนดค่า
timeout TimeSpan
A System.TimeSpan ซึ่งแสดงให้เห็นถึงจํานวน milliseconds ที่รอ หรือ System.TimeSpan ซึ่งแสดงให้เห็นถึง -1 milliseconds ที่รอไม่นาน