/// <summary> /// 4up layout requires matching paper orientation instead of the opposite paper orientation. /// This method achieves that happy state. /// </summary> protected override void SetPaperSize(PaperTarget paperTarget) { var size = paperTarget.GetPaperDimensions(_inputPdf.PixelHeight, _inputPdf.PixelWidth); _paperWidth = size.X; _paperHeight = size.Y; }
protected virtual void SetPaperSize(PaperTarget paperTarget) { _paperWidth = paperTarget.GetPaperDimensions(_inputPdf.PixelWidth, _inputPdf.PixelHeight).X; _paperHeight = paperTarget.GetPaperDimensions(_inputPdf.PixelWidth, _inputPdf.PixelHeight).Y; }