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 = 0Scale the content to fit the available width and height.
FitHeight = 2Scale the content to fit the available height.
FitWidth = 1Scale 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.