Apitron.PDF.Rasterizer library for .NET
Assembly: Apitron.PDF.Rasterizer (in Apitron.PDF.Rasterizer.dll) Version: 3.0.154.0 (3.0.154.0)
A bitmap representing content of the page, any errors encountered will be logged to errorLogger if present. If rendering fails null will be returned.
Renders the page to an image using its width and height as dimensions for resulting image.
Namespace: Apitron.PDF.Rasterizer
Assembly: Apitron.PDF.Rasterizer (in Apitron.PDF.Rasterizer.dll) Version: 3.0.154.0 (3.0.154.0)
Syntax
Parameters
- settings
- Type: Apitron.PDF.Rasterizer.ConfigurationRenderingSettings
The rendering settings, can't be null. - errorLogger (Optional)
- Type: Apitron.PDF.Rasterizer.ErrorHandlingErrorLogger
An optional error logger object.
Return Value
Type: BitmapA bitmap representing content of the page, any errors encountered will be logged to errorLogger if present. If rendering fails null will be returned.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | If settings is null. |
See Also