public final class BadHtmlHandlingStrategy
extends com.aspose.ms.System.Enum
This enum is used during HTML to PDF conversion of textblocks where IsHtmlTagSupported flag set as 'true'. It enumerates possible strategies of handling of situation when serious errors in converted HTML detected and Aspose.PDF unable normally process HTML markup.
Modifier and Type | Field and Description |
---|---|
static int |
ThrowException
Standard default strategy : exception will be thrown
|
static int |
TreatAsPlainText
Target Text's content will be treated as plain text, it's flag
IsHtmlTagSupported will be forcebly reset and processing will be
continued
|
public static final int ThrowException
Standard default strategy : exception will be thrown
public static final int TreatAsPlainText
Target Text's content will be treated as plain text, it's flag IsHtmlTagSupported will be forcebly reset and processing will be continued
Copyright © 2016 Aspose. All Rights Reserved.