ImageFit Enumeration

Pageflex Document Action API

Pageflex Document Action API ImageFit Enumeration
Namespaces > Pageflex.Scripting > ImageFit
Enumeration of Image fit modes.
Syntax
C# Visual Basic Managed C++
public enum ImageFit
Public Enumeration ImageFit
public enum class ImageFit
Members
Member Description
FitImage
The dimensions of the Image object adjust to the dimensions of the image data, scaled by HorizontalScale and VerticalScale.
FitWidth
The image data is scaled to fit the width of the Image object. The height of the Image object adjusts so that the image data is not distorted.
FitHeight
The image data is scaled to fit the height of the Image object. The width of the Image object adjusts so that the image data is not distorted.
StretchToFit
The image data is stretched to fit the dimensions of the Image object.
ScaleToFit
The Image object dimensions are scaled to fit within the image's maximum width and height and while preserving the aspect ratio of the image data.
ScaleToFitPageRelative
The Image object dimensions are scaled to fit within image's maximum width and height (which are computed relative to the page size) while preserving the aspect ratio of the image data.

Assembly: PFScript Version: 8.0.7.1407 (Module: PFScript)