Rilox MIG 400 CI: Precision Power, Unmatched Performance
·
Advanced IGBT Technology: Power saving
& performance
·
Digital Display: Precision setup
·
Low Spatter: Stable arc control
· 2T/4T Mode: Continuous welding convenience
Applications Include:
· Aluminium Products
· Construction & Structural Work
· Pipe Welding & Pressure Vessels
· Decorative Metalwork
Accessories Included: MIG Torch, Earth Clamp, Electrode Holder.
Rilox Weld Equipments is a trusted Indian leader in compact, energy-efficient, and durable inverter-based welding machines. We deliver
high-performance solutions that meet the demanding needs of modern fabricators and manufacturers across major industries.
#toolbar=0&scrollbar=0&view=fit" type="application/pdf" width="800px" height="1200vh" style="border: none; background-color: #fff; overflow: hidden;"> -->
Keep Up to Date
with the Most
Important News
By clicking the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use.
Add a Comment
Recommended for You
·
Advanced IGBT Technology: Power saving
& performance
·
Digital Display: Precision setup
·
Low Spatter: Stable arc control
· 2T/4T Mode: Continuous welding convenience
Applications Include:
· Aluminium Products
· Construction & Structural Work
· Pipe Welding & Pressure Vessels
· Decorative Metalwork
Accessories Included: MIG Torch, Earth Clamp, Electrode Holder.
Rilox Weld Equipments is a trusted Indian leader in compact, energy-efficient, and durable inverter-based welding machines. We deliver
high-performance solutions that meet the demanding needs of modern fabricators and manufacturers across major industries.
"; const pdfContainer = document.getElementById('pdf-container'); const loadingEl = document.getElementById('loading'); const errorMessageEl = document.getElementById('error-message'); const errorTextEl = document.getElementById('error-text'); // Initialize PDF.js pdfjsLib.GlobalWorkerOptions.workerSrc = 'https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.10.377/pdf.worker.min.js'; // Function to show error function showError(message) { loadingEl.classList.add('hidden'); errorTextEl.textContent = message; errorMessageEl.classList.remove('hidden'); } // Load and render PDF async function loadPdf() { try { if (!pdfUrl || pdfUrl === "undefined" || pdfUrl === "") { throw new Error("Invalid PDF URL"); } console.log("Loading PDF from:", pdfUrl); const pdfDoc = await pdfjsLib.getDocument(pdfUrl).promise; console.log("PDF loaded successfully. Pages:", pdfDoc.numPages); // Set fixed width in pixels const fixedWidth = 850; // You can adjust this value as needed for (let pageNum = 1; pageNum <= pdfDoc.numPages; pageNum++) { const page = await pdfDoc.getPage(pageNum); // Calculate scale based on fixed width const originalViewport = page.getViewport({ scale: 1 }); const fixedScale = fixedWidth / originalViewport.width; const viewport = page.getViewport({ scale: fixedScale }); const pageDiv = document.createElement('div'); pageDiv.className = 'mx-auto my-1 pdf-page-container'; const canvas = document.createElement('canvas'); canvas.className = 'mx-auto'; pageDiv.appendChild(canvas); const context = canvas.getContext('2d'); const outputScale = window.devicePixelRatio || 1; canvas.width = Math.floor(viewport.width * outputScale); canvas.height = Math.floor(viewport.height * outputScale); canvas.style.width = `${viewport.width}px`; canvas.style.height = `${viewport.height}px`; const renderContext = { canvasContext: context, viewport: viewport, transform: [outputScale, 0, 0, outputScale, 0, 0] }; await page.render(renderContext).promise; pdfContainer.appendChild(pageDiv); console.log("Rendered page", pageNum); } loadingEl.classList.add('hidden'); } catch (error) { console.error('Error loading or rendering PDF:', error); showError(error.message || 'Unable to load the PDF. Please try again later.'); } } document.addEventListener('DOMContentLoaded', loadPdf); -->
Comments
No comments available.