HtmlPageLayoutOption
Inheritance: java.lang.Object, com.aspose.ms.System.ValueType<com.aspose.ms.System.Enum> com.aspose.ms.System.Enum com.aspose.pdf.HtmlPageLayoutOption, com.aspose.ms.System.ValueType<com.aspose.ms.System.Enum>, com.aspose.ms.System.Enum com.aspose.pdf.HtmlPageLayoutOption, com.aspose.ms.System.Enum, com.aspose.pdf.HtmlPageLayoutOption
public final class HtmlPageLayoutOption extends com.aspose.ms.System.Enum
Binary Flag Specifies flags that together other options determine sizes and layouts of pages.
Fields
| Field | Description |
|---|---|
| FitToWidestContentWidth | Indicates that the width of the page is determinated from the content size itself, not from the specified page width. |
| None | Default value which indicates that the HtmlPageLayoutOption will not affect the sizes and layouts of pages. |
| ScaleToPageWidth | Indicates the content of the document will be scaled to fit the page. |
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.
None
public static final int None
Default value which indicates that the HtmlPageLayoutOption will not affect the sizes and layouts of pages.
ScaleToPageWidth
public static final int ScaleToPageWidth
Indicates the content of the document will be scaled to fit the page.