Enum AspectRatioMode
- Namespace
- BitMiracle.Docotic.Pdf.Layout
- Assembly
- BitMiracle.Docotic.Pdf.Layout.dll
Specifies how to resize a content while preserving an aspect ratio.
public enum AspectRatioMode
Fields
FitArea = 0
Scale the content to fit the available width and height.
FitHeight = 2
Scale the content to fit the available height.
FitWidth = 1
Scale the content to fit the available width.
Remarks
One of the use cases is the AspectRatio(double, AspectRatioMode) method. Aspect ratio mode parameter clarifies how the method should restrict the content.