 | PdfPageObject.Flatness Property |
Gets or sets the precision with which curves are to be rendered on the output device.
Namespace: Patagames.Pdf.NetAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic float Flatness { get; set; }
Public Property Flatness As Single
Get
Set
public:
property float Flatness {
float get ();
void set (float value);
}
member Flatness : float32 with get, set
/** @property */
public float get_Flatness()
/** @property */
public void set_Flatness(float value)
function get_Flatness();
function set_Flatness(value);
Property Value
SingleA number in the range 0 to 100; a value of 0 specifies the output device’s default flatness tolerance.
RemarksThe 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