Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

225
Vistas
how to set width and height in jspdf?

How to set html content responsive while setting width and height in jspdf?

below is my code but it does not gives A4 format. If I'm using A4 format then my content is not wrapping up, instead its getting cut.

const Click_Download = async () => {
    (window as any).html2canvas = html22canvas;
    const doc = new jsPDF('l', 'pt', [1400, 1000]);
    (doc as any).html(document.querySelector("#myid"), {
                
    callback: function(pdf: any) {
      pdf.save(mypdf.pdf");
    }
  });           
}
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda