Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

PdfPageRenderOptions Class

Definition

Namespace:
Windows.Data.Pdf

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

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

Constructors

Name Description
PdfPageRenderOptions()

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

Properties

Name Description
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


Feedback

Was this page helpful?