An encoder for PDF AnsiEncoding.
Inheritance Hierarchy
System.TextEncoding
PdfEdit.Pdf.InternalAnsiEncoding
Namespace: PdfEdit.Pdf.Internal
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.1.1.0 (5.1.1.0)
Syntax
The AnsiEncoding type exposes the following members.
Constructors
Name | Description | |
---|---|---|
AnsiEncoding | Initializes a new instance of the AnsiEncoding class |
Methods
Name | Description | |
---|---|---|
Clone | When overridden in a derived class, creates a shallow copy of the current Encoding object. (Inherited from Encoding.) | |
Equals | Determines whether the specified Object is equal to the current instance. (Inherited from Encoding.) | |
GetByteCount(Char) | When overridden in a derived class, calculates the number of bytes produced by encoding all the characters in the specified character array. (Inherited from Encoding.) | |
GetByteCount(String) | When overridden in a derived class, calculates the number of bytes produced by encoding the characters in the specified String. (Inherited from Encoding.) | |
GetByteCount(Char*, Int32) | When overridden in a derived class, calculates the number of bytes produced by encoding a set of characters starting at the specified character pointer. (Inherited from Encoding.) | |
GetByteCount(Char, Int32, Int32) |
Gets the byte count.
(Overrides EncodingGetByteCount(Char, Int32, Int32).) | |
GetBytes(Char) | When overridden in a derived class, encodes all the characters in the specified character array into a sequence of bytes. (Inherited from Encoding.) | |
GetBytes(String) | When overridden in a derived class, encodes all the characters in the specified String into a sequence of bytes. (Inherited from Encoding.) | |
GetBytes(Char, Int32, Int32) | When overridden in a derived class, encodes a set of characters from the specified character array into a sequence of bytes. (Inherited from Encoding.) | |
GetBytes(Char*, Int32, Byte*, Int32) | When overridden in a derived class, encodes a set of characters starting at the specified character pointer into a sequence of bytes that are stored starting at the specified byte pointer. (Inherited from Encoding.) | |
GetBytes(String, Int32, Int32, Byte, Int32) | When overridden in a derived class, encodes a set of characters from the specified String into the specified byte array. (Inherited from Encoding.) | |
GetBytes(Char, Int32, Int32, Byte, Int32) |
Gets the bytes.
(Overrides EncodingGetBytes(Char, Int32, Int32, Byte, Int32).) | |
GetCharCount(Byte) | When overridden in a derived class, calculates the number of characters produced by decoding all the bytes in the specified byte array. (Inherited from Encoding.) | |
GetCharCount(Byte*, Int32) | When overridden in a derived class, calculates the number of characters produced by decoding a sequence of bytes starting at the specified byte pointer. (Inherited from Encoding.) | |
GetCharCount(Byte, Int32, Int32) |
Gets the character count.
(Overrides EncodingGetCharCount(Byte, Int32, Int32).) | |
GetChars(Byte) | When overridden in a derived class, decodes all the bytes in the specified byte array into a set of characters. (Inherited from Encoding.) | |
GetChars(Byte, Int32, Int32) | When overridden in a derived class, decodes a sequence of bytes from the specified byte array into a set of characters. (Inherited from Encoding.) | |
GetChars(Byte*, Int32, Char*, Int32) | When overridden in a derived class, decodes a sequence of bytes starting at the specified byte pointer into a set of characters that are stored starting at the specified character pointer. (Inherited from Encoding.) | |
GetChars(Byte, Int32, Int32, Char, Int32) |
Gets the chars.
(Overrides EncodingGetChars(Byte, Int32, Int32, Char, Int32).) | |
GetDecoder | When overridden in a derived class, obtains a decoder that converts an encoded sequence of bytes into a sequence of characters. (Inherited from Encoding.) | |
GetEncoder | When overridden in a derived class, obtains an encoder that converts a sequence of Unicode characters into an encoded sequence of bytes. (Inherited from Encoding.) | |
GetHashCode | Returns the hash code for the current instance. (Inherited from Encoding.) | |
GetMaxByteCount |
When overridden in a derived class, calculates the maximum number of bytes produced by encoding the specified number of characters.
(Overrides EncodingGetMaxByteCount(Int32).) | |
GetMaxCharCount |
When overridden in a derived class, calculates the maximum number of characters produced by decoding the specified number of bytes.
(Overrides EncodingGetMaxCharCount(Int32).) | |
GetPreamble | When overridden in a derived class, returns a sequence of bytes that specifies the encoding used. (Inherited from Encoding.) | |
GetString(Byte) | When overridden in a derived class, decodes all the bytes in the specified byte array into a string. (Inherited from Encoding.) | |
GetString(Byte, Int32, Int32) | When overridden in a derived class, decodes a sequence of bytes from the specified byte array into a string. (Inherited from Encoding.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsAlwaysNormalized | Gets a value indicating whether the current encoding is always normalized, using the default normalization form. (Inherited from Encoding.) | |
IsAlwaysNormalized(NormalizationForm) | When overridden in a derived class, gets a value indicating whether the current encoding is always normalized, using the specified normalization form. (Inherited from Encoding.) | |
IsAnsi1252Char |
Indicates whether the specified Unicode character is available in the ANSI code page 1252.
| |
ToString | Returns a String that represents the current Object. (Inherited from Object.) | |
UnicodeToAnsi |
Maps Unicode to ANSI code page 1252.
|
Properties
Name | Description | |
---|---|---|
BodyName | When overridden in a derived class, gets a name for the current encoding that can be used with mail agent body tags. (Inherited from Encoding.) | |
CodePage | When overridden in a derived class, gets the code page identifier of the current Encoding. (Inherited from Encoding.) | |
DecoderFallback | Gets or sets the DecoderFallback object for the current Encoding object. (Inherited from Encoding.) | |
EncoderFallback | Gets or sets the EncoderFallback object for the current Encoding object. (Inherited from Encoding.) | |
EncodingName | When overridden in a derived class, gets the human-readable description of the current encoding. (Inherited from Encoding.) | |
HeaderName | When overridden in a derived class, gets a name for the current encoding that can be used with mail agent header tags. (Inherited from Encoding.) | |
IsBrowserDisplay | When overridden in a derived class, gets a value indicating whether the current encoding can be used by browser clients for displaying content. (Inherited from Encoding.) | |
IsBrowserSave | When overridden in a derived class, gets a value indicating whether the current encoding can be used by browser clients for saving content. (Inherited from Encoding.) | |
IsMailNewsDisplay | When overridden in a derived class, gets a value indicating whether the current encoding can be used by mail and news clients for displaying content. (Inherited from Encoding.) | |
IsMailNewsSave | When overridden in a derived class, gets a value indicating whether the current encoding can be used by mail and news clients for saving content. (Inherited from Encoding.) | |
IsReadOnly | When overridden in a derived class, gets a value indicating whether the current encoding is read-only. (Inherited from Encoding.) | |
IsSingleByte | When overridden in a derived class, gets a value indicating whether the current encoding uses single-byte code points. (Inherited from Encoding.) | |
WebName | When overridden in a derived class, gets the name registered with the Internet Assigned Numbers Authority (IANA) for the current encoding. (Inherited from Encoding.) | |
WindowsCodePage | When overridden in a derived class, gets the Windows operating system code page that most closely corresponds to the current encoding. (Inherited from Encoding.) |
See Also