Click or drag to resize

PdfTextPageConvertPdfUnitsToPixels Method (PointF, Dpi)

Converts a point given in PDF User space units to the corresponding pixel location at the given resolution.

Namespace:  Atalasoft.Pdf.TextExtract
Assembly:  Atalasoft.dotImage.PdfReader (in Atalasoft.dotImage.PdfReader.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public PointF ConvertPdfUnitsToPixels(
	PointF pt,
	Dpi resolution
)

Parameters

pt
Type: System.DrawingPointF
resolution
Type: Atalasoft.ImagingDpi

Return Value

Type: PointF

[Missing <returns> documentation for "M:Atalasoft.Pdf.TextExtract.PdfTextPage.ConvertPdfUnitsToPixels(System.Drawing.PointF,Atalasoft.Imaging.Dpi)"]

Remarks

In a PDF, the origin is at the bottom-left of a page, and a Y length is positive when starting at the bottom and going towards the top of the page. In pixels, the origin is at the top-left of the image and a Y length is positive when starting at the top of the image and going towards the bottom of the image.

See Also