Share via


PdfPageRenderOptions Class

Definition

Represents display settings for a single page of a Portable Document Format (PDF) document, such as the page's background color and its encoding type.

public ref class PdfPageRenderOptions sealed
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class PdfPageRenderOptions final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class PdfPageRenderOptions final
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class PdfPageRenderOptions
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class PdfPageRenderOptions
function PdfPageRenderOptions()
Public NotInheritable Class PdfPageRenderOptions
Inheritance
Object Platform::Object IInspectable PdfPageRenderOptions
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Constructors

PdfPageRenderOptions()

Creates and initializes a new instance of display settings for a single page of a Portable Document Format (PDF) document.

Properties

BackgroundColor

Gets or sets the Portable Document Format (PDF) page's background color.

BitmapEncoderId

Gets or sets the Portable Document Format (PDF) page's encoding type to be used while the page is being converted to a bitmap.

DestinationHeight

Gets or sets the final size of the rendering of the Portable Document Format (PDF) page in device-independent pixels (DIPs).

DestinationWidth

Gets or sets the final size of the rendering of the Portable Document Format (PDF) page in device-independent pixels (DIPs).

IsIgnoringHighContrast

Gets or sets whether the Portable Document Format (PDF) page uses the system's high contrast display setting.

SourceRect

Gets or sets a portion of the Portable Document Format (PDF) page to be displayed.

Applies to