Table of Contents

Method AspectRatio

Namespace
BitMiracle.Docotic.Pdf.Layout
Assembly
BitMiracle.Docotic.Pdf.Layout.dll

AspectRatio(double, AspectRatioMode)

Applies aspect ratio restrictions to the content.

public LayoutContainer AspectRatio(double ratio, AspectRatioMode option = AspectRatioMode.FitArea)

Parameters

ratio double

The aspect ratio.

option AspectRatioMode

The scaling mode.

Returns

LayoutContainer

The nested container with the applied aspect ratio.