rbscan.PdfContentsExtender.DrawFullPageImage C# (CSharp) Method

DrawFullPageImage() public static method

public static DrawFullPageImage ( this contents, PdfFileWriter.PdfImage image, bool landscape ) : void
contents this
image PdfFileWriter.PdfImage
landscape bool
return void
        public static void DrawFullPageImage( this PdfContents contents, PdfImage image, bool landscape )
        {
            if ( landscape == true )
            {
                contents.DrawImage( image, 0, 0, 29.7, 21 );
            }
            else
            {
                contents.DrawImage( image, 0, 0, 21, 29.7 );
            }
        }
PdfContentsExtender