getDimensionsInPixels property
Returns the printing pixel dimensions for 72 PPI
Implementation
List<int> get getDimensionsInPixels {
switch (this) {
case PrintSize.A0:
return [2384, 3370];
case PrintSize.A1:
return [1684, 2384];
case PrintSize.A2:
return [1191, 1684];
case PrintSize.A3:
return [842, 1191];
case PrintSize.A4:
return [595, 842];
case PrintSize.A5:
return [420, 595];
case PrintSize.A6:
return [298, 420];
case PrintSize.A7:
return [210, 298];
case PrintSize.A8:
return [147, 210];
case PrintSize.A9:
return [105, 147];
case PrintSize.A10:
return [74, 105];
}
}