WebConvertOptions

Inheritance: java.lang.Object, com.groupdocs.conversion.contracts.ValueObject, com.groupdocs.conversion.options.convert.ConvertOptions, com.groupdocs.conversion.options.convert.CommonConvertOptions

public class WebConvertOptions extends CommonConvertOptions<WebFileType>

Options for conversion to Web file type.

Constructors

Constructor Description
WebConvertOptions() Initializes new instance of class.

Methods

Method Description
isUsePdf()
setUsePdf(boolean usePdf)
isFixedLayout()
setFixedLayout(boolean fixedLayout)
isFixedLayoutShowBorders()
setFixedLayoutShowBorders(boolean fixedLayoutShowBorders)
getZoom()
setZoom(int zoom)
isEmbedFontResources() Specifies whether to embed font resources within the main HTML.
setEmbedFontResources(boolean embedFontResources) Specifies whether to embed font resources within the main HTML.

WebConvertOptions()

public WebConvertOptions()

Initializes new instance of class.

isUsePdf()

public boolean isUsePdf()

Returns: boolean

setUsePdf(boolean usePdf)

public void setUsePdf(boolean usePdf)

Parameters:

Parameter Type Description
usePdf boolean

isFixedLayout()

public boolean isFixedLayout()

Returns: boolean

setFixedLayout(boolean fixedLayout)

public void setFixedLayout(boolean fixedLayout)

Parameters:

Parameter Type Description
fixedLayout boolean

isFixedLayoutShowBorders()

public boolean isFixedLayoutShowBorders()

Returns: boolean

setFixedLayoutShowBorders(boolean fixedLayoutShowBorders)

public void setFixedLayoutShowBorders(boolean fixedLayoutShowBorders)

Parameters:

Parameter Type Description
fixedLayoutShowBorders boolean

getZoom()

public int getZoom()

Returns: int

setZoom(int zoom)

public void setZoom(int zoom)

Parameters:

Parameter Type Description
zoom int

isEmbedFontResources()

public boolean isEmbedFontResources()

Specifies whether to embed font resources within the main HTML. Default is false. Note: If FixedLayout is set to true, font resources will always be embedded.

Returns: boolean

setEmbedFontResources(boolean embedFontResources)

public void setEmbedFontResources(boolean embedFontResources)

Specifies whether to embed font resources within the main HTML. Default is false. Note: If FixedLayout is set to true, font resources will always be embedded.

Parameters:

Parameter Type Description
embedFontResources boolean