Browse our Products

Aspose.HTML for .NET 18.12 Release Notes

Aspose.HTML for .NET 18.12 Release Notes


As per regular monthly update process of all APIs being offered by Aspose, we are honored to announce December release of Aspose.HTML for .NET. In this release, we have also improved the event broadcasting and style processing. Apart from that we have made some internal bug fixes and enhancements as mentioned in the table below:

Improvements and Changes

KeySummaryCategory
HTMLNET-1628Option for ignoring exceptions when rendering HTML into imageBug
HTMLNET-1584Alignment problem with HTML to ImageBug
HTMLNET-1625OnLoad event fired incorrectlyBug
HTMLNET-1566Incorrect result page dimension during HTML to PDF conversionBug

Added APIs:

Added ‘Sandbox.Images’ flag in order to restrict resources processing

 namespace Aspose.Html

{

    /// <summary>

    /// A sandboxing flag set is a set of zero or more of the following flags, which are used to restrict the abilities that potentially untrusted resources.

    /// </summary>

    [Flags]

    public enum Sandbox

    {

        /// <summary>

        /// This flag disables image loading.

        /// </summary>

        Images = 0x1 << 11

    }

}

Changed APIs:

Spelling mistake for ‘compression’ enumeration was fixed

 namespace Aspose.Html.Rendering.Image

{

    public class ImageRenderingOptions : RenderingOptions

    {

        public enum Comression

        {

            /// <summary>

            /// The LZW compression schema is used.

            /// </summary>

            LZW = 2,

            /// <summary>

            /// The CCITT3 compression schema is used.

            /// </summary>

            CCITT3 = 3,

            /// <summary>

            /// The CCITT4 compression schema is used.

            /// </summary>

            CCITT4 = 4,

            /// <summary>

            /// The RLE compression schema is used.

            /// </summary>

            Rle = 5,

            /// <summary>

            /// The Tagged Image File Format (TIFF) image is not compressed.

            /// </summary>

            None = 6

        }

    }

}
 namespace Aspose.Html.Rendering.Image

{

    /// <summary>

    /// Specifies the possible compression schemes for Tagged Image File Format (TIFF) bitmap images.

    /// </summary>

    public enum Compression

    {

        /// <summary>

        /// The LZW compression schema is used.

        /// </summary>

        LZW = 2,

        /// <summary>

        /// The CCITT3 compression schema is used.

        /// </summary>

        CCITT3 = 3,

        /// <summary>

        /// The CCITT4 compression schema is used.

        /// </summary>

        CCITT4 = 4,

        /// <summary>

        /// The RLE compression schema is used.

        /// </summary>

        Rle = 5,

        /// <summary>

        /// The Tagged Image File Format (TIFF) image is not compressed.

        /// </summary>

        None = 6

    }

}