PageDraw Method (Graphics, RenderSettings, Summary)
Draws the page content.

Namespace:  TallComponents.PDF.Rasterizer
Assembly:  TallComponents.PDF.Rasterizer (in TallComponents.PDF.Rasterizer.dll) Version: 3.0.147.0
Syntax
public void Draw(
	Graphics graphics,
	RenderSettings renderSettings,
	Summary summary
)

Parameters

graphics
Type: System.DrawingGraphics
Graphics object to which content is drawn.
renderSettings
Type: TallComponents.PDF.Rasterizer.ConfigurationRenderSettings
Settings that control the render process.
summary
Type: TallComponents.PDF.Rasterizer.DiagnosticsSummary
The summary to which diagnostic information is written
Examples
Page page = document.Pages[selectedPage];

const float DPI = 300;
bitmap = new Bitmap( 
  (int) ( page.Width / 72 * DPI ), 
  (int) ( page.Height / 72 * DPI ) );
Graphics graphics = Graphics.FromImage( bitmap );

float scale = DPI / 72;
graphics.ScaleTransform( scale, scale );

<b>page.Draw( graphics );</b>
See Also