ImageGear for .NET
Encrypt Method (ImGearRasterProcessing)
Example 




Page to encrypt.
Encryption password.
Encrypts a raster page.
Syntax
'Declaration
 
Public Shared Sub Encrypt( _
   ByVal page As ImGearRasterPage, _
   ByVal password As String _
) 
'Usage
 
Dim page As ImGearRasterPage
Dim password As String
 
ImGearRasterProcessing.Encrypt(page, password)
public static void Encrypt( 
   ImGearRasterPage page,
   string password
)
public: static void Encrypt( 
   ImGearRasterPage* page,
   string* password
) 
public:
static void Encrypt( 
   ImGearRasterPage^ page,
   String^ password
) 

Parameters

page
Page to encrypt.
password
Encryption password.
Example
// Encrypts an image using a pass-phrase.
ImGearRasterProcessing.Encrypt(igRasterPage, "abcdefg");
' Encrypts an image using a pass-phrase.
ImGearRasterProcessing.Encrypt(igRasterPage, "abcdefg")
See Also

Reference

ImGearRasterProcessing Class
ImGearRasterProcessing Members
ImGearRasterPage Class
Decrypt Method

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback