JpegDevice
ภาพรวม
JpegDevice เป็นคลาสใน Aspose.PDF FOSS สําหรับ .NET. ทายาทจาก: ImageDevice.
ทําการแสดงหน้าเอกสาร PDF เป็นรูปภาพ JPEG.
หมวดนี้ให้ 18 วิธีในการทํางานกับวัตถุ JpegDevice ในโปรแกรม .NET. วิธีการที่ใช้ได้แก่: ClearEncoder, GetBitmap, ImageDevice, JpegDevice, Process, SetEncoder. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน .NET ใดก็ได้หลังจากติดตั้งแพ็คเกจ Aspose.PDF FOSS for .Net. คุณสมบัติ: CoordinateType, FormPresentationMode, Height, Quality, RenderingOptions, Resolution,และอีก 1 ใบ.
คุณสมบัติ
| ชื่อ | ประเภท | Access | คําอธิบาย |
|---|---|---|---|
Quality | int | อ่าน | คุณภาพ JPEG (1-100). |
FormPresentationMode | FormPresentationMode | อ่าน/เขียน | รูปแบบการแสดง (ผลิตให้ค่ารูป; Editor ให้ฟิลด์ว่าง). |
Resolution | Resolution | อ่าน | ความละเอียดการออกใน DPI. |
RenderingOptions | Aspose.Pdf.RenderingOptions | อ่าน/เขียน | ตัวเลือกการทําแบบให้กับการควบคุมที่สูงของหน้า-ภาพ rendering. |
CoordinateType | PageCoordinateType | อ่าน/เขียน | ช่องหน้าไหนที่ขับขี่รูปแบบการทํารันเดอร์?. |
Width | int | อ่าน | ความกว้างของพิกเซลเป้าหมายที่ตั้งค่า (0 = ตามขนาดธรรมชาติของหน้าในความละเอียด). |
Height | int | อ่าน | ความสูงของพิกเซลเป้าหมายที่ตั้งค่า (0 = ตามขนาดธรรมชาติของหน้าในความละเอียด). |
วิธีการ
| Signature | คําอธิบาย |
|---|---|
JpegDevice(renderer: IPageRenderer) | เรียก JpegDevice(renderer) ในตัวอย่างนี้ JpegDevice. |
JpegDevice(renderer: IPageRenderer, resolution: Resolution) | เรียก JpegDevice ((renderer, resolution) ในตัวอย่างนี้ JpegDevice. |
JpegDevice(renderer: IPageRenderer, resolution: Resolution, quality: int) | เรียก JpegDevice ((Renderer, resolution, quality) ในตัวอย่างนี้ JpegDevice. |
JpegDevice() | |
JpegDevice(resolution: Resolution) | เรียก JpegDevice ((การแก้ไข) ในตัวอย่างนี้ JpegDevice. |
JpegDevice(resolution: Resolution, quality: int) | เรียก JpegDevice ((ความละเอียด, คุณภาพ) ในตัวอย่างนี้ JpegDevice. |
JpegDevice(quality: int) | เรียก JpegDevice(คุณภาพ) ในตัวอย่างนี้ JpegDevice. |
JpegDevice(width: int, height: int) | เรียก JpegDevice ((ความกว้าง, ความสูง) ในตัวอย่างนี้ JpegDevice. |
JpegDevice(width: int, height: int, resolution: Resolution) | เรียก JpegDevice ((ความกว้าง, ความสูง, การแก้ไข) ในตัวอย่างนี้ JpegDevice. |
JpegDevice(width: int, height: int, resolution: Resolution, quality: int) | เรียก JpegDevice ((ความกว้าง, ความสูง, การแก้ไข, คุณภาพ) ในตัวอย่างนี้ JpegDevice. |
JpegDevice(pageSize: Aspose.Pdf.PageSize) | การสร้างขนาดเป็นหน้า ขนาดที่ 150 DPI คุณภาพตั้งค่า 85. |
JpegDevice(pageSize: Aspose.Pdf.PageSize, resolution: Resolution) | สร้างขนาดเป็นหน้า ขนาดที่ความละเอียด คุณภาพตั้งค่า 85. |
JpegDevice(pageSize: Aspose.Pdf.PageSize, resolution: Resolution, quality: int) | สร้างขนาดเป็นหน้า ขนาดที่ความละเอียดที่มีคุณภาพชัดเจน. |
SetEncoder(encoder: JpegEncoder) | จดทะเบียนฟังก์ชันการโค้ด JPEG ทั่วโลก. |
ClearEncoder() | ถอดตัวรหัส JPEG ที่ลงทะเบียนไว้. |
Process(page: Page, output: Stream) | เรียก Process(หน้า, output) ในตัวอย่าง JpegDevice นี้. |
ImageDevice(resolution: Resolution) | เริ่มต้น ImageDevice ใหม่ด้วยการแก้ไขโดยใช้ built-in SoftwarePageRenderer. |
GetBitmap(page: Page) | ทําหน้าให้กับบิตแมป. |