PDFRasterizerSetThinLineAdjustment 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
)
Public Sub SetThinLineAdjustment (
pixel_grid_fit As Boolean,
stroke_adjust As Boolean
)
public:
virtual void SetThinLineAdjustment(
[InAttribute] bool pixel_grid_fit,
[InAttribute] bool stroke_adjust
) sealed
function SetThinLineAdjustment(pixel_grid_fit, 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