Image.SetDpi
Overloads
SetDpi(Single) | Scales the image to have the specified dpi (also known as pixels per inch). |
SetDpi(Single, Single) | Scales the image to have the specified dpi (also known as pixels per inch). |
SetDpi(Single)
Scales the image to have the specified dpi (also known as pixels per inch).
public void SetDpi(float dpi)
Sub SetDpi(dpi As Single)
Parameters
- dpi
- Single
DPI of the image.
Licensing Info
This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
SetDpi(Single, Single)
Scales the image to have the specified dpi (also known as pixels per inch).
public void SetDpi(float horizontalDpi, float verticalDpi)
Sub SetDpi(horizontalDpi As Single, verticalDpi As Single)
Parameters
- horizontalDpi
- Single
Horizontal dpi of the image.
- verticalDpi
- Single
Horizontal dpi of the image.
Licensing Info
This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.