Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfPrinterMedia

OfficeIMO.Workflows

Namespace
OfficeIMO.Workflows
Assembly
OfficeIMO.Workflows
Source revision
ac7e6e1bad8a with working tree changes
Implements
IEquatable<PdfPrinterMedia>
Modifiers
sealed

A paper size reported by a printer queue.

Inheritance

  • object
  • PdfPrinterMedia

Usage

Explore 8 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 5

Constructors

public PdfPrinterMedia(string Id, string Name, PdfPageSize? Size) #

A paper size reported by a printer queue.

Parameters

Id string required
Provider identifier: a Windows paper code or a CUPS media keyword.
Name string required
Driver-supplied display name.
Size OfficeIMO.Pdf.PdfPageSize? required
Portrait paper dimensions, or null when the provider does not state them.

Methods

public PdfPrinterMedia <Clone>$() #
public void Deconstruct(out string Id, out string Name, out PdfPageSize? Size) #

Parameters

Id string required
Name string required
Size PdfPageSize? required
Equals 2 overloads
public override bool Equals(object? obj) #

Parameters

obj object? required

Returns

bool
public bool Equals(PdfPrinterMedia? other) #

Parameters

other PdfPrinterMedia? required

Returns

bool
public override int GetHashCode() #

Returns

int
public static bool op_Equality(PdfPrinterMedia? left, PdfPrinterMedia? right) #

Parameters

left PdfPrinterMedia? required
right PdfPrinterMedia? required

Returns

bool
public static bool op_Inequality(PdfPrinterMedia? left, PdfPrinterMedia? right) #

Parameters

left PdfPrinterMedia? required
right PdfPrinterMedia? required

Returns

bool
public override string ToString() #

Returns a string that represents the current object.

Returns

string A string that represents the current object.

Properties

public string Id { get; init; } #

Provider identifier: a Windows paper code or a CUPS media keyword.

public string Name { get; init; } #

Driver-supplied display name.

public PdfPageSize? Size { get; init; } #

Portrait paper dimensions, or null when the provider does not state them.