GifDevice

Overview

GifDevice is a class in Aspose.PDF FOSS for .NET. Inherits from: ImageDevice.

Renders PDF document pages into GIF image format.

This class provides 11 methods for working with GifDevice objects in .NET programs. Available methods include: GetBitmap, GifDevice, ImageDevice, Process. All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: CoordinateType, FormPresentationMode, Height, RenderingOptions, Resolution, Width.

Properties

NameTypeAccessDescription
ResolutionResolutionReadOutput resolution in DPI.
RenderingOptionsAspose.Pdf.RenderingOptionsRead/WriteRendering options for advanced control of page-to-image rendering.
CoordinateTypePageCoordinateTypeRead/WriteWhich page box drives the rendered image extents.
WidthintReadConfigured target pixel width (0 = follow the page’s natural size at Resolution).
HeightintReadConfigured target pixel height (0 = follow the page’s natural size at Resolution).
FormPresentationModeFormPresentationModeRead/WriteHow form fields render (Production vs Editor).

Methods

SignatureDescription
GifDevice(renderer: IPageRenderer)Calls GifDevice(renderer) on this GifDevice instance.
GifDevice(renderer: IPageRenderer, resolution: Resolution)Calls GifDevice(renderer, resolution) on this GifDevice instance.
GifDevice()
GifDevice(resolution: Resolution)Calls GifDevice(resolution) on this GifDevice instance.
GifDevice(width: int, height: int)Calls GifDevice(width, height) on this GifDevice instance.
GifDevice(width: int, height: int, resolution: Resolution)Calls GifDevice(width, height, resolution) on this GifDevice instance.
GifDevice(pageSize: Aspose.Pdf.PageSize)Calls GifDevice(pageSize) on this GifDevice instance.
GifDevice(pageSize: Aspose.Pdf.PageSize, resolution: Resolution)Calls GifDevice(pageSize, resolution) on this GifDevice instance.
Process(page: Page, output: Stream)Calls Process(page, output) on this GifDevice instance.
ImageDevice(resolution: Resolution)Initializes a new ImageDevice with a Resolution using the built-in SoftwarePageRenderer.
GetBitmap(page: Page)Render a page to a Bitmap.

See Also

 English