Packageorg.alivepdf.layout
Classpublic final class Mode
InheritanceMode Inheritance Object



Public Constants
 ConstantDefined By
  FIT_TO_PAGE : String = FitToPage
[static] Resizes the image so that it fits the page dimensions.
Mode
  NONE : String = None
[static] No resizing behavior involved.
Mode
  RESIZE_PAGE : String = ResizePage
[static] Resizes the page to the image dimensions.
Mode
Constant Detail
FIT_TO_PAGEConstant
public static const FIT_TO_PAGE:String = FitToPage

Resizes the image so that it fits the page dimensions. This will never stretch your image.

NONEConstant 
public static const NONE:String = None

No resizing behavior involved.

RESIZE_PAGEConstant 
public static const RESIZE_PAGE:String = ResizePage

Resizes the page to the image dimensions. White margins will be preserved. Use PDF.setMargins() to modify them.