withOrientation method
Implementation
CPDFPageSize withOrientation(Orientation orientation) {
if (orientation == Orientation.landscape) {
return CPDFPageSize._(name, height, width, isCustom: isCustom);
}
return this;
}
CPDFPageSize withOrientation(Orientation orientation) {
if (orientation == Orientation.landscape) {
return CPDFPageSize._(name, height, width, isCustom: isCustom);
}
return this;
}