Quantcast
Channel: Aspose.Pdf Product Family
Viewing all 3131 articles
Browse latest View live

Maintain PDF/A after modifying PDF file

$
0
0

Hello,

We had logged an issue previously where modifying a PDF with PDF/A validation using Aspose was removing the PDF/A validation. This was issue PDFNEWNET-33379. We recently upgraded to Aspose.Cell 8.6.0.0 and the issue appears to have returned. Can you please confirm the bug has returned and let us know if a fix is scheduled?

 

Thank you,

Kim


ComboBoxField Custom Text Not Saving

$
0
0
Hi, 

The pdf form that we are trying to fill using Aspose.PDF has comboboxes that allow the user to enter custom text. We've tried using Facades.Forms and InteractiveFeatures.Forms but in both cases the comboboxfield does not retain the string value. I've attached the pdf file we are using.

And here is the code:

'Facade - FillField - We didn't think this would work from looking at the docs
'Looked like it matched on option name/value
pdfForm.FillField("Item Name", "Test Description")

- or - 

'Using the document
Dim cbItemName As ComboBoxField = TryCast(pdfForm.Document.Form("Item Name"), ComboBoxField)

cbItemName.Value = "Test Description" 'Value never changes here

Thanks


Throws exception converting when Html to Pdf for custom fonts

$
0
0
Hi I am trying to export HTML to PDF document. Sometimes HTML contain custom fonts that is not installed on the machine. In such case Aspose.Pdf throws exception. I have already set IsFontNotFoundExceptionThrown flag to false. I am using Aspose.Pdf version 8.8.0 Exception details: System.ApplicationException was unhandled by user code HResult=-2146232832 Message=The embedded font 'crisp' is not found. Make sure that you set correct path to the font file. Source=Aspose.Pdf StackTrace: at . . (String , Boolean , String , Exception ) at . . ( , String , String , Boolean , Boolean , Boolean , String , Boolean ) at . . (String , String , Boolean , Boolean , Boolean , String , Boolean ) at . . (TextInfo ) at . . (Text , Pdf ) at . . (Pdf , Section , Table , Row , Cell , Text , , , Boolean ) at . . (Pdf , Section , HeaderFooter , Table , Row , Cell , Text , , , Boolean ) at . . (Pdf , Section , Table , Row , Cell , , ) at . . (Pdf , Section , Table , Row , , ) at . . (Pdf doc, Section currentPart, HeaderFooter hf, Table table, assignInfo, useType, Boolean isFirst, & breakTableNextPart) at . . (Pdf , Section , ) at . . (Pdf ) at . . ( , Pdf ) at Aspose.Pdf.Generator.Pdf.Save(Stream stream) at HelpSTAR.BusinessRule.Core.clsRequestViewer.ExportRequestDetailsToPdf(Int32 requestId, Boolean publicMemoOnly, String excludedAuthors, String excludeTransactionTypes, hsSortDirection sortDirection, String whereClause, Int32 currentUserId) in c:\Development\HSSilverlight2012\BusinessRule\Core\clsRequestViewer.cs:line 1137 at HelpSTAR.Server.Factory.ServiceRequestFactory.ExportRequestDetailsToPdf(Int32 requestId, Boolean publicMemoOnly, String excludedAuthors, String excludeTransactionTypes, hsSortDirection sortDirection, String whereClause, Int32 currentUserId) in c:\Development\HSSilverlight2012\HelpSTAR.Server.Factory\ServiceRequestFactory.cs:line 5951 at HelpSTAR.Server.Services.LongTimeTransactionScopeService.ExportRequestDetailsToPdf(String userSessionKey, Int32 requestId, Boolean publicMemoOnly, String excludedAuthors, String excludeTransactionTypes, hsSortDirection sortDirection, String whereClause, Int32 currentUserId) in c:\Development\HSSilverlight2012\HelpSTAR.Server\Services\LongTimeTransactionScopeService.svc.cs:line 289 at SyncInvokeExportRequestDetailsToPdf(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) InnerException: System.ApplicationException HResult=-2146232832 Message=Font 'crisp' not found. Please make sure the customer font file is correctly set. Source=Aspose.Pdf StackTrace: at . . ( , String , String , Boolean ) at . . ( , String , String , Boolean , Boolean , Boolean , String , Boolean ) at . . ( , String , String , Boolean , Boolean , Boolean , String , Boolean ) InnerException: Thanks, Binoy

Chinese display incorrectly

$
0
0
Hello,

I created a program which replace some word to Chinese word. It work fine on my desktop (Win 7). But when it run on another computer (Win Server 2003), PDF will display totally different Chinese word (I view both PDF in Win 7). 

Here is my code snippet:

byte[] byteTemplate = File.ReadAllBytes("test.pdf");
MemoryStream ms = new MemoryStream(byteTemplate);
Aspose.Pdf.Document pdfDoc = null;
pdfDoc = new Aspose.Pdf.Document(ms);

string[,] temp = new string[,] { { "[TEMP_ENG]", "Hello!" }, { "[TEMP_CHI]", "你好!" } };

if (pdfDoc != null)
{
for (int i = 0; i <= temp.GetUpperBound(0); i++)
{
Aspose.Pdf.Text.TextFragmentAbsorber textFragmentAbsorber = new Aspose.Pdf.Text.TextFragmentAbsorber(temp[i, 0]);
pdfDoc.Pages.Accept(textFragmentAbsorber);

Aspose.Pdf.Text.TextFragmentCollection textFragmentCollection = textFragmentAbsorber.TextFragments;
foreach (Aspose.Pdf.Text.TextFragment textFragment in textFragmentCollection)
{
textFragment.Text = temp[i, 1];
}
}
}

pdfDoc.Flatten();

System.IO.MemoryStream pdfStream = new System.IO.MemoryStream();
pdfDoc.Save(pdfStream);
byte[] resultFile = new byte[pdfStream.Length];

pdfStream.Seek(0, System.IO.SeekOrigin.Begin);
pdfStream.Read(resultFile, 0, (int)pdfStream.Length);
pdfStream.Close();

string fileName = DateTime.Now.ToString("hhmmss") + ".pdf";
File.WriteAllBytes(fileName, resultFile);

ms.Close();

If the program is run on Win 7, correct word ("你好!") shows in PDF. But if the program is run on Win Server 2003, correct word ("你好!") displays as other Chinese word ("㬢圄"). The strange thing is if I select wrong Chinese word ("㬢圄") and copy and paste in Notepad, correct Chinese ("你好!") is shown in Notepad.

Is there something wrong in my program? Or some font is missing in Win Server 2003? 

Thanks!

Create Google Drive Storage - Broken callback url

$
0
0
I am trying to add a new Google Drive Storage option. The callback url is invalid, which is causing the error when trying to "Generate Token"

Error:invalid_request

Invalid parameter value for redirect_uri: Invalid scheme: httpss://cloud.aspose.com/StorageManagement/GoogleDriveCallback


Notice that the url being passed to Google starts with httpss://

can you please fix the typo so I can add a Drive Storage source

JVM memory usage while exporting PDF

$
0
0

Hi

We are licenced version of aspose.pdf 4.5. We are running following code using either DOM or SimplePDF at a time.
And configuring it by static variables. Boolean withRowFormatting is set to true if we only need row formatting and false if we only need cell formatting.

Problem facing.

1. For large number of selection say 2000 rows and 255 columns, getting java out of bound exception.. also changed the JVM size to 2gb
2. In case of simple pdf, if we increase the number of columns more than 255, whatever the row count is ,
   the downloaded pdf file shows 0 kb

   
Could you suggest , why PDF creation is consuming large amoumt JVM memory just to generate a PDF file of few Mbs
   
Here is snippet code, and its consuming large amount of memory to generate PDF for the both the cases
   
public class Test {
  
static int ROW = 2000; // Number of ROWS
static int COL = 300;//Number of COLUMNS
static Boolean withRowFormatting = true;

  
  public static void main(final String[] args) throws Exception
  {
SimplePDFAspose(); //PDF
DOMPDFAspose();  // Document
  }

public static void DOMPDFAspose() throws Exception
{
    com.aspose.pdf.Document doc = new com.aspose.pdf.Document();
    doc.getPages().add();
    doc.getPages().get_Item(1).getPageInfo().setMargin(new com.aspose.pdf.MarginInfo(50.0f, 50.0f,50.0f, 50.0f));
    final com.aspose.pdf.Table table = new com.aspose.pdf.Table();
    final com.aspose.pdf.Rows rows = table.getRows();
    doc.getPages().get_Item(1).getParagraphs().add(table);

    Boolean a = withRowFormatting;
    
    final com.aspose.pdf.MarginInfo mi = new com.aspose.pdf.MarginInfo(3.0f,3.0f,3.0f,3.0f);
    for (int j=0; j<ROW; j++)
 {
System.out.println("Row number : " + (j + 1));
final com.aspose.pdf.Row row = rows.add();

if (a) {
row.setBackgroundColor(com.aspose.pdf.Color.getLightGray());
row.setBorder(new com.aspose.pdf.BorderInfo(
com.aspose.pdf.BorderSide.All));
}

final com.aspose.pdf.Cells cells = row.getCells();
for (int i = 0; i < COL; i++) {

com.aspose.pdf.Cell cell = cells.add("Row->" + (j + 1)
+ ":Column->" + (i + 1));

if (!a) {
cell.isWordWrapped(true);
cell.setBackgroundColor(com.aspose.pdf.Color.getAqua());
cell.setBorder(new com.aspose.pdf.BorderInfo(
com.aspose.pdf.BorderSide.All));
cell.setVerticalAlignment(VerticalAlignmentType.Center);
cell.setAlignment(AlignmentType.Center);
cell.setMargin(mi);
}

cell.isWordWrapped(true);
cell.setBackgroundColor(com.aspose.pdf.Color.getLightGray());
cell.setBorder(new com.aspose.pdf.BorderInfo(
com.aspose.pdf.BorderSide.All));
cell.setVerticalAlignment(VerticalAlignmentType.Center);
cell.setAlignment(AlignmentType.Center);

}
}

    doc.save("E:/aakash/TableSpan_Issue_DOM.pdf");
    
  }

public static void SimplePDFAspose() throws Exception
  {
    final Pdf pdf = new Pdf();
    final Section section = pdf.getSections().add();
    final Paragraphs paragraphs = section.getParagraphs();
    section.getPageInfo().setMargin(new MarginInfo(50.0f));
    final Table table = new Table();
    final Rows rows = table.getRows();
    paragraphs.add(table);    
    final TextInfo textInfo = new TextInfo();
    textInfo.setFontName("Arial");
    final BorderInfo borderInfo = new BorderInfo(BorderSide.All, new aspose.pdf.Color("#000000"));
    final MarginInfo marginInfo = new MarginInfo(3.0f);
    final Color color = new Color("#CCCCCC");
    
    final boolean a = withRowFormatting;
    
    for (int j=0; j<ROW; j++)
    {
    System.out.println("Row number : " + (j+1));
      final Row row = rows.add();
      if (a) {
        row.setDefaultCellBorder(borderInfo);
        row.setDefaultCellTextInfo(textInfo);
        row.setDefaultRowCellPadding(marginInfo);
        row.setBackgroundColor(color);
        row.setBorder(borderInfo);
      }
      for (int i=0; i<COL; i++)
      {
        final Cells cells = row.getCells();
        Cell cell = cells.add("Row->" + (j + 1) + ":Column->" + (i + 1));
        if (!a) {
          cell.setBackgroundColor(color);
          cell.setDefaultCellTextInfo(textInfo);
          cell.setPadding(marginInfo);
          cell.setBorder(borderInfo);
          cell.setBackgroundColor(color);
          final int paragraphCount = cell.getParagraphs().size();
          for (int k=0; k<paragraphCount; k++)
            cell.getParagraphs().get_Item(k).setMargin(marginInfo);
        }
        cell.isWordWrapped(true);
        cell.setVerticalAlignment(VerticalAlignmentType.Center);
        cell.setAlignment(AlignmentType.Center);
      }
    }
    
    pdf.save("E:\\aakash\\Existing.pdf");
    
  }
}

Regards

Aakash Bhattacharya

Footer $P not working

$
0
0
I have just downloaded the latest version of Aspose.PDF for .Net 3.5 and it looks like the $P is not longer being turned  into the total page numbers.

Here is my code (I had to add the .Generator namespace in for the lastest version):
 Aspose.Pdf.Generator.HeaderFooter footer = new Aspose.Pdf.Generator.HeaderFooter();
            section.OddFooter = footer;
            section.EvenFooter = footer;
            Aspose.Pdf.Generator.Text txt = new Aspose.Pdf.Generator.Text("Page: ($p of $P)");
            footer.Paragraphs.Add(txt);

This worked fine in the old version (3.6.2.0) the version I just downloaded and updated my code to run with (adding the .Generator namespace prefix) now produces this:

Page: (1 of $P)

Purchased license acts as trial and created PDFs are blank.

$
0
0
Greetings,

I am writing this post to address three problems.

Issue #1
The first issue is that our license that was purchased today is acting as if it were a trial and is still watermarking our images. After following documentation as well as forum posts about including the license via embedding as well as streaming, we have found no resolution to this problem. After perusing the forums it appears that many people have issues where the license end date is incorrect. The date is as follows:

    <SubscriptionExpiry>20150115</SubscriptionExpiry>

We have included the license in the following manners before using any of the Aspose API calls. We have moved the license to various directories (including the directory with the DLLs, the root of the project directory, the bin directory, etc) that have been suggested by staff on these forums and the documentation:

Aspose.Pdf.License license = new Aspose.Pdf.License();
            var file = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Aspose.Pdf.lic");
            FileStream myStream = new FileStream(file, FileMode.Open);
            license.SetLicense(myStream);
            license.Embedded = true;


As well as:

var lic = new Aspose.Pdf.License { Embedded = true };
            lic.SetLicense("Aspose.Pdf.lic");


We would be grateful for any assistance with this issue that is possible. Preferably if there is a sample project or class that can be shown to demonstrate how the license should be called and when/how often it should be.

Issue #2
We assume that this issue is caused (after speaking with technical support and prior forum posts) due to the license issue mentioned above. However, we would like to have it addressed regardless in case they are unrelated. When we are creating a PDF file out of images it appears that the the PDF itself is blank. Note that we have tried this with 1 image, 2 images, 3, and 4 (from what I've read the trial limits you to 4). This problem occurs with any number of images. However, when we write annotations to it they are saved and the appropriate pages are created. The image files that are sent to it are not rendered, though. We are not sure if this stems from the license problem (listed above) or not. Any assistance would be appreciated. Our code is as follows (the problematic function is CreateAndSavePDFFromImages) .

namespace Application.Service.Implementations
{
    public class AsposeService : IPDFService
    {
        const int ASPOSE_RESOLUTION = 200;
        const int ASPOSE_QUALITY = 30; // [0-100], 100 is Maximum

        //Aspose.Pdf.License license;

        public AsposeService()
        {
            //lic = new Aspose.Pdf.License { Embedded = true };
            //lic.SetLicense("Aspose.Pdf.lic");
        }

        public void CreateAndSavePDFFromImages(string fileName, List<Image> images)
        {
            //var lic = new Aspose.Pdf.License { Embedded = true };
            //lic.SetLicense("Aspose.Pdf.lic");

            var doc = new Aspose.Pdf.Document();
            foreach (var image in images) {
                var page = doc.Pages.Add();
                page.Resources.Images.Add(new MemoryStream(image.Data));

                double lowerLeftX = 0;
                double lowerLeftY = 0;
                double upperRightX = doc.PageInfo.Width;
                double upperRightY = doc.PageInfo.Height;
                if (!image.Width.HasValue) image.Width = (float)upperRightX;
                if (!image.Height.HasValue) image.Height = (float)upperRightY;
                double xFactor = (double)(upperRightX / image.Width);
                double yFactor = (double)(upperRightY / image.Height);

                page.Contents.Add(new Aspose.Pdf.Operator.GRestore());
                var rectangle = new Aspose.Pdf.Rectangle(lowerLeftX, lowerLeftY, upperRightX, upperRightY);
                var matrix = new Aspose.Pdf.DOM.Matrix(new double[] { rectangle.URX - rectangle.LLX, 0, 0, rectangle.URY - rectangle.LLY, rectangle.LLX, rectangle.LLY });
                page.Contents.Add(new Aspose.Pdf.Operator.ConcatenateMatrix(matrix));
                Aspose.Pdf.XImage ximage = page.Resources.Images[page.Resources.Images.Count];
                page.Contents.Add(new Aspose.Pdf.Operator.Do(ximage.Name));
                page.Contents.Add(new Aspose.Pdf.Operator.GRestore());

                foreach (var dataPoint in image.DataPoints) {
                    if (dataPoint.XCoor.HasValue && dataPoint.YCoor.HasValue) {
                        var x = (double)dataPoint.XCoor * xFactor;
                        var y = doc.PageInfo.Height - (double)dataPoint.YCoor * yFactor;
                        var rect = new Aspose.Pdf.Rectangle(x, y, x, y);
                        var ann = new Aspose.Pdf.InteractiveFeatures.Annotations.TextAnnotation(page, rect);
                        ann.Title = dataPoint.UserName;
                        ann.Subject = dataPoint.DataPointType.Name;
                        ann.Contents = dataPoint.DataPointType.Name;
                        //ann.Contents = dataPoint.Value;
                        ann.Open = true;
                        ann.State = Aspose.Pdf.InteractiveFeatures.Annotations.AnnotationState.Accepted;
                        ann.Icon = Aspose.Pdf.InteractiveFeatures.Annotations.TextIcon.Comment;
                        page.Annotations.Add(ann);
                    }
                }
                doc.Save(fileName);
            }
        }

        public List<Image> ConvertPDFToImages(byte[] pdf)
        {
            Aspose.Pdf.License license = new Aspose.Pdf.License();
            var file = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Aspose.Pdf.lic");
            FileStream myStream = new FileStream(file, FileMode.Open);
            license.SetLicense(myStream);
            license.Embedded = true;
            //var lic = new Aspose.Pdf.License { Embedded = true };
            //lic.SetLicense("Aspose.Pdf.lic");

            var doc = new Aspose.Pdf.Document(new MemoryStream(pdf));
            var images = new List<Image>();
            for (int pageCount = 1; pageCount <= doc.Pages.Count; pageCount++) {
                var image = new Image();
                image.FileName = "image" + pageCount + ".jpg";
                image.FileType = "image/jpeg";

                var resolution = new Aspose.Pdf.Devices.Resolution(ASPOSE_RESOLUTION);
                //Aspose.Pdf.Devices.JpegDevice jpegDevice = new Aspose.Pdf.Devices.JpegDevice(500, 700, resolution, 100);
                Aspose.Pdf.Devices.JpegDevice jpegDevice = new Aspose.Pdf.Devices.JpegDevice(resolution, ASPOSE_QUALITY);

                using (var stream = new FileStream("C:\\temp\\image" + pageCount + ".jpg", FileMode.Create)) {
                    jpegDevice.Process(doc.Pages[pageCount], stream);
                }
                using (var stream = new MemoryStream()) {
                    jpegDevice.Process(doc.Pages[pageCount], stream);
                    image.Data = stream.ToArray();
                }
                images.Add(image);
            }
            return images;
        }
    }
}


Issue #3
In the above code, ConvertPDFToImages places watermarks on the images (sometimes just the first). We believe this stems from the license issue.

Convert PDF page to image MemoryStream not File

$
0
0
Hello, 
I have Aspose.Total .Net License and using Aspose.Pdf .Net
 
In the Docs this example exists but I Do NOT want to use file or disk access only Memory Stream, is there a way for that without memory mapped files?

Document pdfDocument = new Document("input.pdf");
using (FileStream imageStream = new FileStream("image.jpg",FileMode.Create))
{Resolution resolution = new Resolution(300);JpegDevice jpegDevice = new JpegDevice(resolution, 100);
jpegDevice.Process(pdfDocument.Pages[1], imageStream);
         imageStream.Close();
}

Thanks,
Sameh

set license

$
0
0
I am using java 1.6, Aspsoe-pdf-4.50, Aspose-pd-kit-4.7.0, etc ( Java Total ) and Junit.
I got these error message in Window Only:
ex=java.lang.SecurityException: class "com.aspose.a.a.a"'s signer information does not match signer information of other classes in the same package
    at java.lang.ClassLoader.checkCerts(Unknown Source)
    at java.lang.ClassLoader.preDefineClass(Unknown Source)
    at java.lang.ClassLoader.defineClassCond(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$000(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at internal.ak.a(Unknown Source)
    at aspose.pdf.a.a(Unknown Source)
    at com.aspose.pdf.License.setLicense(Unknown Source)

Here is the set license code:

String rootFolder = generalService.getSystemRootFolder();
            
            
            if  ( !rootFolder.endsWith("/") ) {
                rootFolder += "/";
            }
            String licFile = rootFolder + "Aspose.Total.Java.lic";
            log.info("licFile="+licFile);
            com.aspose.pdf.License licensePDF = new com.aspose.pdf.License();
            licensePDF.setLicense(licFile);
            
            com.aspose.pdf.kit.License licenseKit = new com.aspose.pdf.kit.License();
            licenseKit.setLicense(licFile);
            
            com.aspose.email.License licenseEmail = new com.aspose.email.License();
            licenseEmail.setLicense(licFile);

            com.aspose.words.License licenseWords = new com.aspose.words.License();
            licenseWords.setLicense(licFile);

            com.aspose.slides.License licensePPT = new com.aspose.slides.License();
            licensePPT.setLicense(licFile);
            
            com.aspose.cells.License licenseExcel = new com.aspose.cells.License();
            licenseExcel.setLicense(licFile);

Thanks,
Chang Shin

Unable to construct Document class with attached, encrypted document

$
0
0
Attempting to construct the Document class with the attached "test (encrypted).pdf", an exception is raised that there are password issues with the file.

SharePoint Designer Workflow Activity Convert file to PDF

$
0
0
Hi,

we set up a Convert file to pdf workflow and attached to a document library,
the document library has pdftemplate content type enabled,
the workflow is set to auto start when new file has been added,

when i upload a file to the source document library, the workflow started and completed, 
but i don't see any pdf file in the destination document library.

and if i start workflow manually, select the document that i uploaded --> workflow --> click workflow name --> start --> it does create a pdf file in the destination document library. (this is not my requirement)

do you guys know what is going on?


Alex


looking for OCR API

$
0
0
I am looking for OCR API for Java.
Can you recommend the OCR API?

Thanks,
Chang Shin

Testimonials

$
0
0

Dear Customers,

Please feel free to use this area to post comments about the Aspose.PDF.Kit product.  We love to receive feedback, because it is what helps our products to become excellent products.

CreateWebLink() link is placed above the matching text

$
0
0

Hello Support,
I am using aspose.pdf .net. v8.2.0.0.

I am trying to place a hyperlink around some text using PdfContentEditor.CreateWebLink() with a text fragment that was matched using a regex. In most cases it works perfectly fine.

Please see the attached pdfs.

I am using the createweblink() with a text fragment via a regular expression match. The text matches are correct and they match the 
text,CTJH.056.01001.0003 and CTJH.056.01001.0011 correctly. The issue is the first hyperlink is placed above the text which is wrong, yet the hyperlink around the second text fragment for CTJH.056.01001.0011 is correct. Why are there differences? 

My code is as below:
editor.CreateWebLink(textFragment.Rectangle.ToRect(),
                                                                                            link, textFragment.Page.Number, System.Drawing.Color.Blue);

I really need your help as the customer is asking why??
Thank you support,
Ramesh

Maintain PDF/A after modifying PDF file

$
0
0

Hello,

We had logged an issue previously where modifying a PDF with PDF/A validation using Aspose was removing the PDF/A validation. This was issue PDFNEWNET-33379. We recently upgraded to Aspose.Cell 8.6.0.0 and the issue appears to have returned. Can you please confirm the bug has returned and let us know if a fix is scheduled?

 

Thank you,

Kim

ComboBoxField Custom Text Not Saving

$
0
0
Hi, 

The pdf form that we are trying to fill using Aspose.PDF has comboboxes that allow the user to enter custom text. We've tried using Facades.Forms and InteractiveFeatures.Forms but in both cases the comboboxfield does not retain the string value. I've attached the pdf file we are using.

And here is the code:

'Facade - FillField - We didn't think this would work from looking at the docs
'Looked like it matched on option name/value
pdfForm.FillField("Item Name", "Test Description")

- or - 

'Using the document
Dim cbItemName As ComboBoxField = TryCast(pdfForm.Document.Form("Item Name"), ComboBoxField)

cbItemName.Value = "Test Description" 'Value never changes here

Thanks


BinaryFileStream which jar contains this class

$
0
0

I have added aspose-pdf.jar and aspose-pdf-kit-4.7.0.jar to the classpath but its still cannot resolve this particular class.

 

I am currently evaluating aspose total and would like to test out PDF to PDF/A capability.

Using .net

$
0
0
How to add or delete pdf page using .net - on fly.

Performance Test

$
0
0

Hi,

i've tested Aspose.Pdf with a huge amount of pages and contents. The contents consists of many small bitmaps and text elements.

While my program works for the pdf file i am wondering that there is no file created on my file storage. Only of my program gets terminated, the file is written to my storage. Attached to this post is a picture of my task manager. You can see that much memory is occupied.

 

Is there any possibility that Aspose.Pdf writes the file to disk while i am creating it?

Kind regards

Sebastian

 

Viewing all 3131 articles
Browse latest View live