Skip to content

Commit a939692

Browse files
committed
1005726-ug: Added proper GitHub link.
1 parent c0da1f8 commit a939692

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

Document-Processing/PDF/PDF-Library/NET/Working-with-Security.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1608,7 +1608,10 @@ You can download a complete working sample from [GitHub](https://github.com/Sync
16081608
Read a PDF document permission flags via the [Security.Permissions](https://help.syncfusion.com/cr/document-processing/Syncfusion.Pdf.Security.PdfSecurity.html#Syncfusion_Pdf_Security_PdfSecurity_Permissions) property, which returns a bitwise combination of values from the [PdfPermissionsFlags](https://help.syncfusion.com/cr/document-processing/Syncfusion.Pdf.Security.PdfPermissionsFlags.html) enumeration.
16091609

16101610
{% tabs %}
1611-
{% highlight c# tabtitle="C# [Cross-platform]" %}
1611+
{% highlight c# tabtitle="C# [Cross-platform]" playgroundButtonLink="https://raw.githubusercontent.com/SyncfusionExamples/PDF-Examples/master/Security/PDF-permission-viewer/.NET/PDF-permission-viewer/Program.cs" %}
1612+
1613+
using Syncfusion.Pdf.Parsing;
1614+
using Syncfusion.Pdf.Security;
16121615

16131616
// Load an existing PDF
16141617
using (PdfLoadedDocument loadedDocument = new PdfLoadedDocument("Input.pdf"))
@@ -1633,6 +1636,9 @@ using (PdfLoadedDocument loadedDocument = new PdfLoadedDocument("Input.pdf"))
16331636
{% endhighlight %}
16341637
{% highlight c# tabtitle="C# [Windows-specific]" %}
16351638

1639+
using Syncfusion.Pdf.Parsing;
1640+
using Syncfusion.Pdf.Security;
1641+
16361642
// Load an existing PDF
16371643
using (PdfLoadedDocument loadedDocument = new PdfLoadedDocument("Input.pdf"))
16381644
{
@@ -1656,6 +1662,9 @@ using (PdfLoadedDocument loadedDocument = new PdfLoadedDocument("Input.pdf"))
16561662
{% endhighlight %}
16571663
{% highlight vb.net tabtitle="VB.NET [Windows-specific]" %}
16581664

1665+
Imports Syncfusion.Pdf.Parsing
1666+
Imports Syncfusion.Pdf.Security
1667+
16591668
' Load an existing PDF
16601669
Using loadedDocument As New PdfLoadedDocument("Input.pdf")
16611670
' Access the document security settings
@@ -1678,7 +1687,7 @@ End Using
16781687
{% endhighlight %}
16791688
{% endtabs %}
16801689

1681-
You can download a complete working sample from GitHub.
1690+
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PDF-Examples/tree/master/Security/PDF-permission-viewer/.NET).
16821691

16831692
## Remove password from the user password PDF document
16841693

0 commit comments

Comments
 (0)