PDFDrawSetThinLineAdjustment Method |
Set thin line adjustment parameters.
Namespace:
pdftron.PDF
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public void SetThinLineAdjustment(
bool pixelGridFit,
bool strokeAdjust
)
Public Sub SetThinLineAdjustment (
pixelGridFit As Boolean,
strokeAdjust As Boolean
)
public:
virtual void SetThinLineAdjustment(
[InAttribute] bool pixelGridFit,
[InAttribute] bool strokeAdjust
) sealed
function SetThinLineAdjustment(pixelGridFit, strokeAdjust);
Parameters
- pixelGridFit
- 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.
- strokeAdjust
- 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