Ejemplo n.º 1
0
        /// <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;
        }
Ejemplo n.º 2
0
 protected virtual void SetPaperSize(PaperTarget paperTarget)
 {
     _paperWidth  = paperTarget.GetPaperDimensions(_inputPdf.PixelWidth, _inputPdf.PixelHeight).X;
     _paperHeight = paperTarget.GetPaperDimensions(_inputPdf.PixelWidth, _inputPdf.PixelHeight).Y;
 }