Class
PdfPrinterMedia
OfficeIMO.Workflows
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.
Returned or exposed by 3
- Property PdfPrinterCapabilities.DefaultMedia
- Property PdfPrinterCapabilities.Media
- Method PdfPrinterMedia.<Clone>$
Accepted by parameters 5
- Method PdfPrinterMedia.Equals
- Method PdfPrinterMedia.op_Equality
- Method PdfPrinterMedia.op_Equality
- Method PdfPrinterMedia.op_Inequality
- Method PdfPrinterMedia.op_Inequality
Constructors
public PdfPrinterMedia(string Id, string Name, PdfPageSize? Size) #A paper size reported by a printer queue.
Parameters
- Id string
- Provider identifier: a Windows paper code or a CUPS media keyword.
- Name string
- Driver-supplied display name.
- Size OfficeIMO.Pdf.PdfPageSize?
- Portrait paper dimensions, or null when the provider does not state them.
Methods
public PdfPrinterMedia <Clone>$() #Returns
PdfPrinterMediapublic void Deconstruct(out string Id, out string Name, out PdfPageSize? Size) #Parameters
- Id string
- Name string
- Size PdfPageSize?
Equals 2 overloads
public override int GetHashCode() #Returns
intpublic static bool op_Equality(PdfPrinterMedia? left, PdfPrinterMedia? right) #Parameters
- left PdfPrinterMedia?
- right PdfPrinterMedia?
Returns
boolpublic static bool op_Inequality(PdfPrinterMedia? left, PdfPrinterMedia? right) #Parameters
- left PdfPrinterMedia?
- right PdfPrinterMedia?
Returns
boolpublic override string ToString() #Returns a string that represents the current object.
Returns
string A string that represents the current object.