GifDevice
ภาพรวม
GifDevice เป็นคลาสใน Aspose.PDF FOSS สำหรับ .NET. สืบทอดจาก: ImageDevice.
แปลงหน้าของเอกสาร PDF เป็นรูปแบบภาพ GIF.
คลาสนี้ให้ 11 เมธอดสำหรับทำงานกับอ็อบเจกต์ GifDevice ในโปรแกรม .NET. เมธอดที่มีให้รวมถึง: GetBitmap, GifDevice, ImageDevice, Process. สมาชิกสาธารณะทั้งหมดสามารถเข้าถึงได้จากแอปพลิเคชัน .NET ใด ๆ หลังจากติดตั้งแพคเกจ Aspose.PDF FOSS สำหรับ .NET. คุณสมบัติ: CoordinateType, FormPresentationMode, Height, RenderingOptions, Resolution, Width.
คุณสมบัติ
| ชื่อ | ประเภท | การเข้าถึง | คำอธิบาย |
|---|---|---|---|
Resolution | Resolution | อ่าน | ความละเอียดเอาต์พุตใน DPI. |
RenderingOptions | Aspose.Pdf.RenderingOptions | อ่าน/เขียน | ตัวเลือกการเรนเดอร์เพื่อการควบคุมขั้นสูงของการเรนเดอร์จากหน้าเป็นภาพ. |
CoordinateType | PageCoordinateType | อ่าน/เขียน | กล่องหน้าใดกำหนดขอบเขตของภาพที่เรนเดอร์. |
Width | int | อ่าน | ความกว้างพิกเซลเป้าหมายที่กำหนด (0 = ตามขนาดธรรมชาติของหน้าเมื่อใช้ความละเอียด). |
Height | int | อ่าน | ความสูงพิกเซลเป้าหมายที่กำหนด (0 = ตามขนาดธรรมชาติของหน้าเมื่อใช้ความละเอียด). |
FormPresentationMode | FormPresentationMode | อ่าน/เขียน | วิธีการแสดงฟิลด์ฟอร์ม (Production vs Editor). |
วิธีการ
| ลายเซ็น | คำอธิบาย |
|---|---|
GifDevice(renderer: IPageRenderer) | เรียก GifDevice(renderer) บนอินสแตนซ์ GifDevice นี้. |
GifDevice(renderer: IPageRenderer, resolution: Resolution) | เรียก GifDevice(renderer, resolution) บนอินสแตนซ์ GifDevice นี้. |
GifDevice() | |
GifDevice(resolution: Resolution) | เรียก GifDevice(resolution) บนอินสแตนซ์ GifDevice นี้. |
GifDevice(width: int, height: int) | เรียก GifDevice(width, height) บนอินสแตนซ์ GifDevice นี้. |
GifDevice(width: int, height: int, resolution: Resolution) | เรียก GifDevice(width, height, resolution) บนอินสแตนซ์ GifDevice นี้. |
GifDevice(pageSize: Aspose.Pdf.PageSize) | เรียก GifDevice(pageSize) บนอินสแตนซ์ GifDevice นี้. |
GifDevice(pageSize: Aspose.Pdf.PageSize, resolution: Resolution) | เรียก GifDevice(pageSize, resolution) บนอินสแตนซ์ GifDevice นี้. |
Process(page: Page, output: Stream) | เรียก Process(page, output) บนอินสแตนซ์ GifDevice นี้. |
ImageDevice(resolution: Resolution) | เริ่มต้น ImageDevice ใหม่โดยใช้ Resolution พร้อมกับ SoftwarePageRenderer ในตัว. |
GetBitmap(page: Page) | เรนเดอร์หน้าเป็น Bitmap. |