ImageGear .NET v24.12 - Updated
Encrypt Method (ImGearRasterProcessing)
Example 




ImageGear24.Core Assembly > ImageGear.Processing Namespace > ImGearRasterProcessing Class : Encrypt Method
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