ApiExamples.ExHtmlFixedSaveOptions.EncodingUsingNewEncoding C# (CSharp) Метод

EncodingUsingNewEncoding() приватный Метод

private EncodingUsingNewEncoding ( ) : void
Результат void
        public void EncodingUsingNewEncoding()
        {
            Document doc = DocumentHelper.CreateDocumentFillWithDummyText();

            HtmlFixedSaveOptions htmlFixedSaveOptions = new HtmlFixedSaveOptions
            {
                Encoding = new UTF32Encoding(),
                SaveFormat = SaveFormat.HtmlFixed,
                ExportEmbeddedCss = true,
                ExportEmbeddedFonts = true,
                ExportEmbeddedImages = true,
                ExportEmbeddedSvg = true
            };

            doc.Save(MyDir + "EncodingUsingNewEncoding.html", htmlFixedSaveOptions);
        }