Class RenderOptions
Options for rendering.
Inheritance
System.Object
RenderOptions
Namespace: PSPDFKit
Assembly: PSPDFKit.dll
Syntax
public sealed class RenderOptions
Properties
BitmapAlphaMode
The alpha mode of the new software bitmap. Default is Windows.Graphics.Imaging.BitmapAlphaMode.Straight.
Declaration
public BitmapAlphaMode BitmapAlphaMode { get; set; }
Property Value
Type | Description |
---|---|
Windows.Graphics.Imaging.BitmapAlphaMode |
BitmapPixelFormat
The pixel format of the new software bitmap. Default is Windows.Graphics.Imaging.BitmapPixelFormat.Bgra8.
Declaration
public BitmapPixelFormat BitmapPixelFormat { get; set; }
Property Value
Type | Description |
---|---|
Windows.Graphics.Imaging.BitmapPixelFormat |
RenderAnnotations
Whether or not annotations should be rendered.
Declaration
public bool RenderAnnotations { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
RenderForPrinting
Whether or not the render is for printing. See NoPrint.
Declaration
public bool RenderForPrinting { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Size
Width and height of bitmap in pixels to be rendered.
Declaration
public Size Size { get; set; }
Property Value
Type | Description |
---|---|
Windows.Foundation.Size |