Questions tagged [spire.doc]

Independent .NET class library which allows user to directly operate Word document, format and style and insert content to Word document without Microsoft Office.

55 questions
0
votes
0 answers

Cannot delete image after inserting on a word document at a specific location c# & spire.doc

var getImage = model.Document.Get().Where(x => x.ReferenceNo == ReferenceNo && x.ChecklistId == 225).FirstOrDefault(); var Imagefilename = path + "\\" + ReferenceNo.Replace("/", "_") + "IdentityPhoto.Jpg"; var filebytes =…
0
votes
1 answer

CS0012 C# The type 'HttpContext' is defined in an assembly that is not referenced

I have this code to Merge documents to .PDF using Spire but i get the following code in this line result.Save(outputFile,Spire.Pdf.FileFormat.PDF); CS0012 C# The type 'HttpContext' is defined in an assembly that is not referenced. You must add a…
afri
  • 49
  • 2
  • 12
0
votes
1 answer

Conversion of word to pdf with original document dimensions using spire doc

How to convert word file to a PDF, so that the page setup like margins and orientations of source documents and output PDF want to same.I tried the following code from E-ICEBLUE. 'Load Document Dim document As New…
0
votes
1 answer

Convert docx to PDF using spire.doc

I need to convert word document to PDF. I am using spire.doc for the same purpose. Everything is working fine but one. I have a header section defined in Word Document which is missing in PDF after conversion. Can anyone help me how to fix…
Manoj
  • 863
  • 1
  • 8
  • 12
0
votes
1 answer

Using Spire.Doc in Xamarin C#

Help me to correct this exception, idk what's that. I couldn't find any information about that. What do I need to do? using System; using Spire.Doc; using Spire.Doc.Documents; namespace TOC { class MainClass { public static void…
Beraliv
  • 518
  • 7
  • 20
0
votes
1 answer

parsing text of multiple tags under single tag in xslt

I am working in xml and xslt. I have following xml Software-Hardware Integration in Automotive Product…
user
  • 128
  • 2
  • 12
-1
votes
1 answer

Find CheckBox content control in word and check with Spire.Doc?

I have a word file with content control checkboxes. How to find those checkboxes with sprire.doc ???
Ginner
  • 1
-1
votes
1 answer

safer library whether to use poi or spire.doc in spring boot

I have a project to combine multiple docx documents into 1 docx file using spring boot. I'm confused about using the poi library or E-iceblue's free Spire.Doc. I've managed to use those two libraries. And I'm more comfortable using the spire library…
-1
votes
1 answer

How to get line color from Word [C#][Spire.Doc]

I have the word document which text like this. In my own little project I convert .doc or .docx document to .txt file via Spire.Doc and get lines by one by, then do with them some work, but now there appeared a multi-colored text and I need to get a…
-3
votes
2 answers

Find and replace all the words starting with a specific character

I have a requirement to replace all words starting with $ in a Word document sample: $Address $Lastname etc. Now at the beginning I must create a list with all words that start with $ After that I replace all words $Lastname -> Waning etc How can…
1 2 3
4