HtmlPageLayoutOption

Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum

public final class HtmlPageLayoutOption extends System.Enum

Specifies flags that together other options determine sizes and layouts of pages.

Fields

FieldDescription
NoneDefault value which indicates that the HtmlPageLayoutOption will not affect the sizes and layouts of pages.
FitToWidestContentWidthIndicates that the width of the page is determinated from the content size itself, not from the specified page width.
ScaleToPageWidthIndicates the content of the document will be scaled to fit the page.

None

public static final int None

Default value which indicates that the HtmlPageLayoutOption will not affect the sizes and layouts of pages.

FitToWidestContentWidth

public static final int FitToWidestContentWidth

Indicates that the width of the page is determinated from the content size itself, not from the specified page width.

ScaleToPageWidth

public static final int ScaleToPageWidth

Indicates the content of the document will be scaled to fit the page.