Aspose.Pdf.Examples.CSharp.AsposePDFFacades.TechnicalArticles.ConcatenatePdfFilesAndCreateTOC.CreateLocalLinks C# (CSharp) Метод

CreateLocalLinks() публичный статический Метод

public static CreateLocalLinks ( ) : void
Результат void
        public static void CreateLocalLinks()
        {
            // ExStart:CreateLocalLinks
            // The path to the documents directory.
            string dataDir = RunExamples.GetDataDir_AsposePdfFacades_TechnicalArticles();

            // Now we need to add Heading for Table Of Contents and links for documents
            PdfContentEditor contentEditor = new PdfContentEditor();
            // Bind the PDF file in which we added the blank page
            contentEditor.BindPdf(new FileStream(dataDir + "Concatenated_Table_Of_Contents.pdf", FileMode.Open));
            // Create link for first document
            contentEditor.CreateLocalLink(new System.Drawing.Rectangle(150, 650, 100, 20), 2, 1, System.Drawing.Color.Transparent);
            // ExEnd:CreateLocalLinks
        }
        public static void CompletedCode()