PDFDrawSetImageSmoothing Method |
Enable or disable image smoothing.
The rasterizer allows a tradeoff between rendering quality and rendering speed.
This function can be used to indicate the preference between rendering speed and quality. image smoothing is enabled by default.
Namespace:
pdftron.PDF
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public void SetImageSmoothing(
bool smoothingEnabled,
bool hq_image_resampling
)
Public Sub SetImageSmoothing (
smoothingEnabled As Boolean,
hq_image_resampling As Boolean
)
public:
virtual void SetImageSmoothing(
[InAttribute] bool smoothingEnabled,
[InAttribute] bool hq_image_resampling
) sealed
function SetImageSmoothing(smoothingEnabled, hq_image_resampling);
Parameters
- smoothingEnabled
- Type: SystemBoolean
Whether to enable image smoothing or not.
- hq_image_resampling
- Type: SystemBoolean
whether to use a higher quality (but slower) smoothing algorithm
Remarks
Image smoothing option has effect only if the source image has higher resolution
that the output resolution of the image on the rasterized page. PDFNet automatically
controls at what resolution/zoom factor, 'image smoothing' needs to take effect.
See Also