mindee-api-dotnet

PdfUtils.DrawPageContent Method

Declaring Type: PdfUtils
Namespace: Mindee.Pdf
Assembly: Mindee
Assembly Version: 3.21.0+995c229708fe61b0dacbe0bfca8ad9e39db87623

Draws the content of a bitmap onto a canvas. Optionally writes the text from a source PDF onto said canvas.

public static void DrawPageContent(SKCanvas canvas, SKBitmap resizedBitmap, IPageReader pageReader, bool disableSourceText);

Parameters

canvas SKCanvas

SkiaSharp canvas object.

resizedBitmap SKBitmap

Resized bitmap to transpose.

pageReader IPageReader

DocLib pagerader object to optionally extract the text.

disableSourceText bool

If true, the text transposition is skipped.


Documentation generated by MdDocs