MediaSize constructor
MediaSize(
{ - required int width,
- required int height,
- required String vendorId,
})
Implementation
MediaSize({
/// Width (in micrometers) of the media used for printing.
required int width,
/// Height (in micrometers) of the media used for printing.
required int height,
/// Vendor-provided ID, e.g. "iso_a3_297x420mm" or "na_index-3x5_3x5in".
/// Possible values are values of "media" IPP attribute and can be found on
/// <a
/// href="https://www.iana.org/assignments/ipp-registrations/ipp-registrations.xhtml">
/// IANA page</a> .
required String vendorId,
}) : _wrapped = $js.MediaSize(
width: width,
height: height,
vendorId: vendorId,
);