Click or drag to resize

PDFViewCtrlSetThinLineAdjustment Method

Set thin line adjustment parameters.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public void SetThinLineAdjustment(
	bool pixel_grid_fit,
	bool stroke_adjust
)

Parameters

pixel_grid_fit
Type: SystemBoolean
if true (horizontal/vertical) thin lines will be snapped to integer pixel positions. This helps make thin lines look sharper and clearer. This option is turned off by default and it only works if path hinting is enabled.
stroke_adjust
Type: SystemBoolean
if true auto stroke adjustment is enabled. Currently, this would make lines with sub-pixel width to be one-pixel wide. This option is turned on by default.
See Also