BmpDevice
Yleiskatsaus
BmpDevice on luokka Aspose.PDF FOSS:ssä .NET:lle.
Periytyy luokasta: ImageDevice.
Renderöi PDF-dokumentin sivut BMP-kuvamuotoon.
Tämä luokka tarjoaa 11 menetelmää BmpDevice-objektien kanssa työskentelemiseen .NET-ohjelmissa.
Käytettävissä olevat menetelmät sisältävät: BmpDevice, GetBitmap, ImageDevice, Process.
Kaikki julkiset jäsenet ovat käytettävissä kaikille .NET-sovelluksille Aspose.PDF FOSS for .NET -paketin asentamisen jälkeen.
Ominaisuudet: CoordinateType, FormPresentationMode, Height, RenderingOptions, Resolution, Width.
Ominaisuudet
| Nimi | Tyyppi | Käyttö | Kuvaus |
|---|---|---|---|
Resolution | Resolution | Luku | Tulostusresoluutio DPI:ssä. |
RenderingOptions | Aspose.Pdf.RenderingOptions | Luku/Kirjoitus | Renderöintiasetukset edistyneeseen sivusta kuvaan -renderöinnin hallintaan. |
CoordinateType | PageCoordinateType | Luku/Kirjoitus | Mikä sivulaatikko määrittää renderöidyn kuvan laajuuden. |
Width | int | Luku | Määritetty kohdekuvan pikselileveys (0 = noudattaa sivun luonnollista kokoa resoluutiossa). |
Height | int | Luku | Määritetty kohdekuvan pikselikorkeus (0 = noudattaa sivun luonnollista kokoa resoluutiossa). |
FormPresentationMode | FormPresentationMode | Luku/Kirjoitus | Kuinka lomakekentät renderöidään (Tuotanto vs Editori). |
Menetelmät
| Signature | Description |
|---|---|
BmpDevice(renderer: IPageRenderer) | Kutsuu BmpDevice(renderer) tätä BmpDevice-instanssia. |
BmpDevice(renderer: IPageRenderer, resolution: Resolution) | Kutsuu BmpDevice(renderer, resolution) tätä BmpDevice-instanssia. |
BmpDevice() | |
BmpDevice(resolution: Resolution) | Kutsuu BmpDevice(resolution) tätä BmpDevice-instanssia. |
BmpDevice(width: int, height: int) | Kutsuu BmpDevice(width, height) tätä BmpDevice-instanssia. |
BmpDevice(width: int, height: int, resolution: Resolution) | Kutsuu BmpDevice(width, height, resolution) tätä BmpDevice-instanssia. |
BmpDevice(pageSize: Aspose.Pdf.PageSize) | Kutsuu BmpDevice(pageSize) tätä BmpDevice-instanssia. |
BmpDevice(pageSize: Aspose.Pdf.PageSize, resolution: Resolution) | Kutsuu BmpDevice(pageSize, resolution) tätä BmpDevice-instanssia. |
Process(page: Page, output: Stream) | Kutsuu Process(page, output) tätä BmpDevice-instanssia. |
ImageDevice(resolution: Resolution) | Alustaa uuden ImageDevice-olion Resoluutio-ominaisuudella käyttäen sisäänrakennettua SoftwarePageRendereria. |
GetBitmap(page: Page) | Renderöi sivun Bitmap-kuvaksi. |