public class HtmlFixedPageHorizontalAlignment
Example:
Document doc = new Document(getMyDir() + "Rendering.docx");
HtmlFixedSaveOptions htmlFixedSaveOptions = new HtmlFixedSaveOptions();
{
htmlFixedSaveOptions.setPageHorizontalAlignment(pageHorizontalAlignment);
}
doc.save(getArtifactsDir() + "HtmlFixedSaveOptions.HorizontalAlignment.html", htmlFixedSaveOptions);
Field Summary | ||
---|---|---|
static final int | LEFT | |
Align pages to the left.
|
||
static final int | CENTER | |
Center pages. This is the default value.
|
||
static final int | RIGHT | |
Align pages to the right.
|