Docotic.Pdf Library Help > BitMiracle.Docotic.Pdf > PdfImageScaleMode Enumeration
Specifies when and how an image on a widget gets scaled.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public enum PdfImageScaleMode
VB
Public Enumeration PdfImageScaleMode

Members

  Member nameValueDescription
AlwaysScale0 Scale image to exactly fit into the widget rectangle.
ScaleWhenImageBigger1 Scale only when the image is bigger than the widget rectangle.
ScaleWhenImageSmaller2 Scale only when the image is smaller than the widget rectangle.
NeverScale3 Never scale the image.

See Also