Click or drag to resize

PdfPageObjectFlatness Property

Gets or sets the precision with which curves are to be rendered on the output device.

Namespace:  Patagames.Pdf.Net
Assemblies:   Patagames.Pdf.Xamarin.iOS (in Patagames.Pdf.Xamarin.iOS.dll) Version: 4.57.2704
  Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.57.2704
public float Flatness { get; set; }

Property Value

Type: Single
A number in the range 0 to 100; a value of 0 specifies the output device’s default flatness tolerance.

The value of this parameter gives the maximum error tolerance, measured in output device pixels; smaller numbers give smoother curves at the expense of more computation and memory use.

The flatness tolerance controls the maximum permitted distance in device pixels between the mathematically correct path and an approximation constructed from straight line segments, as shown in Figure 6.6

FIGURE 6.6 Flatness tolerance
See Also