hi. when i try to make pdf to html at Hebrew language. i get it not good
i join sample of code and the file
tasks-showPic.api.pdf (47.7 KB)
' ---=== The new CV TO HTML ===---
'---=== Convert to bytes ===---
Dim fs As System.IO.Stream = f.InputStream
Dim br As New BinaryReader(fs)
Dim buffer() As Byte = br.ReadBytes(Convert.ToInt32(fs.Length))
Dim htmlStream As New MemoryStream(buffer)
Dim fileArr = split(fileName,".")
Dim fileType = fileArr(ubound(fileArr))
Dim htmlCv As String
Dim HtmlSaveOptionsa As String
' ===--- 1. if the file is Pdf ---==='
if lcase(fileType)="pdf" then
Dim docNewSteam As New MemoryStream()
Dim docHtmla As New Aspose.pdf.Document(htmlStream)
Dim doc As new Aspose.Pdf.Document(htmlStream)
Dim htmlOptions As new Aspose.Pdf.HtmlSaveOptions()
htmlOptions.PartsEmbeddingMode = Aspose.Pdf.HtmlSaveOptions.PartsEmbeddingModes.EmbedAllIntoHtml
htmlOptions.LettersPositioningMethod = 0 '//LettersPositioningMethods.UseEmUnitsAndCompensationOfRoundingErrorsInCss
htmlOptions.RasterImagesSavingMode = Aspose.Pdf.HtmlSaveOptions.RasterImagesSavingModes.AsEmbeddedPartsOfPngPageBackground
htmlOptions.BatchSize = 640
doc.Save(docNewSteam, htmlOptions)
thank you