Max number of characters in a variable to display in a PDF

Posted by: viraphone.sivanthaphanith on 17 June 2024, 12:20 pm EST

  • Posted 17 June 2024, 12:20 pm EST - Updated 17 June 2024, 12:32 pm EST

    Hi,

    I got some blank pages in my PDF when I sent a variable with some text.

    How many characters can we display in a variable?

    How to display all the text in a pdf?

    GrapeCity.Documents.Word Version=“6.0.2”

    GrapeCity.Documents.Word.Layout Version=“6.0.2”

    Thanks

  • Posted 18 June 2024, 7:33 am EST

    Hi,

    Apologize for the inconvenience. Could you please let us know, what you are trying to achieve with DsPdf? Please provide your use-case, so we can assist you better.

    A stripped sample with this issue would be helpful. Could you please provide the same?

    Regards,

    Nitin

  • Posted 18 June 2024, 11:30 am EST

    Hi Nitin,

    For example, I used a template .docx with {{ds.Resume}} and sent a dataset with

    "Resume": "Now for manners use has company believe parlors. Least nor party who wrote while did. Excuse formed as is agreed admire so on result parish. Put use set uncommonly announcing and travelling. Allowance sweetness direction to as necessary. Principle oh explained excellent do my suspected conveying in. Excellent you did therefore perfectly supposing described.\n
    \n
    Consulted he eagerness unfeeling deficient existence of. Calling nothing end fertile for venture way boy. Esteem spirit temper too say adieus who direct esteem. It esteems luckily mr or picture placing drawing no. Apartments frequently or motionless on reasonable projecting expression. Way mrs end gave tall walk fact bed.\n
    \n
    Fat new smallness few supposing suspicion two. Course sir people worthy horses add entire suffer. How one dull get busy dare far. At principle perfectly by sweetness do. As mr started arrival subject by believe. Strictly numerous outlived kindness whatever on we no on addition.\n
    \n
    Fulfilled direction use continual set him propriety continued. Saw met applauded favourite deficient engrossed concealed and her. Concluded boy perpetual old supposing. Farther related bed and passage comfort civilly. Dashwoods see frankness objection abilities the. As hastened oh produced prospect formerly up am. Placing forming nay looking old married few has. Margaret disposed add screened rendered six say his striking confined.\n
    \n
    Windows talking painted pasture yet its express parties use. Sure last upon he same as knew next. Of believed or diverted no rejoiced. End friendship sufficient assistance can prosperous met. As game he show it park do. Was has unknown few certain ten promise. No finished my an likewise cheerful packages we. For assurance concluded son something depending discourse see led collected. Packages oh no denoting my advanced humoured. Pressed be so thought natural." 


    My pdf will display all my variable “Resume” if resume.length < 2500 but if resume.length > 2500 I will get a blank page.

  • Posted 19 June 2024, 5:55 am EST

    Hi,

    We are unable to replicate this issue at our end. Could you please share a stripped sample replicating this behavior?

    Please refer our working sample: PdfText.zip

    Regards,

    Nitin

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels