BmpDevice
Gambaran Keseluruhan
BmpDevice adalah kelas dalam Aspose.PDF FOSS untuk .NET.
Mewarisi dari: ImageDevice.
Menukar halaman dokumen PDF ke format imej BMP.
Kelas ini menyediakan 11 kaedah untuk bekerja dengan objek BmpDevice dalam program .NET.
Kaedah yang tersedia termasuk: BmpDevice, GetBitmap, ImageDevice, Process.
Semua ahli awam boleh diakses oleh mana-mana aplikasi .NET selepas memasang pakej Aspose.PDF FOSS untuk .NET.
Sifat: CoordinateType, FormPresentationMode, Height, RenderingOptions, Resolution, Width.
Sifat
| Nama | Jenis | Akses | Keterangan |
|---|---|---|---|
Resolution | Resolution | Read | Resolusi output dalam DPI. |
RenderingOptions | Aspose.Pdf.RenderingOptions | Read/Write | Pilihan rendering untuk kawalan lanjutan penukaran halaman-ke-imej. |
CoordinateType | PageCoordinateType | Read/Write | Kotak halaman mana yang menentukan keluasan imej yang dirender. |
Width | int | Read | Lebar piksel sasaran yang dikonfigurasikan (0 = mengikut saiz semula jadi halaman pada Resolusi). |
Height | int | Read | Tinggi piksel sasaran yang dikonfigurasikan (0 = mengikut saiz semula jadi halaman pada Resolusi). |
FormPresentationMode | FormPresentationMode | Read/Write | Cara medan borang dirender (Pengeluaran vs Penyunting). |
Kaedah
| Signature | Description |
|---|---|
BmpDevice(renderer: IPageRenderer) | Memanggil BmpDevice(renderer) pada contoh BmpDevice ini. |
BmpDevice(renderer: IPageRenderer, resolution: Resolution) | Memanggil BmpDevice(renderer, resolution) pada contoh BmpDevice ini. |
BmpDevice() | |
BmpDevice(resolution: Resolution) | Memanggil BmpDevice(resolution) pada contoh BmpDevice ini. |
BmpDevice(width: int, height: int) | Memanggil BmpDevice(width, height) pada contoh BmpDevice ini. |
BmpDevice(width: int, height: int, resolution: Resolution) | Memanggil BmpDevice(width, height, resolution) pada contoh BmpDevice ini. |
BmpDevice(pageSize: Aspose.Pdf.PageSize) | Memanggil BmpDevice(pageSize) pada contoh BmpDevice ini. |
BmpDevice(pageSize: Aspose.Pdf.PageSize, resolution: Resolution) | Memanggil BmpDevice(pageSize, resolution) pada contoh BmpDevice ini. |
Process(page: Page, output: Stream) | Memanggil Process(page, output) pada contoh BmpDevice ini. |
ImageDevice(resolution: Resolution) | Memulakan ImageDevice baru dengan Resolution menggunakan SoftwarePageRenderer terbina dalam. |
GetBitmap(page: Page) | Render halaman ke Bitmap. |