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.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public PointF ConvertPdfUnitsToPixels(
PointF pt,
Dpi resolution
)
Public Function ConvertPdfUnitsToPixels (
pt As PointF,
resolution As Dpi
) As PointF
Parameters
- pt
- Type: System.DrawingPointF
- resolution
- Type: Atalasoft.ImagingDpi
Return Value
Type:
PointFRemarks 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