Share via


IppResolution Class

Definition

Represents information about a resolution attribute as defined by the Internet Printing Protocol (IPP) specification.

public ref class IppResolution sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Printers.IIppResolutionFactory, 851968, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 851968)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class IppResolution final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Printers.IIppResolutionFactory), 851968, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 851968)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class IppResolution
function IppResolution(width, height, unit)
Public NotInheritable Class IppResolution
Inheritance
Object Platform::Object IInspectable IppResolution
Attributes

Windows requirements

Device family
Windows 11 (introduced in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v14.0)

Remarks

For more information about this class, see Print support app design guide.

Constructors

IppResolution(Int32, Int32, IppResolutionUnit)

Creates a new instance of the IppResolution class with the specified values. This object represents information about a resolution attribute as defined by the Internet Printing Protocol (IPP).

Properties

Height

Gets the height of the resolution attribute (as defined by the Internet Printing Protocol (IPP)) that is represented by the current IppResolution object.

Unit

Gets the unit of the resolution attribute (as defined by the Internet Printing Protocol (IPP)) that is represented by the current IppResolution object.

Width

Gets the width of the resolution attribute (as defined by the Internet Printing Protocol (IPP)) that is represented by the current IppResolution object.

Applies to

See also