Click or drag to resize

PdfUnitConvertor ConvertToPixels Method (RectangleF, PdfGraphicsUnit)

Converts the rectangle location and size to Pixels from specified measure units

Namespace: Spire.Pdf.Graphics
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public RectangleF ConvertToPixels(
	RectangleF rect,
	PdfGraphicsUnit from
)

Parameters

rect
Type: System.Drawing RectangleF
source rectangle
from
Type: Spire.Pdf.Graphics PdfGraphicsUnit
source rectangle measure units

Return Value

Type: RectangleF
Rectangle with Pixels
See Also