ImageGear v26.5 - Updated
ImageGear.Core Assembly / ImageGear.Processing Namespace / ImGearRasterProcessing Class / Encrypt Method
Page to encrypt.
Encryption password.
Example




In This Topic
    Encrypt Method
    In This Topic
    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