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

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

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

            HtmlFixedSaveOptions htmlFixedSaveOptions = new HtmlFixedSaveOptions
            {
                Encoding = Encoding.GetEncoding("utf-16"),
                SaveFormat = SaveFormat.HtmlFixed,
                ExportEmbeddedCss = true,
                ExportEmbeddedFonts = true,
                ExportEmbeddedImages = true,
                ExportEmbeddedSvg = true
            };

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