BoundaryGetBoundaryInPixels Method (Single)

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
Gets the boundary in pixels in the following format: [left bottom right top].

Namespace:  Apitron.PDF.Kit.FixedLayout
Assembly:  Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax

public double[] GetBoundaryInPixels(
	float dpi
)

Parameters

dpi
Type: SystemSingle
Requred dpi.

Return Value

Type: Double
Rectangular boundaries in pixels.
Examples

C#
// get media box boundaries in pixels.
Boundary mediaBox = Boundaries.A4;
double[] bounds = mediaBox.GetBoundaryInPixels();
See Also

Reference