diff --git a/content/english/net/advanced-usage/generate-document-pages-preview/_index.md b/content/english/net/advanced-usage/generate-document-pages-preview/_index.md index 055e14d..c6fd21f 100644 --- a/content/english/net/advanced-usage/generate-document-pages-preview/_index.md +++ b/content/english/net/advanced-usage/generate-document-pages-preview/_index.md @@ -33,7 +33,7 @@ Initialize the Annotator object by providing the path to the input PDF file. using (Annotator annotator = new Annotator("input.pdf")) PreviewOptions previewOptions = new PreviewOptions(pageNumber => { - var pagePath = Path.Combine(Constants.GetOutputDirectoryPath(), $"result_{pageNumber}.png"); + var pagePath = Path.Combine("Your Document Directory", $"result_{pageNumber}.png"); return File.Create(pagePath); }); ``` diff --git a/content/english/net/advanced-usage/generate-preview-worksheet-columns/_index.md b/content/english/net/advanced-usage/generate-preview-worksheet-columns/_index.md index 8cdcf73..ff84c7c 100644 --- a/content/english/net/advanced-usage/generate-preview-worksheet-columns/_index.md +++ b/content/english/net/advanced-usage/generate-preview-worksheet-columns/_index.md @@ -32,7 +32,7 @@ Now that we have set up our development environment and imported the required na ## Step 1: Initialize Preview Options ```csharp PreviewOptions previewOptions = new PreviewOptions( - pageNumber => new FileStream(Path.Combine(Constants.GetOutputDirectoryPath(), $"cells_page{pageNumber}.png"), FileMode.Create), + pageNumber => new FileStream(Path.Combine("Your Document Directory", $"cells_page{pageNumber}.png"), FileMode.Create), (number, stream) => stream.Dispose() ); ``` @@ -50,7 +50,7 @@ using (Annotator annotator = new Annotator("input.xlsx")) ``` ## Step 4: Display Success Message ```csharp -Console.WriteLine($"\nDocument previews generated successfully.\nCheck output in {Constants.GetOutputDirectoryPath()}."); +Console.WriteLine($"\nDocument previews generated successfully.\nCheck output in {"Your Document Directory"}."); ``` ## Conclusion diff --git a/content/english/net/advanced-usage/loading-custom-fonts/_index.md b/content/english/net/advanced-usage/loading-custom-fonts/_index.md index a17c717..8b57419 100644 --- a/content/english/net/advanced-usage/loading-custom-fonts/_index.md +++ b/content/english/net/advanced-usage/loading-custom-fonts/_index.md @@ -36,7 +36,7 @@ Define the preview options to specify how the document previews will be generate ```csharp PreviewOptions previewOptions = new PreviewOptions(pageNumber => { - var pagePath = Path.Combine(Constants.GetOutputDirectoryPath(), $"result_with_font_{pageNumber}.png"); + var pagePath = Path.Combine("Your Document Directory", $"result_with_font_{pageNumber}.png"); return File.Create(pagePath); }); previewOptions.PreviewFormat = PreviewFormats.PNG; @@ -50,7 +50,7 @@ annotator.Document.GeneratePreview(previewOptions); ## Step 4: Display Output Path Finally, display a message indicating the successful generation of document previews along with the output directory path: ```csharp -Console.WriteLine($"\nDocument previews generated successfully.\nCheck output in {Constants.GetOutputDirectoryPath()}."); +Console.WriteLine($"\nDocument previews generated successfully.\nCheck output in {"Your Document Directory"}."); ``` ## Conclusion diff --git a/content/english/net/advanced-usage/put-image-annotation-over-text/_index.md b/content/english/net/advanced-usage/put-image-annotation-over-text/_index.md index 87c43e2..b6ff3d9 100644 --- a/content/english/net/advanced-usage/put-image-annotation-over-text/_index.md +++ b/content/english/net/advanced-usage/put-image-annotation-over-text/_index.md @@ -29,7 +29,7 @@ using GroupDocs.Annotation.Models.AnnotationModels; ## Step 1: Define Output Path First, define the output path where the annotated document will be saved: ```csharp -string outputPath = Path.Combine(Constants.GetOutputDirectoryPath(), "annotated_document.pdf"); +string outputPath = Path.Combine("Your Document Directory", "annotated_document.pdf"); ``` ## Step 2: Initialize Annotator Initialize the `Annotator` object by providing the input document path: diff --git a/content/english/net/advanced-usage/set-document-preview-resolution/_index.md b/content/english/net/advanced-usage/set-document-preview-resolution/_index.md index fbb7a75..f3d5b23 100644 --- a/content/english/net/advanced-usage/set-document-preview-resolution/_index.md +++ b/content/english/net/advanced-usage/set-document-preview-resolution/_index.md @@ -37,7 +37,7 @@ Define the preview options, including the desired page resolution and format. Ad ```csharp PreviewOptions previewOptions = new PreviewOptions(pageNumber => { - var pagePath = Path.Combine(Constants.GetOutputDirectoryPath(), $"result_with_resolution_{pageNumber}.png"); + var pagePath = Path.Combine("Your Document Directory", $"result_with_resolution_{pageNumber}.png"); return File.Create(pagePath); }); ``` @@ -55,7 +55,7 @@ Utilize the GeneratePreview method to generate previews for the document based o ## Step 5: Display Success Message Inform the user about the successful generation of document previews and provide the output directory path for reference. ```csharp - Console.WriteLine($"\nDocument preview with resolution generated successfully.\nCheck output in {Constants.GetOutputDirectoryPath()}."); + Console.WriteLine($"\nDocument preview with resolution generated successfully.\nCheck output in {"Your Document Directory"}."); } ``` diff --git a/content/english/net/document-components/add-button-component-to-pdf/_index.md b/content/english/net/document-components/add-button-component-to-pdf/_index.md index 0f933f3..1734072 100644 --- a/content/english/net/document-components/add-button-component-to-pdf/_index.md +++ b/content/english/net/document-components/add-button-component-to-pdf/_index.md @@ -27,7 +27,7 @@ using GroupDocs.Annotation.Options; ``` ## Step 1: Initialize Output Path ```csharp -string outputPath = Path.Combine(Constants.GetOutputDirectoryPath(), "result" + Path.GetExtension("input.pdf")); +string outputPath = Path.Combine("Your Document Directory", "result" + Path.GetExtension("input.pdf")); ``` ## Step 2: Add Button Component ```csharp diff --git a/content/english/net/document-components/add-checkbox-component-to-pdf/_index.md b/content/english/net/document-components/add-checkbox-component-to-pdf/_index.md index 3fe2a20..3430ace 100644 --- a/content/english/net/document-components/add-checkbox-component-to-pdf/_index.md +++ b/content/english/net/document-components/add-checkbox-component-to-pdf/_index.md @@ -27,7 +27,7 @@ using GroupDocs.Annotation.Options; Now, let's break down the example into multiple steps: ## Step 1: Define Output Path ```csharp -string outputPath = Path.Combine(Constants.GetOutputDirectoryPath(), "result" + Path.GetExtension("input.pdf")); +string outputPath = Path.Combine("Your Document Directory", "result" + Path.GetExtension("input.pdf")); ``` Here, we define the output path where the modified PDF document will be saved. ## Step 2: Initialize Annotator diff --git a/content/english/net/document-components/add-dropdown-component-to-pdf/_index.md b/content/english/net/document-components/add-dropdown-component-to-pdf/_index.md index 0e8bfe4..de19726 100644 --- a/content/english/net/document-components/add-dropdown-component-to-pdf/_index.md +++ b/content/english/net/document-components/add-dropdown-component-to-pdf/_index.md @@ -29,7 +29,7 @@ using GroupDocs.Annotation.Options; ## Step 1: Set Output Path Define the output path where the modified document will be saved: ```csharp -string outputPath = Path.Combine(Constants.GetOutputDirectoryPath(), "result" + Path.GetExtension("input.pdf")); +string outputPath = Path.Combine("Your Document Directory", "result" + Path.GetExtension("input.pdf")); ``` ## Step 2: Initialize Annotator Create an instance of the `Annotator` class by passing the path of the input PDF document: diff --git a/content/english/net/document-loading-essentials/load-document-from-amazon-s3/_index.md b/content/english/net/document-loading-essentials/load-document-from-amazon-s3/_index.md index 51f2ad7..17cee17 100644 --- a/content/english/net/document-loading-essentials/load-document-from-amazon-s3/_index.md +++ b/content/english/net/document-loading-essentials/load-document-from-amazon-s3/_index.md @@ -31,7 +31,7 @@ using System.IO; Now, let's walk through the process of loading a document from an Amazon S3 bucket and annotating it using Groupdocs.Annotation for .NET. ## Step 1: Define Output Path ```csharp -string outputPath = Path.Combine(Constants.GetOutputDirectoryPath(), "result" + Path.GetExtension("input.pdf")); +string outputPath = Path.Combine("Your Document Directory", "result" + Path.GetExtension("input.pdf")); ``` ## Step 2: Specify Document Key ```csharp diff --git a/content/english/net/document-loading-essentials/load-document-from-azure/_index.md b/content/english/net/document-loading-essentials/load-document-from-azure/_index.md index 2764f21..0f8fe7a 100644 --- a/content/english/net/document-loading-essentials/load-document-from-azure/_index.md +++ b/content/english/net/document-loading-essentials/load-document-from-azure/_index.md @@ -32,7 +32,7 @@ To annotate a document stored in Azure Blob Storage, follow these steps: ### Step 1: Set Output Path Define the output path where the annotated document will be saved. ```csharp -string outputPath = Path.Combine(Constants.GetOutputDirectoryPath(), "result" + Path.GetExtension("input.pdf")); +string outputPath = Path.Combine("Your Document Directory", "result" + Path.GetExtension("input.pdf")); ``` ### Step 2: Download Document Retrieve the document from Azure Blob Storage by invoking the `DownloadFile` method. diff --git a/content/english/net/document-loading-essentials/load-document-from-ftp/_index.md b/content/english/net/document-loading-essentials/load-document-from-ftp/_index.md index 28ddd6d..069a478 100644 --- a/content/english/net/document-loading-essentials/load-document-from-ftp/_index.md +++ b/content/english/net/document-loading-essentials/load-document-from-ftp/_index.md @@ -29,7 +29,7 @@ Now, let's delve into the process of loading a document from FTP and adding anno ## Step 1: Define Output Path Specify the output path where the annotated document will be saved. ```csharp -string outputPath = Path.Combine(Constants.GetOutputDirectoryPath(), "result" + Path.GetExtension("input.pdf")); +string outputPath = Path.Combine("Your Document Directory", "result" + Path.GetExtension("input.pdf")); ``` ## Step 2: Load Document from FTP Retrieve the document from the FTP server using the provided file path. diff --git a/content/english/net/document-loading-essentials/load-document-from-local-disk/_index.md b/content/english/net/document-loading-essentials/load-document-from-local-disk/_index.md index 9d440b0..1dd4b3f 100644 --- a/content/english/net/document-loading-essentials/load-document-from-local-disk/_index.md +++ b/content/english/net/document-loading-essentials/load-document-from-local-disk/_index.md @@ -27,7 +27,7 @@ using GroupDocs.Annotation.Models.AnnotationModels; ## Step 1: Load Document from Local Disk First, you need to load the document from your local disk. Use the following code snippet: ```csharp -string outputPath = Path.Combine(Constants.GetOutputDirectoryPath(), "result" + Path.GetExtension("input.pdf")); +string outputPath = Path.Combine("Your Document Directory", "result" + Path.GetExtension("input.pdf")); using (Annotator annotator = new Annotator("input.pdf")) { ``` diff --git a/content/english/net/document-loading-essentials/load-document-from-stream/_index.md b/content/english/net/document-loading-essentials/load-document-from-stream/_index.md index b569178..709704b 100644 --- a/content/english/net/document-loading-essentials/load-document-from-stream/_index.md +++ b/content/english/net/document-loading-essentials/load-document-from-stream/_index.md @@ -28,7 +28,7 @@ Now, let's break down the annotation process into multiple steps: ## Step 1: Load Document from Stream Firstly, you need to load the document from a stream. Here's how you can achieve it: ```csharp -string outputPath = Path.Combine(Constants.GetOutputDirectoryPath(), "result" + Path.GetExtension("input.pdf")); +string outputPath = Path.Combine("Your Document Directory", "result" + Path.GetExtension("input.pdf")); using (Annotator annotator = new Annotator(File.OpenRead("input.pdf"))) { ``` diff --git a/content/english/net/document-loading-essentials/load-document-from-url/_index.md b/content/english/net/document-loading-essentials/load-document-from-url/_index.md index 2f1d78a..f010ee3 100644 --- a/content/english/net/document-loading-essentials/load-document-from-url/_index.md +++ b/content/english/net/document-loading-essentials/load-document-from-url/_index.md @@ -29,7 +29,7 @@ using System.Net; To annotate a PDF document from a URL, follow these steps: ### Step 1.1: Define Output Path ```csharp -string outputPath = Path.Combine(Constants.GetOutputDirectoryPath(), "result" + Path.GetExtension("input.pdf")); +string outputPath = Path.Combine("Your Document Directory", "result" + Path.GetExtension("input.pdf")); ``` ### Step 1.2: Specify URL ```csharp diff --git a/content/english/net/document-loading-essentials/load-password-protected-documents/_index.md b/content/english/net/document-loading-essentials/load-password-protected-documents/_index.md index e9cb688..2b6529c 100644 --- a/content/english/net/document-loading-essentials/load-password-protected-documents/_index.md +++ b/content/english/net/document-loading-essentials/load-password-protected-documents/_index.md @@ -31,7 +31,7 @@ using GroupDocs.Annotation.Options; Now that you have the prerequisites in place and the necessary namespaces imported, let's dive into annotating a password-protected document using GroupDocs.Annotation for .NET. Below is a step-by-step guide to help you accomplish this task: ## Step 1: Load the Document ```csharp -string outputPath = Path.Combine(Constants.GetOutputDirectoryPath(), "result" + Path.GetExtension("input.pdf")); +string outputPath = Path.Combine("Your Document Directory", "result" + Path.GetExtension("input.pdf")); LoadOptions loadOptions = new LoadOptions() { Password = "1234" }; ``` In this step, we define the output path for the annotated document and specify the load options, including the password required to open the password-protected document. diff --git a/content/english/net/document-loading-essentials/loading-annotated-document-version/_index.md b/content/english/net/document-loading-essentials/loading-annotated-document-version/_index.md index 5a7d6c9..ce2a288 100644 --- a/content/english/net/document-loading-essentials/loading-annotated-document-version/_index.md +++ b/content/english/net/document-loading-essentials/loading-annotated-document-version/_index.md @@ -33,7 +33,7 @@ using GroupDocs.Annotation.Options; Now that we've covered the prerequisites and namespace imports, let's dive into the step-by-step process of loading annotated document versions using GroupDocs.Annotation for .NET. ## Step 1: Define Output Path ```csharp -string outputPath = Path.Combine(Constants.GetOutputDirectoryPath(), "result" + Path.GetExtension("input.pdf")); +string outputPath = Path.Combine("Your Document Directory", "result" + Path.GetExtension("input.pdf")); ``` ## Step 2: Specify Load Options ```csharp diff --git a/content/english/net/removing-annotations/remove-annotations-by-id/_index.md b/content/english/net/removing-annotations/remove-annotations-by-id/_index.md index ab9b500..68c69ca 100644 --- a/content/english/net/removing-annotations/remove-annotations-by-id/_index.md +++ b/content/english/net/removing-annotations/remove-annotations-by-id/_index.md @@ -25,7 +25,7 @@ using GroupDocs.Annotation.Options; ## Step 1: Define Output Path ```csharp -string outputPath = Path.Combine(Constants.GetOutputDirectoryPath(), "result" + Path.GetExtension("input.pdf")); +string outputPath = Path.Combine("Your Document Directory", "result" + Path.GetExtension("input.pdf")); ``` We define the output path where the document with removed annotations will be saved. ## Step 2: Initialize Annotator diff --git a/content/english/net/removing-annotations/remove-annotations-using-save-options/_index.md b/content/english/net/removing-annotations/remove-annotations-using-save-options/_index.md index 7585587..ff5e170 100644 --- a/content/english/net/removing-annotations/remove-annotations-using-save-options/_index.md +++ b/content/english/net/removing-annotations/remove-annotations-using-save-options/_index.md @@ -37,7 +37,7 @@ Now, let's walk through the process of removing annotations from a document usin First, define the output path where the document with removed annotations will be saved. You can use the `Path.Combine` method to combine the directory path with the output file name. ```csharp -string outputPath = Path.Combine(Constants.GetOutputDirectoryPath(), "result" + Path.GetExtension("input.pdf")); +string outputPath = Path.Combine("Your Document Directory", "result" + Path.GetExtension("input.pdf")); ``` ## Step 2: Initialize Annotator diff --git a/content/english/net/removing-annotations/remove-annotations/_index.md b/content/english/net/removing-annotations/remove-annotations/_index.md index 460bb7e..3d782c6 100644 --- a/content/english/net/removing-annotations/remove-annotations/_index.md +++ b/content/english/net/removing-annotations/remove-annotations/_index.md @@ -23,7 +23,7 @@ using GroupDocs.Annotation.Options; ``` ## Step 1: Define Output Path ```csharp -string outputPath = Path.Combine(Constants.GetOutputDirectoryPath(), "result" + Path.GetExtension("input.pdf")); +string outputPath = Path.Combine("Your Document Directory", "result" + Path.GetExtension("input.pdf")); ``` In this step, we define the output path where the document with removed annotations will be saved. ## Step 2: Remove Annotations diff --git a/content/english/net/removing-annotations/remove-multiple-annotations-by-ids/_index.md b/content/english/net/removing-annotations/remove-multiple-annotations-by-ids/_index.md index e96edfd..41ccdbf 100644 --- a/content/english/net/removing-annotations/remove-multiple-annotations-by-ids/_index.md +++ b/content/english/net/removing-annotations/remove-multiple-annotations-by-ids/_index.md @@ -28,7 +28,7 @@ using GroupDocs.Annotation.Options; ## Step 1: Define the Output Path ```csharp -string outputPath = Path.Combine(Constants.GetOutputDirectoryPath(), "result" + Path.GetExtension("input.pdf")); +string outputPath = Path.Combine("Your Document Directory", "result" + Path.GetExtension("input.pdf")); ``` In this step, we define the path where the modified document with removed annotations will be saved. ## Step 2: Instantiate Annotator Object diff --git a/content/english/net/removing-annotations/remove-multiple-annotations/_index.md b/content/english/net/removing-annotations/remove-multiple-annotations/_index.md index 70744cd..3da164c 100644 --- a/content/english/net/removing-annotations/remove-multiple-annotations/_index.md +++ b/content/english/net/removing-annotations/remove-multiple-annotations/_index.md @@ -39,7 +39,7 @@ annotator.Remove(annotator.Get()); ## Step 3: Save the Document After removing the annotations, save the modified document to the desired location. ```csharp -string outputPath = Path.Combine(Constants.GetOutputDirectoryPath(), "result" + Path.GetExtension("input.pdf")); +string outputPath = Path.Combine("Your Document Directory", "result" + Path.GetExtension("input.pdf")); annotator.Save(outputPath); ``` ## Step 4: Display Success Message diff --git a/content/english/net/removing-annotations/remove-replies-by-id/_index.md b/content/english/net/removing-annotations/remove-replies-by-id/_index.md index 2521874..91d7552 100644 --- a/content/english/net/removing-annotations/remove-replies-by-id/_index.md +++ b/content/english/net/removing-annotations/remove-replies-by-id/_index.md @@ -30,7 +30,7 @@ using System.IO; ``` ## Step 1: Define Output Path ```csharp -string outputPath = Path.Combine(Constants.GetOutputDirectoryPath(), "result" + Path.GetExtension("input.pdf")); +string outputPath = Path.Combine("Your Document Directory", "result" + Path.GetExtension("input.pdf")); ``` Specify the path where you want to save the modified document after removing replies. ## Step 2: Load Document and Annotations diff --git a/content/english/net/removing-annotations/remove-replies-by-username/_index.md b/content/english/net/removing-annotations/remove-replies-by-username/_index.md index 8da530c..29f01c8 100644 --- a/content/english/net/removing-annotations/remove-replies-by-username/_index.md +++ b/content/english/net/removing-annotations/remove-replies-by-username/_index.md @@ -29,7 +29,7 @@ using System.IO; ## Step 1: Define Output Path Begin by specifying the output path where the annotated document will be saved. You can use the `Path.Combine` method to combine directory paths: ```csharp -string outputPath = Path.Combine(Constants.GetOutputDirectoryPath(), "result" + Path.GetExtension("input.pdf")); +string outputPath = Path.Combine("Your Document Directory", "result" + Path.GetExtension("input.pdf")); ``` ## Step 2: Load Annotated Document Load the document that contains annotations with replies using the `Annotator` class: diff --git a/content/english/net/removing-annotations/remove-replies-to-annotations/_index.md b/content/english/net/removing-annotations/remove-replies-to-annotations/_index.md index 1169e28..30d19f5 100644 --- a/content/english/net/removing-annotations/remove-replies-to-annotations/_index.md +++ b/content/english/net/removing-annotations/remove-replies-to-annotations/_index.md @@ -52,7 +52,7 @@ annotator.Update(annotations); ## Step 5: Save Document Save the document with the modified annotations to the desired location. ```csharp -string outputPath = Path.Combine(Constants.GetOutputDirectoryPath(), "result" + Path.GetExtension("input.pdf")); +string outputPath = Path.Combine("Your Document Directory", "result" + Path.GetExtension("input.pdf")); annotator.Save(outputPath); ``` ## Step 6: Display Confirmation diff --git a/content/english/net/unlocking-annotation-power/add-area-annotation/_index.md b/content/english/net/unlocking-annotation-power/add-area-annotation/_index.md index 81951ff..e230225 100644 --- a/content/english/net/unlocking-annotation-power/add-area-annotation/_index.md +++ b/content/english/net/unlocking-annotation-power/add-area-annotation/_index.md @@ -28,7 +28,7 @@ using GroupDocs.Annotation.Options; ## Step 1: Initialize Output Path Define the output path where the annotated document will be saved. ```csharp -string outputPath = Path.Combine(Constants.GetOutputDirectoryPath(), "result" + Path.GetExtension("input.pdf")); +string outputPath = Path.Combine("Your Document Directory", "result" + Path.GetExtension("input.pdf")); ``` ## Step 2: Initialize Annotator Create an instance of the `Annotator` class by passing the document's path as a parameter. diff --git a/content/english/net/unlocking-annotation-power/add-arrow-annotation/_index.md b/content/english/net/unlocking-annotation-power/add-arrow-annotation/_index.md index c51df92..d4e8371 100644 --- a/content/english/net/unlocking-annotation-power/add-arrow-annotation/_index.md +++ b/content/english/net/unlocking-annotation-power/add-arrow-annotation/_index.md @@ -27,7 +27,7 @@ using GroupDocs.Annotation.Options; ## Step 1: Initialize Annotator Initialize the annotator by providing the input document file path. ```csharp -string outputPath = Path.Combine(Constants.GetOutputDirectoryPath(), "result" + Path.GetExtension("input.pdf")); +string outputPath = Path.Combine("Your Document Directory", "result" + Path.GetExtension("input.pdf")); using (Annotator annotator = new Annotator("input.pdf")) { ``` diff --git a/content/english/net/unlocking-annotation-power/add-distance-annotation/_index.md b/content/english/net/unlocking-annotation-power/add-distance-annotation/_index.md index 9d61ffb..c389ed4 100644 --- a/content/english/net/unlocking-annotation-power/add-distance-annotation/_index.md +++ b/content/english/net/unlocking-annotation-power/add-distance-annotation/_index.md @@ -86,7 +86,7 @@ annotator.Add(distance); Save the annotated document to the desired location on your system. ```csharp -string outputPath = Path.Combine(Constants.GetOutputDirectoryPath(), "result" + Path.GetExtension("input.pdf")); +string outputPath = Path.Combine("Your Document Directory", "result" + Path.GetExtension("input.pdf")); annotator.Save(outputPath); ``` diff --git a/content/english/net/unlocking-annotation-power/add-ellipse-annotation/_index.md b/content/english/net/unlocking-annotation-power/add-ellipse-annotation/_index.md index ab0aa98..587d15d 100644 --- a/content/english/net/unlocking-annotation-power/add-ellipse-annotation/_index.md +++ b/content/english/net/unlocking-annotation-power/add-ellipse-annotation/_index.md @@ -27,7 +27,7 @@ using GroupDocs.Annotation.Options; ## Step 1: Set Output Path Define the output path where the annotated document will be saved: ```csharp -string outputPath = Path.Combine(Constants.GetOutputDirectoryPath(), "result" + Path.GetExtension("input.pdf")); +string outputPath = Path.Combine("Your Document Directory", "result" + Path.GetExtension("input.pdf")); ``` ## Step 2: Initialize Annotator Initialize the annotator by providing the input document path: diff --git a/content/english/net/unlocking-annotation-power/add-image-annotation-local-path/_index.md b/content/english/net/unlocking-annotation-power/add-image-annotation-local-path/_index.md index 31cb495..30f3660 100644 --- a/content/english/net/unlocking-annotation-power/add-image-annotation-local-path/_index.md +++ b/content/english/net/unlocking-annotation-power/add-image-annotation-local-path/_index.md @@ -27,7 +27,7 @@ using GroupDocs.Annotation.Models.AnnotationModels; ## Step 1: Define Output Path Define the output path where the annotated document will be saved. ```csharp -string outputPath = Path.Combine(Constants.GetOutputDirectoryPath(), "result" + Path.GetExtension("input.pdf")); +string outputPath = Path.Combine("Your Document Directory", "result" + Path.GetExtension("input.pdf")); ``` ## Step 2: Initialize Annotator Initialize the annotator by providing the path to the input document. diff --git a/content/english/net/unlocking-annotation-power/add-image-annotation-remote-path/_index.md b/content/english/net/unlocking-annotation-power/add-image-annotation-remote-path/_index.md index 036526d..47c21d0 100644 --- a/content/english/net/unlocking-annotation-power/add-image-annotation-remote-path/_index.md +++ b/content/english/net/unlocking-annotation-power/add-image-annotation-remote-path/_index.md @@ -27,7 +27,7 @@ using GroupDocs.Annotation.Models.AnnotationModels; ## Step 1: Set Output Path First, define the output path where the annotated document will be saved. ```csharp -string outputPath = Path.Combine(Constants.GetOutputDirectoryPath(), "result" + Path.GetExtension("input.pdf")); +string outputPath = Path.Combine("Your Document Directory", "result" + Path.GetExtension("input.pdf")); ``` ## Step 2: Initialize Annotator Create an instance of the `Annotator` class and specify the input document. diff --git a/content/english/net/unlocking-annotation-power/add-link-annotation/_index.md b/content/english/net/unlocking-annotation-power/add-link-annotation/_index.md index 9bd1ec3..17f9820 100644 --- a/content/english/net/unlocking-annotation-power/add-link-annotation/_index.md +++ b/content/english/net/unlocking-annotation-power/add-link-annotation/_index.md @@ -28,7 +28,7 @@ using GroupDocs.Annotation.Options; ## Step 1: Set Output Path Define the path where you want to save the annotated document. ```csharp -string outputPath = Path.Combine(Constants.GetOutputDirectoryPath(), "result" + Path.GetExtension("input.pdf")); +string outputPath = Path.Combine("Your Document Directory", "result" + Path.GetExtension("input.pdf")); ``` ## Step 2: Initialize Annotator Create an instance of the `Annotator` class by providing the path of the document you want to annotate. diff --git a/content/english/net/unlocking-annotation-power/add-point-annotation/_index.md b/content/english/net/unlocking-annotation-power/add-point-annotation/_index.md index 21dda0a..5228f36 100644 --- a/content/english/net/unlocking-annotation-power/add-point-annotation/_index.md +++ b/content/english/net/unlocking-annotation-power/add-point-annotation/_index.md @@ -27,7 +27,7 @@ using GroupDocs.Annotation.Options; ``` ## Step 1: Define Output Path ```csharp -string outputPath = Path.Combine(Constants.GetOutputDirectoryPath(), "result" + Path.GetExtension("input.pdf")); +string outputPath = Path.Combine("Your Document Directory", "result" + Path.GetExtension("input.pdf")); ``` In this step, we define the output path where the annotated document will be saved. ## Step 2: Initialize Annotator diff --git a/content/english/net/unlocking-annotation-power/add-polyline-annotation/_index.md b/content/english/net/unlocking-annotation-power/add-polyline-annotation/_index.md index ce0bec8..e1f12b9 100644 --- a/content/english/net/unlocking-annotation-power/add-polyline-annotation/_index.md +++ b/content/english/net/unlocking-annotation-power/add-polyline-annotation/_index.md @@ -27,7 +27,7 @@ using GroupDocs.Annotation.Options; ## Step 1: Define Output Path First, define the output path where the annotated document will be saved. ```csharp -string outputPath = Path.Combine(Constants.GetOutputDirectoryPath(), "result" + Path.GetExtension("input.pdf")); +string outputPath = Path.Combine("Your Document Directory", "result" + Path.GetExtension("input.pdf")); ``` ## Step 2: Initialize Annotator Initialize the annotator by providing the input document name. diff --git a/content/english/net/unlocking-annotation-power/add-resources-redaction-annotation/_index.md b/content/english/net/unlocking-annotation-power/add-resources-redaction-annotation/_index.md index 84f1192..e56c564 100644 --- a/content/english/net/unlocking-annotation-power/add-resources-redaction-annotation/_index.md +++ b/content/english/net/unlocking-annotation-power/add-resources-redaction-annotation/_index.md @@ -35,7 +35,7 @@ using GroupDocs.Annotation.Options; ## Step 1: Define Output Path Specify the output path where the annotated document will be saved. ```csharp -string outputPath = Path.Combine(Constants.GetOutputDirectoryPath(), "result" + Path.GetExtension("input.pdf")); +string outputPath = Path.Combine("Your Document Directory", "result" + Path.GetExtension("input.pdf")); ``` ## Step 2: Initialize Annotator Object Instantiate the Annotator object by providing the path to the input document. diff --git a/content/english/net/unlocking-annotation-power/add-search-text-fragment-annotation/_index.md b/content/english/net/unlocking-annotation-power/add-search-text-fragment-annotation/_index.md index 7fdbdc2..8027b1d 100644 --- a/content/english/net/unlocking-annotation-power/add-search-text-fragment-annotation/_index.md +++ b/content/english/net/unlocking-annotation-power/add-search-text-fragment-annotation/_index.md @@ -27,7 +27,7 @@ using GroupDocs.Annotation.Options; ## Step 1: Define Output Path Begin by defining the output path where the annotated document will be saved: ```csharp -string outputPath = Path.Combine(Constants.GetOutputDirectoryPath(), "result" + Path.GetExtension("input.pdf")); +string outputPath = Path.Combine("Your Document Directory", "result" + Path.GetExtension("input.pdf")); ``` ## Step 2: Initialize Annotator Next, initialize an instance of the `Annotator` class by providing the path to the document you want to annotate: diff --git a/content/english/net/unlocking-annotation-power/add-text-field-annotation/_index.md b/content/english/net/unlocking-annotation-power/add-text-field-annotation/_index.md index 00f776a..4e5a515 100644 --- a/content/english/net/unlocking-annotation-power/add-text-field-annotation/_index.md +++ b/content/english/net/unlocking-annotation-power/add-text-field-annotation/_index.md @@ -33,7 +33,7 @@ using GroupDocs.Annotation.Options; Now, let's proceed with adding a text field annotation to a document using Groupdocs.Annotation for .NET. ## Step 1: Define Output Path ```csharp -string outputPath = Path.Combine(Constants.GetOutputDirectoryPath(), "result" + Path.GetExtension("input.pdf")); +string outputPath = Path.Combine("Your Document Directory", "result" + Path.GetExtension("input.pdf")); ``` ## Step 2: Initialize Annotator ```csharp diff --git a/content/english/net/unlocking-annotation-power/add-text-highlight-annotation/_index.md b/content/english/net/unlocking-annotation-power/add-text-highlight-annotation/_index.md index 18af318..1dfa749 100644 --- a/content/english/net/unlocking-annotation-power/add-text-highlight-annotation/_index.md +++ b/content/english/net/unlocking-annotation-power/add-text-highlight-annotation/_index.md @@ -30,7 +30,7 @@ using GroupDocs.Annotation.Options; ## Step 1: Define Output Path Specify the output path where the annotated document will be saved: ```csharp -string outputPath = Path.Combine(Constants.GetOutputDirectoryPath(), "result" + Path.GetExtension("input.pdf")); +string outputPath = Path.Combine("Your Document Directory", "result" + Path.GetExtension("input.pdf")); ``` ## Step 2: Initialize Annotator Create an instance of the `Annotator` class, passing the document filename as a parameter: diff --git a/content/english/net/unlocking-annotation-power/add-text-redaction-annotation/_index.md b/content/english/net/unlocking-annotation-power/add-text-redaction-annotation/_index.md index 813cae9..9f606f9 100644 --- a/content/english/net/unlocking-annotation-power/add-text-redaction-annotation/_index.md +++ b/content/english/net/unlocking-annotation-power/add-text-redaction-annotation/_index.md @@ -27,7 +27,7 @@ using GroupDocs.Annotation.Options; ## Step 1: Define Output Path Define the output path where you want to save the annotated document. Ensure it's accessible and writable. ```csharp -string outputPath = Path.Combine(Constants.GetOutputDirectoryPath(), "result" + Path.GetExtension("input.pdf")); +string outputPath = Path.Combine("Your Document Directory", "result" + Path.GetExtension("input.pdf")); ``` ## Step 2: Initialize Annotator Initialize the annotator with the input document path. Replace `"input.pdf"` with the path to your document. diff --git a/content/english/net/unlocking-annotation-power/add-text-replacement-annotation/_index.md b/content/english/net/unlocking-annotation-power/add-text-replacement-annotation/_index.md index 36065d6..d583d10 100644 --- a/content/english/net/unlocking-annotation-power/add-text-replacement-annotation/_index.md +++ b/content/english/net/unlocking-annotation-power/add-text-replacement-annotation/_index.md @@ -32,7 +32,7 @@ using Point = GroupDocs.Annotation.Models.Point; ``` ## Step 1: Define Output Path ```csharp -string outputPath = Path.Combine(Constants.GetOutputDirectoryPath(), "result" + Path.GetExtension("input.pdf")); +string outputPath = Path.Combine("Your Document Directory", "result" + Path.GetExtension("input.pdf")); ``` Here, we define the output path where the annotated document will be saved. ## Step 2: Initialize Annotator diff --git a/content/english/net/unlocking-annotation-power/add-text-squiggly-annotation/_index.md b/content/english/net/unlocking-annotation-power/add-text-squiggly-annotation/_index.md index 1642a6a..db170f4 100644 --- a/content/english/net/unlocking-annotation-power/add-text-squiggly-annotation/_index.md +++ b/content/english/net/unlocking-annotation-power/add-text-squiggly-annotation/_index.md @@ -35,7 +35,7 @@ Now that we have the prerequisites covered, let's break down the process of addi Define the path where the annotated document will be saved. ```csharp -string outputPath = Path.Combine(Constants.GetOutputDirectoryPath(), "result" + Path.GetExtension("input.pdf")); +string outputPath = Path.Combine("Your Document Directory", "result" + Path.GetExtension("input.pdf")); ``` ## Step 2: Initialize Annotator diff --git a/content/english/net/unlocking-annotation-power/add-text-strikeout-annotation/_index.md b/content/english/net/unlocking-annotation-power/add-text-strikeout-annotation/_index.md index 044ae1d..35e090c 100644 --- a/content/english/net/unlocking-annotation-power/add-text-strikeout-annotation/_index.md +++ b/content/english/net/unlocking-annotation-power/add-text-strikeout-annotation/_index.md @@ -29,7 +29,7 @@ using GroupDocs.Annotation.Options; Now, let's break down the process of adding a text strikeout annotation into multiple steps: ## Step 1: Define Output Path ```csharp -string outputPath = Path.Combine(Constants.GetOutputDirectoryPath(), "result" + Path.GetExtension("input.pdf")); +string outputPath = Path.Combine("Your Document Directory", "result" + Path.GetExtension("input.pdf")); ``` Here, we define the output path where the annotated document will be saved. ## Step 2: Initialize Annotator diff --git a/content/english/net/unlocking-annotation-power/add-text-underline-annotation/_index.md b/content/english/net/unlocking-annotation-power/add-text-underline-annotation/_index.md index 73246dd..036b418 100644 --- a/content/english/net/unlocking-annotation-power/add-text-underline-annotation/_index.md +++ b/content/english/net/unlocking-annotation-power/add-text-underline-annotation/_index.md @@ -28,7 +28,7 @@ using GroupDocs.Annotation.Options; Now, let's break down the example into multiple steps: ## Step 1: Define Output Path ```csharp -string outputPath = Path.Combine(Constants.GetOutputDirectoryPath(), "result" + Path.GetExtension("input.pdf")); +string outputPath = Path.Combine("Your Document Directory", "result" + Path.GetExtension("input.pdf")); ``` In this step, we define the output path where the annotated document will be saved. ## Step 2: Initialize Annotator diff --git a/content/english/net/unlocking-annotation-power/add-watermark-annotation/_index.md b/content/english/net/unlocking-annotation-power/add-watermark-annotation/_index.md index dd299c3..cd80d5f 100644 --- a/content/english/net/unlocking-annotation-power/add-watermark-annotation/_index.md +++ b/content/english/net/unlocking-annotation-power/add-watermark-annotation/_index.md @@ -37,7 +37,7 @@ Now, let's break down the process of adding a watermark annotation into multiple First, we need to define the output path where the annotated document will be saved. We'll use the `Path` class from `System.IO` namespace to combine the output directory path with the filename. ```csharp -string outputPath = Path.Combine(Constants.GetOutputDirectoryPath(), "result" + Path.GetExtension("input.pdf")); +string outputPath = Path.Combine("Your Document Directory", "result" + Path.GetExtension("input.pdf")); ``` ## Step 2: Initialize Annotator