### Match Page Setup Properties Before Importing Content Source: https://help.syncfusion.com/document-processing/word/word-library/net/faqs/word-document-faqs Use this C# code to synchronize page setup properties between source and destination documents to prevent content from starting on a new page unexpectedly during import. Ensure both documents have matching margins, orientation, and page size. ```C# // Match page setup before importing IWSection sourceSection = sourceDoc.Sections[0]; IWSection destSection = destinationDoc.Sections[0]; //Sets the destination document page setup properties to the source document sections. sourceSection.PageSetup.DifferentFirstPage = destSecPageSetup.DifferentFirstPage; sourceSection.PageSetup.Margins.All = destSection.PageSetup.Margins.All; sourceSection.PageSetup.Orientation = destSection.PageSetup.Orientation; sourceSection.PageSetup.PageSize = destSection.PageSetup.PageSize; // Now import the section destinationDoc.Sections.Add(sourceDoc.Sections[0].Clone()); ``` -------------------------------- ### Example: Install Syncfusion.DocIO.Net.Core in Default Project Source: https://help.syncfusion.com/document-processing/nuget-packages This is an example command to install the Syncfusion.DocIO.Net.Core package into the default project. ```powershell #install specified package in default project Install-Package Syncfusion.DocIO.Net.Core ``` -------------------------------- ### Initialize and Configure Word Document Source: https://help.syncfusion.com/document-processing/word/word-library/net/create-word-document-in-linux This snippet demonstrates the initial setup for creating a new Word document, including adding a section, setting margins, page size, and defining paragraph styles. ```C# // Creating a new document. WordDocument document = new WordDocument(); //Adding a new section to the document. WSection section = document.AddSection() as WSection; //Set Margin of the section section.PageSetup.Margins.All = 72; //Set page size of the section section.PageSetup.PageSize = new Syncfusion.Drawing.SizeF(612, 792); //Create Paragraph styles WParagraphStyle style = document.AddParagraphStyle("Normal") as WParagraphStyle; style.CharacterFormat.FontName = "Calibri"; style.CharacterFormat.FontSize = 11f; style.ParagraphFormat.BeforeSpacing = 0; style.ParagraphFormat.AfterSpacing = 8; style.ParagraphFormat.LineSpacing = 13.8f; style = document.AddParagraphStyle("Heading 1") as WParagraphStyle; style.ApplyBaseStyle("Normal"); style.CharacterFormat.FontName = "Calibri Light"; style.CharacterFormat.FontSize = 16f; style.CharacterFormat.TextColor = Syncfusion.Drawing.Color.FromArgb(46, 116, 181); style.ParagraphFormat.BeforeSpacing = 12; style.ParagraphFormat.AfterSpacing = 0; style.ParagraphFormat.Keep = true; style.ParagraphFormat.KeepFollow = true; style.ParagraphFormat.OutlineLevel = OutlineLevel.Level1; ``` -------------------------------- ### Example: Install Syncfusion.DocIO.Net.Core in Specified Project Source: https://help.syncfusion.com/document-processing/nuget-packages This is an example command to install the Syncfusion.DocIO.Net.Core package into a project named SyncfusionDemoApplication. ```powershell #install specified package in specified project Install-Package Syncfusion.DocIO.Net.Core -ProjectName SyncfusionDemoApplication ``` -------------------------------- ### Create a Tiling Brush (VB.NET Windows-specific) Source: https://help.syncfusion.com/document-processing/pdf/pdf-library/net/working-with-brushes This VB.NET example demonstrates creating a tiling brush and drawing an ellipse, suitable for Windows-specific PDF generation tasks. ```vbnet Imports System.Drawing Imports Syncfusion.Pdf Imports Syncfusion.Pdf.Graphics 'Create a new PDF document Dim doc As PdfDocument = New PdfDocument 'Add a page to the document Dim page As PdfPage = doc.Pages.Add 'Create PDF graphics for the page Dim graphics As PdfGraphics = page.Graphics 'Create new PDF tiling brush Dim brush As PdfTilingBrush = New PdfTilingBrush(New RectangleF(0, 0, 11, 11)) 'Draw ellipse inside the tile brush.Graphics.DrawEllipse(PdfPens.Red, New RectangleF(0, 0, 10, 10)) 'Draw ellipse graphics.DrawEllipse(brush, New RectangleF(0, 0, 200, 100)) 'Save the PDF document doc.Save("TilingBrush.pdf") 'Close the instance of PdfDocument doc.Close(True) ``` -------------------------------- ### Create a PDF document and draw text (VB.NET) Source: https://help.syncfusion.com/document-processing/pdf/pdf-library/net/working-with-document This VB.NET snippet demonstrates creating a PDF, setting page size and landscape orientation, adding a page, and drawing "Hello World!!!" text. It concludes with saving and closing the document. ```vbnet Imports Syncfusion.Pdf.Graphics Imports Syncfusion.Pdf 'Create a new PDF document. Dim document As New PdfDocument() ' Set the page size. document.PageSettings.Size = PdfPageSize.A4 'Change the page orientation to landscape document.PageSettings.Orientation = PdfPageOrientation.Landscape 'Add a page to the document. Dim page As PdfPage = document.Pages.Add() 'Create PDF graphics for the page. Dim graphics As PdfGraphics = page.Graphics 'Set the font. Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 20) 'Draw the text. graphics.DrawString("Hello World!!!", font, PdfBrushes.Black, New PointF(0, 0)) 'Save the document. document.Save("Output.pdf") 'Close the document. document.Close(True) ``` -------------------------------- ### Get API (Example) Source: https://help.syncfusion.com/document-processing/pdf/pdf-viewer/vue/how-to/create-pdfviewer-service A sample GET endpoint that returns a predefined array of strings. This is likely a placeholder or example endpoint. ```APIDOC ## Get API (Example) ### Description A sample GET endpoint that returns a predefined array of strings. This is likely a placeholder or example endpoint. ### Method GET ### Endpoint api/values ### Response #### Success Response (200) - **string[]** - An array of strings ('value1', 'value2'). ``` -------------------------------- ### Create a Tiling Brush (C# Windows-specific) Source: https://help.syncfusion.com/document-processing/pdf/pdf-library/net/working-with-brushes This C# example demonstrates creating a tiling brush and drawing an ellipse, using System.Drawing for Windows-specific applications. ```csharp using System.Drawing; using Syncfusion.Pdf; using Syncfusion.Pdf.Graphics; //Create a new PDF document PdfDocument doc = new PdfDocument(); //Add a page to the document PdfPage page = doc.Pages.Add(); //Create PDF graphics for the page PdfGraphics graphics = page.Graphics; //Create new PDF tiling brush PdfTilingBrush brush = new PdfTilingBrush(new RectangleF(0, 0, 11, 11)); //Draw ellipse inside the tile brush.Graphics.DrawEllipse(PdfPens.Red, new RectangleF(0, 0, 10, 10)); //Draw ellipse graphics.DrawEllipse(brush, new RectangleF(0, 0, 200, 100)); //Save the PDF document doc.Save("TilingBrush.pdf"); //Close the instance of PdfDocument doc.Close(true); ``` -------------------------------- ### Install Essential JS 2 Quickstart Project Source: https://help.syncfusion.com/document-processing/pdf/pdf-viewer/javascript-es5/how-to/use-local-script-and-style-references Clone the Essential JS 2 quickstart project and install its dependencies using npm. ```bash git clone https://github.com/syncfusion/ej2-quickstart.git quickstart cd quickstart npm install ``` -------------------------------- ### Insert Paragraph Before Bookmark Start Source: https://help.syncfusion.com/document-processing/word/word-library/net/working-with-bookmarks Inserts a paragraph before the start of a specified bookmark. This example uses C# and loads a document from a file stream. ```csharp //Loads an existing Word document into DocIO instance FileStream fileStreamPath = new FileStream("Bookmarks.docx", FileMode.Open, FileAccess.Read, FileShare.ReadWrite); WordDocument document = new WordDocument(fileStreamPath, FormatType.Docx); //Creates the bookmark navigator instance to access the bookmark BookmarksNavigator bookmarkNavigator = new BookmarksNavigator(document); //Moves the virtual cursor to the location before the end of the bookmark "Northwind"ookmarkNavigator.MoveToBookmark("Northwind", false, true); //Inserts a new paragraph before the bookmark start IWParagraph paragraph = new WParagraph(document); paragraph.AppendText("Northwind Database is a set of tables containing data fitted into predefined categories."); bookmarkNavigator.InsertParagraph(paragraph); //Saves the Word document to MemoryStream MemoryStream stream = new MemoryStream(); document.Save(stream, FormatType.Docx); //Closes the document document.Close(); ``` -------------------------------- ### Create a Word Document with Sections, Styles, and Content Source: https://help.syncfusion.com/document-processing/word/word-library/net/create-word-document-in-console-application This snippet demonstrates creating a new Word document, adding sections with custom page setup, defining paragraph styles, and populating the document with text and an image. It includes examples for headers, basic text, and styled headings. ```csharp // Creating a new document. using (WordDocument document = new WordDocument()) { //Adding a new section to the document. WSection section = document.AddSection() as WSection; //Set Margin of the section section.PageSetup.Margins.All = 72; //Set page size of the section section.PageSetup.PageSize = new SizeF(612, 792); //Create Paragraph styles WParagraphStyle style = document.AddParagraphStyle("Normal") as WParagraphStyle; style.CharacterFormat.FontName = "Calibri"; style.CharacterFormat.FontSize = 11f; style.ParagraphFormat.BeforeSpacing = 0; style.ParagraphFormat.AfterSpacing = 8; style.ParagraphFormat.LineSpacing = 13.8f; style = document.AddParagraphStyle("Heading 1") as WParagraphStyle; style.ApplyBaseStyle("Normal"); style.CharacterFormat.FontName = "Calibri Light"; style.CharacterFormat.FontSize = 16f; style.CharacterFormat.TextColor = Color.FromArgb(46, 116, 181); style.ParagraphFormat.BeforeSpacing = 12; style.ParagraphFormat.AfterSpacing = 0; style.ParagraphFormat.Keep = true; style.ParagraphFormat.KeepFollow = true; style.ParagraphFormat.OutlineLevel = OutlineLevel.Level1; IWParagraph paragraph = section.HeadersFooters.Header.AddParagraph(); // Gets the image stream. IWPicture picture = paragraph.AppendPicture(new Bitmap("AdventureCycle.jpg")) as WPicture; picture.TextWrappingStyle = TextWrappingStyle.InFrontOfText; picture.VerticalOrigin = VerticalOrigin.Margin; picture.VerticalPosition = -45; picture.HorizontalOrigin = HorizontalOrigin.Column; picture.HorizontalPosition = 263.5f; picture.WidthScale = 20; picture.HeightScale = 15; paragraph.ApplyStyle("Normal"); paragraph.ParagraphFormat.HorizontalAlignment = Syncfusion.DocIO.DLS.HorizontalAlignment.Left; WTextRange textRange = paragraph.AppendText("Adventure Works Cycles") as WTextRange; textRange.CharacterFormat.FontSize = 12f; textRange.CharacterFormat.FontName = "Calibri"; textRange.CharacterFormat.TextColor = Color.Red; //Append paragraph. paragraph = section.AddParagraph(); paragraph.ApplyStyle("Heading 1"); paragraph.ParagraphFormat.HorizontalAlignment = Syncfusion.DocIO.DLS.HorizontalAlignment.Center; textRange = paragraph.AppendText("Adventure Works Cycles") as WTextRange; textRange.CharacterFormat.FontSize = 18f; textRange.CharacterFormat.FontName = "Calibri"; //Append paragraph. paragraph = section.AddParagraph(); paragraph.ParagraphFormat.FirstLineIndent = 36; paragraph.BreakCharacterFormat.FontSize = 12f; textRange = paragraph.AppendText("Adventure Works Cycles, the fictitious company on which the AdventureWorks sample databases are based, is a large, multinational manufacturing company. The company manufactures and sells metal and composite bicycles to North American, European and Asian commercial markets. While its base operation is in Bothell, Washington with 290 employees, several regional sales teams are located throughout their market base.") as WTextRange; textRange.CharacterFormat.FontSize = 12f; //Append paragraph. paragraph = section.AddParagraph(); paragraph.ParagraphFormat.FirstLineIndent = 36; paragraph.BreakCharacterFormat.FontSize = 12f; } ``` -------------------------------- ### Replace Bookmark Content Across Sections (C#) Source: https://help.syncfusion.com/document-processing/word/word-library/net/working-with-bookmarks This C# example shows how to replace a bookmark's content when the bookmark's start and end points might be in different sections of the document. It loads a template, gets bookmark content, and replaces it in another document, saving the result to a file. Ensure 'Template.docx' and 'Bookmarks.docx' exist. ```csharp //Loads the template document with bookmark "Northwind" whose start and end are preserved in different section WordDocument templateDocument = new WordDocument("Template.docx", FormatType.Docx); //Creates the bookmark navigator instance to access the bookmark BookmarksNavigator bookmarkNavigator = new BookmarksNavigator(templateDocument); //Moves the virtual cursor to the location before the end of the bookmark "Northwind" bookmarkNavigator.MoveToBookmark("Northwind"); //Gets the bookmark content as WordDocumentPart WordDocumentPart wordDocumentPart = bookmarkNavigator.GetContent(); //Loads the Word document with bookmark NorthwindDB WordDocument document = new WordDocument("Bookmarks.docx", FormatType.Docx); //Creates the bookmark navigator instance to access the bookmark bookmarkNavigator = new BookmarksNavigator(document); //Moves the virtual cursor to the location before the end of the bookmark "NorthwindDB" bookmarkNavigator.MoveToBookmark("NorthwindDB"); //Replaces the bookmark content with word body part bookmarkNavigator.ReplaceContent(wordDocumentPart); //Close the WordDocumentPart instance wordDocumentPart.Close(); //Closes the template document templateDocument.Close(); document.Save("Result.docx", FormatType.Docx); document.Close(); ``` -------------------------------- ### Create and Populate Table (C#) Source: https://help.syncfusion.com/document-processing/word/word-library/net/getting-started Creates a 2x2 table, sets cell widths, adds bold text to header cells, and inserts an image and descriptive text into the second row. Ensure 'DummyProfile-Picture.jpg' is accessible. ```csharp //Adds a table into the Word document IWTable table = section.AddTable(); //Creates the specified number of rows and columns table.ResetCells(2,2); //Accesses the instance of the cell (first row, first cell) WTableCell firstCell = table.Rows[0].Cells[0]; //Specifies the width of the cell firstCell.Width = 150; //Adds a paragraph into the cell; a cell must have atleast 1 paragraph paragraph = firstCell.AddParagraph(); IWTextRange textRange = paragraph.AppendText("Profile picture"); textRange.CharacterFormat.Bold = true; //Accesses the instance of cell (first row, second cell) WTableCell secondCell = table.Rows[0].Cells[1]; secondCell.Width = 330; paragraph = secondCell.AddParagraph(); textRange = paragraph.AppendText("Description"); textRange.CharacterFormat.Bold = true; firstCell = table.Rows[1].Cells[0]; firstCell.Width = 150; paragraph = firstCell.AddParagraph(); //Sets after spacing for paragraph. paragraph.ParagraphFormat.AfterSpacing = 6; IWPicture profilePicture = paragraph.AppendPicture(Image.FromFile("DummyProfile-Picture.jpg")); profilePicture.Height = 100; profilePicture.Width = 100; secondCell = table.Rows[1].Cells[1]; secondCell.Width = 330; paragraph = secondCell.AddParagraph(); textRange = paragraph.AppendText("AdventureWorks Cycles, the fictitious company on which the AdventureWorks sample databases are based, is a large, multinational manufacturing company."); ``` -------------------------------- ### Table Syntax Example Source: https://help.syncfusion.com/document-processing/word/conversions/markdown-to-word-conversion Demonstrates the Markdown syntax for creating a table using pipes and underscores. Column alignment can be specified. ```markdown | Header 1 | Header 2 | |---|---| | Row 1 Col 1 | Row 1 Col 2 | | Row 2 Col 1 | Row 2 Col 2 | ``` -------------------------------- ### Get Precedents in C# (Windows-specific) Source: https://help.syncfusion.com/document-processing/excel/excel-library/net/worksheet-cells-manipulation This example shows how to get precedent cells from a worksheet and the entire workbook, then saves the workbook. It requires a 'FormulaExcel.xlsx' file. ```csharp using (ExcelEngine excelEngine = new ExcelEngine()) { IApplication application = excelEngine.Excel; application.DefaultVersion = ExcelVersion.Xlsx; IWorkbook workbook = application.Workbooks.Open("FormulaExcel.xlsx"); IWorksheet sheet = workbook.Worksheets[0]; //Getting precedent cells from the worksheet IRange[] results1 = sheet["A1"].GetPrecedents(); //Getting precedent cells from the workbook IRange[] results2 = sheet["A1"].GetPrecedents(true); string fileName = "Precedents.xlsx"; workbook.SaveAs(fileName); } ``` -------------------------------- ### Insert Paragraph Before Bookmark Start (VB.NET) Source: https://help.syncfusion.com/document-processing/word/word-library/net/working-with-bookmarks Inserts a paragraph before the start of a specified bookmark using VB.NET. This example loads a document directly from a file path. ```vbnet Dim document As New WordDocument("Bookmarks.docx", FormatType.Docx) 'Creates the bookmark navigator instance to access the bookmark Dim bookmarkNavigator As New BookmarksNavigator(document) 'Moves the virtual cursor to the location before the end of the bookmark "Northwind" bookmarkNavigator.MoveToBookmark("Northwind", False, True) 'Inserts a new paragraph before the bookmark start Dim paragraph As IWParagraph = New WParagraph(document) paragraph.AppendText("Northwind Database is a set of tables containing data fitted into predefined categories.") bookmarkNavigator.InsertParagraph(paragraph) document.Save("Result.docx", FormatType.Docx) document.Close() ``` -------------------------------- ### Complete Hyperlink Creation Example - C# Source: https://help.syncfusion.com/document-processing/excel/excel-library/net/cells-manipulation/hyperlink This comprehensive example demonstrates creating various hyperlinks: to websites, email addresses, files (using File and Unc types), and other cells. It requires initializing the ExcelEngine, Application, and Workbook objects. ```csharp using (ExcelEngine excelEngine = new ExcelEngine()) { IApplication application = excelEngine.Excel; application.DefaultVersion = ExcelVersion.Excel2013; IWorkbook workbook = application.Workbooks.Create(1); IWorksheet sheet = workbook.Worksheets[0]; #region Hyperlinks //Creating a Hyperlink for a Website IHyperLink hyperlink = sheet.HyperLinks.Add(sheet.Range["C5"]); hyperlink.Type = ExcelHyperLinkType.Url; hyperlink.Address = "http://www.syncfusion.com"; hyperlink.ScreenTip = "To know more about Syncfusion products, go through this link."; //Creating a Hyperlink for e-mail IHyperLink hyperlink1 = sheet.HyperLinks.Add(sheet.Range["C7"]); hyperlink1.Type = ExcelHyperLinkType.Url; hyperlink1.Address = "mailto:Username@syncfusion.com"; hyperlink1.ScreenTip = "Send Mail"; //Creating a Hyperlink for Opening Files using type as File IHyperLink hyperlink2 = sheet.HyperLinks.Add(sheet.Range["C9"]); hyperlink2.Type = ExcelHyperLinkType.File; hyperlink2.Address = "C:/Program files"; hyperlink2.ScreenTip = "File path"; hyperlink2.TextToDisplay = "Hyperlink for files using File as type"; //Creating a Hyperlink for Opening Files using type as Unc IHyperLink hyperlink3 = sheet.HyperLinks.Add(sheet.Range["C11"]); hyperlink3.Type = ExcelHyperLinkType.Unc; hyperlink3.Address = "C:/Documents and Settings"; hyperlink3.ScreenTip = "Click here for files"; hyperlink3.TextToDisplay = "Hyperlink for files using Unc as type"; //Creating a Hyperlink to another cell using type as Workbook IHyperLink hyperlink4 = sheet.HyperLinks.Add(sheet.Range["C13"]); hyperlink4.Type = ExcelHyperLinkType.Workbook; hyperlink4.Address = "Sheet1!A15"; hyperlink4.ScreenTip = "Click here"; hyperlink4.TextToDisplay = "Hyperlink to cell A15"; #endregion #region Save //Saving the workbook workbook.SaveAs(Path.GetFullPath("Output/Hyperlinks.xlsx")); #endregion } ``` -------------------------------- ### Create and Populate Table (VB.NET) Source: https://help.syncfusion.com/document-processing/word/word-library/net/getting-started Creates a 2x2 table, sets cell widths, adds bold text to header cells, and inserts an image and descriptive text into the second row. Ensure 'DummyProfile-Picture.jpg' is accessible. ```vbnet 'Adds a table into the Word document Dim table As IWTable = section.AddTable() 'Creates the specified number of rows and columns table.ResetCells(2, 2) 'Accesses the instance of the cell (first row, first cell) Dim firstCell As WTableCell = table.Rows(0).Cells(0) 'Specifies the width of the cell firstCell.Width = 150 'Adds a paragraph into the cell; a cell must have atleast 1 paragraph paragraph = firstCell.AddParagraph() Dim textRange As IWTextRange = paragraph.AppendText("Profile picture") textRange.CharacterFormat.Bold = True 'Accesses the instance of cell (first row, second cell) Dim secondCell As WTableCell = table.Rows(0).Cells(1) secondCell.Width = 330 paragraph = secondCell.AddParagraph() textRange = paragraph.AppendText("Description") textRange.CharacterFormat.Bold = True firstCell = table.Rows(1).Cells(0) firstCell.Width = 150 paragraph = firstCell.AddParagraph() 'Sets after spacing for paragraph. paragraph.ParagraphFormat.AfterSpacing = 6 Dim profilePicture As IWPicture = paragraph.AppendPicture(Image.FromFile("DummyProfile-Picture.jpg")) profilePicture.Height = 100 profilePicture.Width = 100 secondCell = table.Rows(1).Cells(1) secondCell.Width = 330 paragraph = secondCell.AddParagraph() textRange = paragraph.AppendText("AdventureWorks Cycles, the fictitious company on which the AdventureWorks sample databases are based, is a large, multinational manufacturing company.") ``` -------------------------------- ### Insert Paragraph Before Bookmark Start (File) Source: https://help.syncfusion.com/document-processing/word/word-library/net/working-with-bookmarks Inserts a paragraph before the start of a specified bookmark. This example uses C# and loads a document directly from a file path. ```csharp WordDocument document = new WordDocument("Bookmarks.docx", FormatType.Docx); //Creates the bookmark navigator instance to access the bookmark BookmarksNavigator bookmarkNavigator = new BookmarksNavigator(document); //Moves the virtual cursor to the location before the end of the bookmark "Northwind"ookmarkNavigator.MoveToBookmark("Northwind", false, true); //Inserts a new paragraph before the bookmark start IWParagraph paragraph = new WParagraph(document); paragraph.AppendText("Northwind Database is a set of tables containing data fitted into predefined categories."); bookmarkNavigator.InsertParagraph(paragraph); document.Save("Result.docx", FormatType.Docx); document.Close(); ``` -------------------------------- ### C# Example: Content Control Common Properties (File) Source: https://help.syncfusion.com/document-processing/word/word-library/net/working-with-content-controls Demonstrates setting common content control properties and saving the document to a file named 'Sample.docx'. ```csharp //Creates a new Word document WordDocument document = new WordDocument(); //Adds one section and one paragraph to the document document.EnsureMinimal(); //Gets the last paragraph WParagraph paragraph = document.LastParagraph; //Adds text to the paragraph paragraph.AppendText("A new text is added to the paragraph. "); //Appends rich text content control to the paragraph IInlineContentControl contentControl = paragraph.AppendInlineContentControl(ContentControlType.RichText) as InlineContentControl; WTextRange textRange = new WTextRange(document); textRange.Text = "Rich text content control."; //Adds new text to the rich text content control contentControl.ParagraphItems.Add(textRange); //Sets tag appearance for the content control contentControl.ContentControlProperties.Appearance = ContentControlAppearance.Tags; //Sets a tag property to identify the content control contentControl.ContentControlProperties.Tag = "Rich Text"; //Sets a title for the content control contentControl.ContentControlProperties.Title = "Text"; //Sets the color for the content control contentControl.ContentControlProperties.Color = Color.Magenta; //Gets the type of content control ContentControlType controlType = contentControl.ContentControlProperties.Type; //Enables content control lock contentControl.ContentControlProperties.LockContentControl = true; //Protects the contents of content control contentControl.ContentControlProperties.LockContents = true; //Saves and closes the Word document instance document.Save("Sample.docx", FormatType.Docx); document.Close(); ``` -------------------------------- ### Vue PDF Viewer: Basic Initial Render Pages Setup Source: https://help.syncfusion.com/document-processing/pdf/pdf-viewer/vue/how-to/load-n-number-page A minimal setup for the Vue PDF Viewer demonstrating the `initialRenderPages` property. This example focuses on the core configuration. ```html ``` ```javascript ```