Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / DecryptionOptions Class / BytesPassword Property

In This Topic
    BytesPassword Property
    In This Topic
    Gets or sets the bytes array specifying the password to open a PDF document. This property is useful when password contains specific regional character which cannot be converted to bytes using UTF8 encoding.

    Note that only one of StringPassword or BytesPassword can be specified, but not both.

    Syntax
    'Declaration
     
    Public Property BytesPassword As System.Byte()
    public System.byte[] BytesPassword {get; set;}
    See Also