Namespace: BitMiracle.Docotic.Pdf
public void Scale( double factor, PdfImageCompression compression )
Public Sub Scale ( factor As Double, compression As PdfImageCompression )
The aspect ratio of the image is preserved by this method.
This method uses default options for specified compression scheme.
Please use Scale(Double, PdfImageCompression, Int32) overload if you want to tune up compression scheme.
This method throws UnsupportedImageException when used on an inline image. You can check IsInline property before invoking this method.